------- Additional Comments From Ralf dot Wildenhues at gmx dot de 2010-03-29 17:08 ------- This issue occurs frequently with libtool when command lines are long, on systems where the command line length limit is low. The scripts usually look like this (taken from the libtool pdemo tests):
$ cat .libs/libhello.la.lnkscript INPUT ( .libs/longer_file_name_hello.o .libs/longer_file_name_foo.o .libs/longer_file_name_foo2.o ) $ ls .libs libhello.la.lnkscript longer_file_name_foo2.o longer_file_name_foo.o longer_file_name_hello.o $ /bin/sh ./libtool --tag=CC --mode=link gcc -flto -O2 -no-undefined -version-info 3:12:1 -o libhello.la -rpath /tmp/libtool/build/_inst-pdemo/lib longer_file_name_hello.lo longer_file_name_foo.lo longer_file_name_foo2.lo -lm -ldl libtool: link: gcc -shared -fPIC -DPIC .libs/libhello.la.lnkscript -lm -ldl -flto -O2 -Wl,-soname -Wl,libhello.so.2 -o .libs/libhello.so.2.1.12 /opt/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../x86_64-unknown-linux-gnu/bin/ld: error: cannot find .libs/longer_file_name_hello.o /opt/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../x86_64-unknown-linux-gnu/bin/ld: error: cannot find .libs/longer_file_name_foo.o /opt/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../x86_64-unknown-linux-gnu/bin/ld: error: cannot find .libs/longer_file_name_foo2.o collect2: ld returned 1 exit status make[5]: *** [libhello.la] Error 1 Now, my on-topic question: do you expect this issue to be fixed, and addressed soonish? I'm trying to gauge whether libtool should work around this by treating BFD ld and gold differently (which would add a couple more configure tests again). Thanks. -- What |Removed |Added ---------------------------------------------------------------------------- CC| |Ralf dot Wildenhues at gmx | |dot de http://sourceware.org/bugzilla/show_bug.cgi?id=11182 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils