>> 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.

Reply via email to