Please apply libgomp patch to GCC for Hardy Heron
Bug #235070 reported by
James Phillips
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-4.2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Hardy |
Fix Released
|
Undecided
|
pavel |
Bug Description
In Ubuntu 8.04, the gcc 4.2.3 version of libgomp will not work with shared libraries, for example:
http://
explains the problem and has a simple gcc patch, apply and rebuild corrects the problem:
http://
This is corrected in GCC 4.3.0 according to the above link, but GCC 4.3.0 is not in Hardy Heron.
James Phillips
Changed in gcc-4.2: | |
status: | New → Confirmed |
Changed in gcc-4.2: | |
status: | Confirmed → In Progress |
status: | New → In Progress |
Changed in gcc-4.2: | |
assignee: | nobody → gchoty |
To post a comment you must log in.
I can confirm that this bug exists; using f2py with a Fortran code linked with libgomp exposes the bug.
I fixed by adding the attached dpatch file to the source .dep (apt-get source gcc-4.2) patch directory, including the file in rules.patch, and building a new set of packages from source. I am not sure if this works universally, but the dpatch is based on the gcc patch posted above by James, so it should work in general. This patch is supposed to be applied for gcc 4.3.0, but this at least fixes the bug for gcc 4.2.3.
Josh Finkbeiner