Ralf S. Engelschall wrote:

Oh, I see. Ok, I've now improved the wrapper scripts. Please manually
remove <prefix>/libexec/openpkg/override/{cc,gcc} and upgrade to the
latest bootstrap version as of today. Then if "-c" or "-E" is present
on the compiler command line the -Wl,-search_paths_first should be no
longer used and this way the warning be gone.

While you're modifying the "ld" wrapper script, you might want to
consider filtering out "--hash-style=gnu" which later versions of
Fedora and also CentOS 5 seems to be adding to GCC automagically:
See http://www.algonet.se/~afb/openpkg/openpkg-centos5-gcc.txt

Error is "/openpkg/bin/ld: unrecognized option '--hash-style=gnu'"
i.e. OpenPKG binutils and the system GCC don't play well together

--anders

PS.
I'm sure there is a better place to report this bug, but I'm tired.
(i.e. I searched for "bug" on the front page, didn't find anything)

______________________________________________________________________
OpenPKG                                             http://openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to