2025-07-21 17:32 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002616Spring engineGeneralpublic2011-09-29 23:55
Reporterabma 
Assigned Toabma 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionno change required 
Product Version 
Target VersionFixed in Version 
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
Attached Files

-Relationships
+Relationships

-Notes

~0007265

jK (developer)

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.

~0007266

abma (administrator)

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

~0007268

jK (developer)

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).

~0007400

abma (administrator)

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

recheck required

~0007439

abma (administrator)

fix seems to work! :-)
+Notes

-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
+Issue History