Date: Mon, 16 Mar 2015 11:01:18 -0700 From: Mark Millard <markmi@dsl-only.net> To: FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, freebsd-toolchain@freebsd.org Subject: powerpc64-xtoolchain-gcc (gcc 4.9.1): Expects to find /usr/lib/libc++.so.1 before it is installed there; libcxxrt.so too... Message-ID: <45FA29A2-73BA-4148-AA85-B766EF69F1A1@dsl-only.net>
next in thread | raw e-mail | index | archive | help
Basic context (more details later): # freebsd-versino -ku ; uname -ap su: freebsd-versino: not found FreeBSD FBSDG5C0 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r279514M: Wed Mar = 11 19:23:14 PDT 2015 = root@FBSDG4C0:/usr/obj/powerpc.powerpc64/usr/srcC/sys/GENERIC64vtsc-NODEBU= G powerpc powerpc64 Attempting rebuild 11.0-CURRENT r279514 using powerpc64-xtoolchain-gcc's = CROSS_TOOLCHAIN=3Dpowerpc64-gcc . (I've broken up the long line below to make it easier to parse.) /usr/local/bin/powerpc64-portbld-freebsd11.0-g++ \ -isystem /usr/obj/usr/srcC/tmp/usr/include -L/usr/obj/usr/srcC/tmp/usr/lib = -I/usr/obj/usr/srcC/tmp/usr/include/c++/v1 \ -std=3Dgnu++11 \ -L/usr/obj/usr/srcC/tmp/../lib/libc++ \ -O2 -pipe -fstack-protector \ -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter = -Wpointer-arith -Wno-uninitialized \ -L/usr/obj/usr/srcC/tmp/usr/lib/private \ -rpath /usr/lib/private -rpath /usr/lib/private \ -o dnv_tests dnv_tests.o \ /usr/obj/usr/srcC/lib/atf/libatf-c++/libatf-c++.so \ /usr/obj/usr/srcC/lib/atf/libatf-c/libatf-c.so \ -lnv /usr/local/bin/powerpc64-freebsd-ld: cannot find /usr/lib/libc++.so.1 /usr/local/bin/powerpc64-freebsd-ld: cannot find /usr/lib/libcxxrt.so collect2: error: ld returned 1 exit status *** Error code 1 The the time of the failure the files are actually at: # find / -type f -name 'libc++*' -print | more /usr/src/lib/libc++/libc++.ldscript /usr/obj/usr/srcC/lib/libc++/libc++.so.1 /usr/obj/usr/srcC/lib/libc++/libc++.a /usr/obj/usr/srcC/lib/libc++/libc++_p.a /usr/obj/usr/srcC/tmp/usr/lib/libc++.a /usr/obj/usr/srcC/tmp/usr/lib/libc++.so.1 /usr/obj/usr/srcC/tmp/usr/lib/libc++.so /usr/srcC/lib/libc++/libc++.ldscript # ls -FPal /usr/obj/usr/srcC/lib/libc++/libc++.so.1 = /usr/obj/usr/srcC/tmp/usr/lib/libc++.so.1 -rwxr-xr-x 1 root wheel 1318912 Mar 16 08:53 = /usr/obj/usr/srcC/lib/libc++/libc++.so.1* -rwxr-xr-x 1 root wheel 1318912 Mar 16 08:53 = /usr/obj/usr/srcC/tmp/usr/lib/libc++.so.1* # find / -type f -name 'libcxxrt*' -print | more /usr/obj/usr/srcC/lib/libcxxrt/libcxxrt.so.1 /usr/obj/usr/srcC/lib/libcxxrt/libcxxrt.a /usr/obj/usr/srcC/lib/libcxxrt/libcxxrt_p.a /usr/obj/usr/srcC/tmp/lib/libcxxrt.so.1 /usr/obj/usr/srcC/tmp/usr/lib/libcxxrt.a # ls -FPal /usr/obj/usr/srcC/lib/libcxxrt/libcxxrt.so.1 = /usr/obj/usr/srcC/tmp/lib/libcxxrt.so.1 -rwxr-xr-x 1 root wheel 134616 Mar 16 08:41 = /usr/obj/usr/srcC/lib/libcxxrt/libcxxrt.so.1* -rwxr-xr-x 1 root wheel 134616 Mar 16 08:41 = /usr/obj/usr/srcC/tmp/lib/libcxxrt.so.1* Notably there is no libcxxrt.so without the .1 suffix anywhere. More context details: make -j 8 CROSS_TOOLCHAIN=3Dpowerpc64-gcc \ WITHOUT_CLANG_BOOTSTRAP=3D \ WITHOUT_CLANG_IS_CC=3D WITHOUT_CLANG=3D WITHOUT_CLANG_EXTRAS=3D = WITHOUT_CLANG_FULL=3D \ WITHOUT_LLDB=3D \ WITHOUT_GCC_BOOTSTRAP=3D WITHOUT_GCC=3D \ WITHOUT_BINUTILS_BOOTSTRAP=3D WITHOUT_BINUTILS=3D \ buildworld buildkernel \ KERNCONF=3DGENERIC64vtsc-NODEBUG \ TARGET=3Dpowerpc TARGET_ARCH=3Dpowerpc64 also I retried after the first report with... make -DNO_CLEAN CROSS_TOOLCHAIN=3Dpowerpc64-gcc \ WITHOUT_CLANG_BOOTSTRAP=3D \ WITHOUT_CLANG_IS_CC=3D WITHOUT_CLANG=3D WITHOUT_CLANG_EXTRAS=3D = WITHOUT_CLANG_FULL=3D \ WITHOUT_LLDB=3D \ WITHOUT_GCC_BOOTSTRAP=3D WITHOUT_GCC=3D \ WITHOUT_BINUTILS_BOOTSTRAP=3D WITHOUT_BINUTILS=3D \ buildworld buildkernel \ KERNCONF=3DGENERIC64vtsc-NODEBUG \ TARGET=3Dpowerpc TARGET_ARCH=3Dpowerpc64 and it stopped at the same point for the same issue. # svnlite info Path: . Working Copy Root Path: /usr/srcC URL: https://svn0.us-west.freebsd.org/base/head Relative URL: ^/head Repository Root: https://svn0.us-west.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 279514 Node Kind: directory Schedule: normal Last Changed Author: adrian Last Changed Rev: 279514 Last Changed Date: 2015-03-01 18:27:25 -0800 (Sun, 01 Mar 2015) ( lib/libnv/tests/dnv/tests.cc and lib/libnv/tests/dnv/tests.cc have = been updated to -r279760 status to get rid of compile errors.) =3D=3D=3D Mark Millard markmi at dsl-only.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45FA29A2-73BA-4148-AA85-B766EF69F1A1>