[haiku-bugs] [Haiku] #7037: Jam exits with "segmentation fault" on OpenSuse 11.1

  • From: "jackburton" <trac@xxxxxxxxxxxx>
  • Date: Tue, 28 Dec 2010 07:33:28 -0000

#7037: Jam exits with "segmentation fault" on OpenSuse 11.1
----------------------------+-----------------------------
   Reporter:  jackburton    |       Owner:  bonefish
       Type:  bug           |      Status:  new
   Priority:  normal        |   Milestone:  R1
  Component:  Build System  |     Version:  R1/Development
   Keywords:                |  Blocked By:
Has a Patch:  0             |    Platform:  x86
   Blocking:                |
----------------------------+-----------------------------
 Jam can't compile haiku in OpenSuse 11.1 (and subsequent releases, I
 guess).
 This seems to be caused by a strict aliasing violation on GCC > 4.2
 (OpenSuse 11.1 uses 4.3.2).

 The fix (besides fixing jam's strict aliasing violations) is to add "-fno-
 strict-aliasing" to the CFLAGS in Jam's makefile.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7037>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: