View Issue Details

IDProjectCategoryView StatusLast Update
0002616Spring engineGeneralpublic2011-09-29 23:55
Reporterabma Assigned Toabma  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Summary0002616: (master) linker error when -flto is enabled
Description/usr/lib/x86_64-linux-gnu/libieee.a:(.data+0x0): multiple definition of `_LIB_VERSION'
/usr/lib/x86_64-linux-gnu/libieee.a:(.data+0x0): first defined here
/usr/bin/ld: /tmp/cc6IDeOO.ltrans12.ltrans.o: undefined reference to symbol 'tan@@GLIBC_2.2.5'
/usr/bin/ld: note: 'tan@@GLIBC_2.2.5' is defined in DSO /usr/lib/x86_64-linux-gnu/libm.so so try adding it to the linker command line
/usr/lib/x86_64-linux-gnu/libm.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status

gcc bug, see:

https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/778292
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

jK

2011-08-22 12:21

developer   ~0007265

How does that belongs in our mantis?
It's a bug in LTO and all documents say that LTO is experimental, so no one is to blame yet.

abma

2011-08-22 14:41

administrator   ~0007266

afaik LTO is seen as stable seens gcc 4.6. have you any reference about that?

I found only
"Combining -flto with -g is currently experimental" in the docs.

as many other projects seems to compile well...



i see this bug report as not fixable + recheck later if it works

jK

2011-08-22 15:25

developer   ~0007268

Gentoo install still warns you when you enable the USE flag.

Also 4.6 is the first version where LTO has a _chance_ to build (before it failed in >>50% of the cases).

abma

2011-09-24 21:18

administrator   ~0007400

seems to be fixed: https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/778292

recheck required

abma

2011-09-29 23:55

administrator   ~0007439

fix seems to work! :-)

Issue History

Date Modified Username Field Change
2011-08-19 20:36 abma New Issue
2011-08-22 12:21 jK Note Added: 0007265
2011-08-22 14:41 abma Note Added: 0007266
2011-08-22 15:25 jK Note Added: 0007268
2011-09-24 21:18 abma Note Added: 0007400
2011-09-24 21:18 abma Status new => feedback
2011-09-29 23:55 abma Note Added: 0007439
2011-09-29 23:55 abma Status feedback => resolved
2011-09-29 23:55 abma Resolution open => no change required
2011-09-29 23:55 abma Assigned To => abma