This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug driver/35300] References to original ${prefix} paths in relocated toolchain and /lib and /usr/lib search paths appear in cross toolchain.



------- Comment #3 from kkylheku at gmail dot com  2008-02-23 02:18 -------
Oops, I spoke to soon. The no-prefix-search path breaks my final gcc build,
with shared libraries and glibc. When making libgcc_s.so, it can't find the
crti.o module.

What's happening is two problems.

Firstly, it appears as if xgcc thinks it's already sysrooted; like it has
already been installed and must look for the target libraries relative to
itself as if its build directory was the sysroot.  But of course, the real
sysroot with glibc material is somewhere else entirely, and during this stage
of the build, it must be referenced absolutely.

Secondly, the crti.o module is actually in a <prefix>/lib32 directory, because
I'm building for the n32 ABI. xgcc has nothing ending in /lib32 in any of its
search paths.

*Head scratch*. How did this link step ever find crti.o before?


-- 

kkylheku at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kkylheku at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35300


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]