Summary: | openoffice 2.0.4 fails to compile on amd64 with gcc-4.1.1-r1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | devsk <funtoos> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED WORKSFORME | ||
Severity: | critical | CC: | asturm, davide.giannotti, frednet, keef, polynomial-c, rum |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
devsk
2006-10-18 13:15:18 UTC
Remove -fforce-addr -finline-functions from your C[XX]FLAGS and try again. (In reply to comment #1) > Remove -fforce-addr -finline-functions from your C[XX]FLAGS and try again. > fforce-addr is removed by the ebuild. -finline-functions should also be removed by the ebuild because its the one which inlines the functions and hence causes undefined symbols in other parts of the build. best would be to sed replace "-finline-functions" with "-finline-functions -fkeep-inline-functions", so that if functions are inlined, they still are kept around in the object for other modules to link against later. Feel free to burn yourself, the ebuild explicitely tells you to use *sane* flags, if you want to rice, you're on your own. (In reply to comment #3) > Feel free to burn yourself, the ebuild explicitely tells you to use *sane* > flags, if you want to rice, you're on your own. > why do you get burnt so easily and start flaming people? Jakub, what did I do to get such a reply from you? -finline-functions makes so much sense with -O2. Its not about ricing. Its a perfectly *sane* flag. You are such a freak!! Get some sleep and maybe a girl friend! *** Bug 183506 has been marked as a duplicate of this bug. *** *** Bug 189049 has been marked as a duplicate of this bug. *** *** Bug 193591 has been marked as a duplicate of this bug. *** *** Bug 195664 has been marked as a duplicate of this bug. *** Well at least an ewarn would be nice to have. Something like if has_flagq -finline-functions ; then ewarn "You have -finline-functions in your C(XX)FLAGS which is known to" ewarn "break compilation of openoffice. (see https://bugs.gentoo.org/151869)" fi *** Bug 253132 has been marked as a duplicate of this bug. *** *** Bug 275778 has been marked as a duplicate of this bug. *** |