gcc-4.8/6.8 on Ubuntu 14.04 has a bug in link-time optimization

Bug #1365748 reported by A. Gordon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-4.8 (Ubuntu)
New
Undecided
Unassigned

Bug Description

On Ubuntu 14.04 LTS with GCC 4.6.4 and 4.8.2,
"gnulib" tests fail.

Deatails here:
http://lists.gnu.org/archive/html/bug-gnulib/2014-09/msg00023.html

Possible work-around here:
http://lists.gnu.org/archive/html/bug-gnulib/2014-09/msg00026.html

Revision history for this message
A. Gordon (assafgordon) wrote :

To clarify:

The specific "gnulib" tests fail due to "pthread"-related issue of the link-time optimization used with gcc-4.6 and 4.8.
same tests on same machine do not fail with gcc-4.4 or clang-3.3.

The workaround provided by Paul Eggert is to use "-pthread" instead of "-lpthread" as command-line parameter.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.