Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#2459 closed Bugs (fixed)

bjam crashes on QNX 6.4.0

Reported by: Niklas Angare <li51ckf02@…> Owned by: René Rivera
Milestone: Boost.Jam 3.1.17 Component: bjam
Version: Boost.Jam 3.1.16 Severity: Showstopper
Keywords: Cc:

Description

'make install' for Boost fails on QNX 6.4.0 because bjam crashes. QNX 6.4.0 uses gcc 4.2.4 whereas QNX 6.3.2 used gcc 3.3.5.

The solution is to add "-Wc,-fno-strict-aliasing" for the qcc toolset in tools/jam/src/build.jam (line 257), just like the gcc toolset has -fno-strict-aliasing.

The first crash happens because the compiler optimizes away zeroing of fields in file_info() in tools/jam/src/filesys.c.

Attachments (1)

build.jam.patch (564 bytes ) - added by Niklas Angare <li51ckf02@…> 14 years ago.
Patch for build.jam

Download all attachments as: .zip

Change History (6)

comment:1 by Marshall Clow, 14 years ago

Component: Nonebjam
Owner: set to René Rivera

by Niklas Angare <li51ckf02@…>, 14 years ago

Attachment: build.jam.patch added

Patch for build.jam

comment:2 by Niklas Angare <li51ckf02@…>, 14 years ago

The patch I attached has been tested against the final 1.37.0. With it, bjam no longer crashes and many libraries build successfully.

comment:3 by René Rivera, 14 years ago

Milestone: Boost 1.37.0Boost.Jam 3.1.17
Version: Boost Release BranchBoost.Jam 3.1.16

comment:4 by René Rivera, 14 years ago

Resolution: fixed
Status: newclosed

(In [49889]) Add -Wc,-fno-strict-aliasing for QCC/QNX to avoid the same aliasing crashes as in the general GCC 4.x series (thanks to Niklas Angare for the fix). (fixes #2459)

comment:5 by Alvaro, 14 years ago

Cool, I almost got called a "cracker". From: Talon comprare viagra fioricet online cialis impotenza tramadol

Note: See TracTickets for help on using tickets.