Summary: | mozilla-thunderbird 1.5.0.2 fails to emerge with --as-needed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Steev Klimaszewski (RETIRED) <steev> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | flameeyes, gpp666_999 |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 129413 | ||
Attachments: | 005_firefox-1.5-xul_fix_relink.patch |
Description
Steev Klimaszewski (RETIRED)
2006-04-27 10:57:58 UTC
One small thing to note, this is on a 400MHz, and towards the end of the emerge, which takes between 5-6 hours, so if anyone else is able to replicate this (and has a faster box) it would be greatly appreciated Created attachment 85662 [details, diff]
005_firefox-1.5-xul_fix_relink.patch
You are using -* binutils, this patch will correct it, likewise it should be applied to firefox and co. The problem is with the linker - normally it will not abort on unresolved symbols in exe-s, but it seems that this new version does work in another way :)
On a second thought it seems that this is also a longstanding toolchain problem also, this particular line /usr/lib/gcc/i686-pc-linux-gnu/4.1.0/../../../../i686-pc-linux-gnu/bin/ld: warning: libxpcom_core.so, needed by ../../../../dist/bin/libgtkembedmoz.so, not found (try using -rpath or -rpath-link) persisted here for a long time without the abortion in linking (with the previous binutils versions), the same line without the --as-needed flag disappears completely on all binutils revisions, changing the order of libraries does not help in anything - it seems it could simply not parse some of the -L directives with --as-needed. With this revision of binutils there seems to be a bunch of pkgs, which fail in some sort of mysterious way. Fixed in tree. |