[PATCH] Always create lib32 and lib64 symlinks
Anthony Foiani
anthony.foiani@gmail.com
Wed Sep 29 21:07:00 GMT 2010
Greetings --
On Wed, Sep 29, 2010 at 12:47 PM, Anthony Foiani
<anthony.foiani@gmail.com> wrote:
> When I do a straightforward ./configure --local && make && ./ct-ng
> menuconfig && ./ct-ng build, it ends up creating lib64/libiberty.a
>
> (I accidentally nuked that build log... sorry. I'm pretty sure it was
> in the top-level ~/x-tools/$TARGET/ directory, though. If it's really
> necessary, I can run that build again -- does take 90+ minutes to do,
> and I'll have to juggle my local tree, since I stupidly committed that
> PPC patch last...)
Ok, I ran it again, and here's where it died:
[INFO ] =================================================================
[INFO ] Cleaning-up the toolchain's directory
[INFO ] Stripping all toolchain executables
[EXTRA] Installing the populate helper
[EXTRA] Installing a cross-ldd helper
[EXTRA] Creating toolchain aliases
[EXTRA] Removing access to the build system tools
[EXTRA] Removing installed documentation
[ERROR] Build failed in step 'Cleaning-up the toolchain's directory'
[ERROR] Error happened in
'/home/tony/Source/ctng/find-lib64/scripts/functions' in function
'CT_DoExecLog' (line unknown, sorry)
[ERROR] called from
'/home/tony/Source/ctng/find-lib64/scripts/build/internals.sh' at line
# 155 in function 'do_finish'
[ERROR] called from
'/home/tony/Source/ctng/find-lib64/scripts/crosstool-NG.sh' at line #
597 in function 'main'
[ERROR] Look at
'/home/tony/x-tools/powerpc-e500v2-linux-gnuspe/build.log' for more
info on this error.
[ERROR] (elapsed: 108:04.58)
[108:06] / make: *** [build] Error 1
The build log details:
[EXTRA] Removing access to the build system tools
[DEBUG] ==> Executing: 'rm -rf
/home/tony/x-tools/powerpc-e500v2-linux-gnuspe/buildtools'
[EXTRA] Removing installed documentation
[DEBUG] ==> Executing: 'chmod u+w
/home/tony/x-tools/powerpc-e500v2-linux-gnuspe/powerpc-e500v2-linux-gnuspe//sys-root/usr'
[DEBUG] ==> Executing: 'chmod -R u+w
/home/tony/x-tools/powerpc-e500v2-linux-gnuspe/powerpc-e500v2-linux-gnuspe//sys-root/usr/info'
[DEBUG] ==> Executing: 'rm -rf
/home/tony/x-tools/powerpc-e500v2-linux-gnuspe/powerpc-e500v2-linux-gnuspe//sys-root/usr/info'
[DEBUG] ==> Executing: 'chmod 775
/home/tony/x-tools/powerpc-e500v2-linux-gnuspe/powerpc-e500v2-linux-gnuspe//sys-root/usr'
[DEBUG] ==> Executing: 'chmod u+w
/home/tony/x-tools/powerpc-e500v2-linux-gnuspe'
[DEBUG] ==> Executing: 'chmod -R u+w
/home/tony/x-tools/powerpc-e500v2-linux-gnuspe/include'
[DEBUG] ==> Executing: 'rm -rf
/home/tony/x-tools/powerpc-e500v2-linux-gnuspe/include'
[DEBUG] ==> Executing: 'chmod 775
/home/tony/x-tools/powerpc-e500v2-linux-gnuspe'
[DEBUG] ==> Executing: 'rm -f
/home/tony/x-tools/powerpc-e500v2-linux-gnuspe/lib32'
[DEBUG] ==> Executing: 'rm -f
/home/tony/x-tools/powerpc-e500v2-linux-gnuspe/lib64'
[ALL ] rm: cannot remove
`/home/tony/x-tools/powerpc-e500v2-linux-gnuspe/lib64': Is a directory
[ERROR] Build failed in step 'Cleaning-up the toolchain's directory'
[ERROR] Error happened in
'/home/tony/Source/ctng/find-lib64/scripts/functions' in function
'CT_DoExecLog' (line unknown, sorry)
[ERROR] called from
'/home/tony/Source/ctng/find-lib64/scripts/build/internals.sh' at line
# 155 in function 'do_finish'
[ERROR] called from
'/home/tony/Source/ctng/find-lib64/scripts/crosstool-NG.sh' at line #
597 in function 'main'
[ERROR] Look at
'/home/tony/x-tools/powerpc-e500v2-linux-gnuspe/build.log' for more
info on this error.
[ERROR] (elapsed: 108:04.58)
And I'm pretty sure this is where it's created:
[ALL ] make[3]: Entering directory
`/home/tony/Source/ctng/find-lib64/targets/powerpc-e500v2-linux-gnuspe/build/build-binutils/libiberty'
[ALL ] make[4]: Entering directory
`/home/tony/Source/ctng/find-lib64/targets/powerpc-e500v2-linux-gnuspe/build/build-binutils/libiberty/testsuite'
[ALL ] make[4]: Nothing to be done for `all'.
[ALL ] make[4]: Leaving directory
`/home/tony/Source/ctng/find-lib64/targets/powerpc-e500v2-linux-gnuspe/build/build-binutils/libiberty/testsuite'
[ALL ] /bin/bash
/home/tony/Source/ctng/find-lib64/targets/src/binutils-2.20.1/libiberty/../mkinstalldirs
/home/tony/x-tools/powerpc-e500v2-linux-gnuspe/l
ib/`x86_64-build_unknown-linux-gnu-gcc -pipe -print-multi-os-directory`
[ALL ] mkdir -p --
/home/tony/x-tools/powerpc-e500v2-linux-gnuspe/lib/../lib64
[ALL ] /home/tony/Source/ctng/find-lib64/targets/tools/bin/install
-c -m 644 ./libiberty.a
/home/tony/x-tools/powerpc-e500v2-linux-gnuspe/lib/`x86_64-build_unknown-linux-gnu-gcc
-pipe -print-multi-os-directory`/./libiberty.an
[ALL ] ( cd
/home/tony/x-tools/powerpc-e500v2-linux-gnuspe/lib/`x86_64-build_unknown-linux-gnu-gcc
-pipe -print-multi-os-directory` ; chmod 644 ./libiberty.an
;x86_64-build_unknown-linux-gnu-ranlib ./libiberty.an )
[ALL ] mv -f
/home/tony/x-tools/powerpc-e500v2-linux-gnuspe/lib/`x86_64-build_unknown-linux-gnu-gcc
-pipe -print-multi-os-directory`/./libiberty.an
/home/tony/x-tools/powerpc-e500v2-linux-gnuspe/lib/`x86_64-build_unknown-linux-gnu-gcc
-pipe -print-multi-os-directory`/./libiberty.a
[ALL ] if test -n ""; then case "" in /*) thd=;;
*) thd=/home/tony/x-tools/powerpc-e500v2-linux-gnuspe/include/;;
esac; /bin/bash
/home/tony/Source/ctng/find-lib64/targets/src/binutils-2.20.1/libiberty/../mkinstalldirs
${thd}; for h in
/home/tony/Source/ctng/find-lib64/targets/src/binutils-2.20.1/libiberty/../include/ansidecl.h
/home/tony/Source/ctng/find-lib64/targets/src/binutils-2.20.1/libiberty/../include/demangle.h
/home/tony/Source/ctng/find-lib64/targets/src/binutils-2.20.1/libiberty/../include/dyn-string.h
/home/tony/Source/ctng/find-lib64/targets/src/binutils-2.20.1/libiberty/../include/fibheap.h
/home/tony/Source/ctng/find-lib64/targets/src/binutils-2.20.1/libiberty/../include/floatformat.h
/home/tony/Source/ctng/find-lib64/targets/src/binutils-2.20.1/libiberty/../include/hashtab.h
/home/tony/Source/ctng/find-lib64/targets/src/binutils-2.20.1/libiberty/../include/libiberty.h
/home/tony/Source/ctng/find-lib64/targets/src/binutils-2.20.1/libiberty/../include/objalloc.h
/home/tony/Source/ctng/find-lib64/targets/src/binutils-2.20.1/libiberty/../include/partition.h
/home/tony/Source/ctng/find-lib64/targets/src/binutils-2.20.1/libiberty/../include/safe-ctype.h
/home/tony/Source/ctng/find-lib64/targets/src/binutils-2.20.1/libiberty/../include/sort.h
/home/tony/Source/ctng/find-lib64/targets/src/binutils-2.20.1/libiberty/../include/splay-tree.h;
do /home/tony/Source/ctng/find-lib64/targets/tools/bin/install
-c -m 644 $h ${thd}; done; fi
[ALL ] make[4]: Entering directory
`/home/tony/Source/ctng/find-lib64/targets/powerpc-e500v2-linux-gnuspe/build/build-binutils/libiberty/testsuite'
[ALL ] make[4]: Nothing to be done for `install'.
[ALL ] make[4]: Leaving directory
`/home/tony/Source/ctng/find-lib64/targets/powerpc-e500v2-linux-gnuspe/build/build-binutils/libiberty/testsuite'
[ALL ] make[3]: Leaving directory
`/home/tony/Source/ctng/find-lib64/targets/powerpc-e500v2-linux-gnuspe/build/build-binutils/libiberty'
The full build log (about 1.2MiB compressed) is at:
http://scrye.com/~tkil/ctng/bad_libiberty_lib64-build_log.txt.xz
Thanks,
Tony
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list