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

  • From: "jackburton" <trac@xxxxxxxxxxxx>
  • Date: Tue, 28 Dec 2010 08:22:44 -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
Resolution:                |     Keywords:
Blocked By:                |  Has a Patch:  0
  Platform:  x86           |     Blocking:
---------------------------+------------------------------
Description changed by jackburton:

Old description:

> 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.

New description:

 Jam can't compile haiku in OpenSuse 11.1 (and subsequent releases, I
 guess), after thinking for a while, it causes a segmentation fault.
 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#comment:1>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: