[haiku-bugs] Re: [Haiku] #15356: cmake fails to detect compiler

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sun, 15 Sep 2019 13:56:55 -0000

#15356: cmake fails to detect compiler
--------------------------+----------------------------
   Reporter:  pulkomandy  |      Owner:  waddlesplash
       Type:  bug         |     Status:  assigned
   Priority:  normal      |  Milestone:  Unscheduled
  Component:  - General   |    Version:  R1/Development
 Resolution:              |   Keywords:
 Blocked By:              |   Blocking:
Has a Patch:  0           |   Platform:  All
--------------------------+----------------------------
Changes (by pulkomandy):

 * owner:  nobody => waddlesplash
 * status:  new => assigned

Comment:

 strace shows a "writev" call right before the error so I assume
 https://git.haiku-
 os.org/haiku/commit/?id=2b5ebfcfd578f177968c5b923e5ccd6eb0195674 was not
 sufficiently tested?

 {{{
 [  1605] open(0xffffffff,
 
"/Git/haiku/renga/build/CMakeFiles/3.15.3/CompilerIdCXX/CMakeCXXCompilerId.cpp",
 0x601, 0x1a4) = 0x00000003 (747 us)
 [  1605] writev(0x3, 0xffffffffffffffff, 0x721ccf40, 0x2) = 0x80001301 (2
 us)
 [  1605] close(0x3) = 0x00000000 No error (4 us)
 CMake Error at
 /boot/system/data/cmake/Modules/CMakeDetermineCompilerId.cmake:219 (file):
   file write failed (Bad address):
 }}}
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15356#comment:1>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: