Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331759 - sys-devel/libtool does not support new gcc-4.5 -flto option
Summary: sys-devel/libtool does not support new gcc-4.5 -flto option
Status: RESOLVED DUPLICATE of bug 324107
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL: http://lists.gnu.org/archive/html/bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-09 11:49 UTC by David Carlos Manuelda
Modified: 2010-08-10 02:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
compile log (dev-db:mysql-5.1.49-r1:20100809-114450.log,996.88 KB, text/plain)
2010-08-09 11:50 UTC, David Carlos Manuelda
Details
emerge --info output (emerge_info.txt,11.83 KB, text/plain)
2010-08-09 11:52 UTC, David Carlos Manuelda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Carlos Manuelda 2010-08-09 11:49:23 UTC
When trying to compile everything, I get a error message complaining that a file called xxxxxx.lto.o is missing!
For example, compiling mysql-5.1.49-r1:
x86_64-pc-linux-gnu-g++: /var/tmp/portage/dev-db/mysql-5.1.49-r1/temp/ccQZPul8.lto.o: No such file or directory

I'll attach full debugging output and emerge info.

Reproducible: Always
Comment 1 David Carlos Manuelda 2010-08-09 11:50:13 UTC
Created attachment 241965 [details]
compile log

This is the output log
Comment 2 David Carlos Manuelda 2010-08-09 11:52:34 UTC
Created attachment 241967 [details]
emerge --info output

emerge --info
Comment 3 David Carlos Manuelda 2010-08-09 11:53:06 UTC
Is this common or do I have missconfigured something, because it seems to compile at least nothing with -flto
Comment 4 David Carlos Manuelda 2010-08-09 12:07:09 UTC
I can't compile amarok either (and possibly I can't compile anything).
Am I wrong using it with -flto, is a gentoo issue?
Because it is strange that gcc folks release something that does not work at all.. I'm missed!
Comment 5 Wormo (RETIRED) gentoo-dev 2010-08-10 01:57:37 UTC
As you probably know already, lto is a new feature to gcc 4.5 so you could easily be running into a gcc bug rather than a misconfiguration. For gcc 4.5.0 there were enough known issues that toolchain devs recommended not using lto -- assigning to toolchain team who can tell you whether lto is expected to work yet with gcc 4.5.1.
Comment 6 SpanKY gentoo-dev 2010-08-10 02:15:24 UTC
pretty sure this is not a gcc bug.  i thought we already had a bug about this, but i cant find it ...

long story short: dont use -flto in your make.conf settings
Comment 7 SpanKY gentoo-dev 2010-08-10 02:16:38 UTC
oop, found it ... it didnt have a cleaned up summary which is why i couldnt locate it ...

*** This bug has been marked as a duplicate of bug 324107 ***