This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Building powerpc-405-linux-gnu I noticed one error message (I've elided the path for clarity): [ERROR] .../powerpc-405-linux-gnu/build/build-libc/elf/ld.so.1: 1: Syntax error: "(" unexpected This is building on Ubuntu; building on RHEL I get the slightly more illuminating message (but not flagged as an error): [ALL ] /bin/sh: .../powerpc-405-linux-gnu/build/build-libc/elf/ld.so.1: cannot execute binary file The line in the log file above this error message is equivalent to the following code (refactored and elided to make it actually readable): CT=... PP=$CT/powerpc-405-linux-gnu/build/build-libc SR=$CT/target/powerpc-405-linux-gnu/powerpc-405-linux-gnu/sys-root LIBPATH=$PP:$PP/math:$PP/elf:$PP/dlfcn:$PP/nss:$PP/nis:$PP/rt:$PP/resolv:\ $PP/crypt:$PP/nptl for spec in $( LC_ALL=C GETCONF_DIR=/dev/null $PP/elf/ld.so.1 \ --library-path $LIBPATH $PP/posix/getconf \ _POSIX_V6_WIDTH_RESTRICTED_ENVS); do /usr/bin/install -c $PP/posix/getconf $SR/usr/libexec/getconf/$spec.new mv -f $SR/usr/libexec/getconf/$spec.new $SR/usr/libexec/getconf/$spec done Ah: now all is clear. *Somebody* is trying to execute the target ld.so.1 -- that's not going to work, now is it? I don't know whether this actually matters, and whether the offending code is in crosstool-ng itself, or is part of glibc (I guess my money isss with glibc). Still, it's a bit bothersome. The built toolchain actually seems to work just fine -- I think the only side effect here is that sys-root/usr/libexec/getconf is empty -- but something odd to notice! -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |