This is the mail archive of the gcc@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: Hmm, /sbin/ldconfig.real: /home/toon/compilers/install/lib/../lib64/libstdc++.so.6.0.21-gdb.py is not an ELF file - it has the wrong magic bytes at the start.


On 28 October 2014 19:36, Toon Moene wrote:
> On the gcc-results archive, you'll see this:
>
> https://gcc.gnu.org/ml/gcc-testresults/2014-10/msg02983.html
>
> but that doesn't show you the real problem:
>
> mkdir -p -- /home/toon/compilers/install/share/gcc-5.0.0/python/libjava
> libtool: install: /usr/bin/install -c .libs/libgcj-tools.so.15.0.0T
> /home/toon/compilers/install/lib/../lib64/libgcj-tools.so.15.0.0
> libtool: install: (cd /home/toon/compilers/install/lib/../lib64 && { ln -s
> -f libgcj-tools.so.15.0.0 libgcj-tools.so.15 || { rm -f libgcj-tools.so.15
>  && ln -s libgcj-tools.so.15.0.0 libgcj-tools.so.15; }; })
> libtool: install: (cd /home/toon/compilers/install/lib/../lib64 && { ln -s
> -f libgcj-tools.so.15.0.0 libgcj-tools.so || { rm -f libgcj-tools.so && ln
>  -s libgcj-tools.so.15.0.0 libgcj-tools.so; }; })
> libtool: install: /usr/bin/install -c .libs/libgcj-tools.lai
> /home/toon/compilers/install/lib/../lib64/libgcj-tools.la
> libtool: install: /usr/bin/install -c install/.libs/libgcj_bc.so.1.0.0
> /home/toon/compilers/install/lib/../lib64/libgcj_bc.so.1.0.0
> libtool: install: (cd /home/toon/compilers/install/lib/../lib64 && { ln -s
> -f libgcj_bc.so.1.0.0 libgcj_bc.so.1 || { rm -f libgcj_bc.so.1 && ln -s
> libgcj_bc.so.1.0.0 libgcj_bc.so.1; }; })
> libtool: install: (cd /home/toon/compilers/install/lib/../lib64 && { ln -s
> -f libgcj_bc.so.1.0.0 libgcj_bc.so || { rm -f libgcj_bc.so && ln -s
> libgcj_bc.so.1.0.0 libgcj_bc.so; }; })
> libtool: install: /usr/bin/install -c install/.libs/libgcj_bc.lai
> /home/toon/compilers/install/lib/../lib64/libgcj_bc.la
> libtool: finish:
> PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin"
> ldconfig -n /home/toon/compilers/install/lib/../lib64
> /sbin/ldconfig.real:
> /home/toon/compilers/install/lib/../lib64/libstdc++.so.6.0.21-gdb.py is not
> an ELF file - it has the wrong magic bytes at the start.
>
> Well, you betcha a python script is not an ELF file - but why does the build
> process think so ?

The build process doesn't.

ldconfig assumes everything in that directory is an ELF file.

https://sourceware.org/bugzilla/show_bug.cgi?id=12744
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41816
https://gcc.gnu.org/ml/gcc/2009-09/msg00063.html (and its follow-ups)


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