This is the mail archive of the gcc-help@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]

Re: Error when building cross compiler


>> There is something peculiar going on, because a
>> x86_64-unknown-linux-gnu hosted compiler would not normally refer to
>> libgcc_s.so.1 at all.  Even if it did, nothing would normally direct
>> the dynamic linker to look in the gcc build directory.  Something is
>> wrong but I don't know what it is.

I have successfully build cross-compiler with overriden RPATH_ENVVAR,
as following:
make RPATH_ENVVAR=MY_LD_LIBRARY_PATH

So error was indeed caused by changing LD_LIBRARY_PATH during the
build, as described by Kai.

I think this is a bug.


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