#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: ---------------------------+------------------------------ Comment (by bonefish): Replying to [ticket:7037 jackburton]: > 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. Interestingly, I haven't had any trouble under 11.2 and 11.3 (32 and 64 bit). I vaguely recall a patch floating around on the Jamming mailing list to fix the aliasing issues, but I'm too lazy to search them. Please just apply your change, if that fixes the issue for you (in the Jamfile, too). -- Ticket URL: <http://dev.haiku-os.org/ticket/7037#comment:2> Haiku <http://dev.haiku-os.org> Haiku - the operating system.