Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
6.99.34 troubles building evbarm.
Hi,
Whilst cross compiling evbarm on amd64 I have encountered various problems.
Here are the results:
With HAVE_LLVM MKLIBCXX MKLLVM defined:
==> build.sh command: ./build.sh -m evbarm -U -u -x -X ../xsrc -O
/home/build/netbsd-a
rm -j 8 release
===> build.sh started: Tue May 27 21:48:08 EST 2014
===> NetBSD version: 6.99.43
===> MACHINE: evbarm
===> MACHINE_ARCH: arm
===> Build platform: NetBSD 6.99.40 amd64
===> HOST_SH: /bin/sh
===> MAKECONF file: /etc/mk.conf
===> TOOLDIR path: /home/build/netbsd-arm/tooldir.NetBSD-6.99.40-
amd64
===> DESTDIR path: /home/build/netbsd-arm/destdir.evbarm
===> RELEASEDIR path: /home/build/netbsd-arm/releasedir
===> Updated makewrapper: /home/build/netbsd-arm/tooldir.NetBSD-6.99.40-
amd64/bin/nbmake-e
vbarm
# build libgcc_s/libgcc_s.so.1.0
rm -f libgcc_s.so.1.0
/home/build/netbsd-arm/tooldir.NetBSD-6.99.40-amd64/bin/arm--netbsdelf-gcc -
nodefaultlibs -Wl,-x -shared -Wl,-soname,libgcc_s.so.1 -Wl,--warn-shared-
textrel -Wl,-Map=libgcc_s.so.1.map --sysroot=/home/build/netbsd-
arm/destdir.evbarm -nodefaultlibs -Wl,--version-script=/home/build/netbsd-
arm/external/gpl3/gcc/lib/libgcc/libgcc_s/libgcc.map -o libgcc_s.so.1.0 -
Wl,-rpath,/lib -L=/lib -Wl,--whole-archive libgcc_s_pic.a -Wl,--no-whole-
archive
/home/build/netbsd-arm/tooldir.NetBSD-6.99.40-amd64/lib/gcc/arm--
netbsdelf/4.8.3/../../../../arm--netbsdelf/bin/ld: error: Source object
libgcc_s_pic.a(_clzdi2.pico) has EABI version 0, but target libgcc_s.so.1.0
has EABI version 5
/home/build/netbsd-arm/tooldir.NetBSD-6.99.40-amd64/lib/gcc/arm--
netbsdelf/4.8.3/../../../../arm--netbsdelf/bin/ld: failed to merge target
specific data of file libgcc_s_pic.a(_clzdi2.pico)
/home/build/netbsd-arm/tooldir.NetBSD-6.99.40-amd64/lib/gcc/arm--
netbsdelf/4.8.3/../../../../arm--netbsdelf/bin/ld: error: Source object
libgcc_s_pic.a(_ashldi3.pico) has EABI version 0, but target libgcc_s.so.1.0
has EABI version 5
/home/build/netbsd-arm/tooldir.NetBSD-6.99.40-amd64/lib/gcc/arm--
netbsdelf/4.8.3/../../../../arm--netbsdelf/bin/ld: failed to merge target
specific data of file libgcc_s_pic.a(_ashldi3.pico)
/home/build/netbsd-arm/tooldir.NetBSD-6.99.40-amd64/lib/gcc/arm--
netbsdelf/4.8.3/../../../../arm--netbsdelf/bin/ld: error: Source object
libgcc_s_pic.a(_ashrdi3.pico) has EABI version 0, but target libgcc_s.so.1.0
has EABI version 5
/home/build/netbsd-arm/tooldir.NetBSD-6.99.40-amd64/lib/gcc/arm--
netbsdelf/4.8.3/../../../../arm--netbsdelf/bin/ld: failed to merge target
specific data of file libgcc_s_pic.a(_ashrdi3.pico)
/home/build/netbsd-arm/tooldir.NetBSD-6.99.40-amd64/lib/gcc/arm--
netbsdelf/4.8.3/../../../../arm--netbsdelf/bin/ld: error: Source object
libgcc_s_pic.a(_lshrdi3.pico) has EABI version 0, but target libgcc_s.so.1.0
has EABI version 5
With ARCH defined. Build with clang:
===> build.sh command: ./build.sh -u -U -m evbarm -a earmv6hf -O
/home/build/netbsd-arm/ -j 8 -x -X ../xsrc release
===> build.sh started: Thu May 29 01:40:04 EST 2014
===> NetBSD version: 6.99.43
===> MACHINE: evbarm
===> MACHINE_ARCH: earmv6hf
===> Build platform: NetBSD 6.99.40 amd64
===> HOST_SH: /bin/sh
===> MAKECONF file: /etc/mk.conf
===> TOOLDIR path: /home/build/netbsd-arm/tooldir.NetBSD-6.99.40-
amd64
===> DESTDIR path: /home/build/netbsd-arm/destdir.evbarm
===> RELEASEDIR path: /home/build/netbsd-arm/releasedir
===> Updated makewrapper: /home/build/netbsd-arm/tooldir.NetBSD-6.99.40-
amd64/bin/nbmake-evbarm
dependall ===> lib/libc
--- dependall ---
--- libc.so.12.190 ---
# build libc/libc.so.12.190
rm -f libc.so.12.190
/home/build/netbsd-arm/tooldir.NetBSD-6.99.40-amd64/bin/armv6--netbsdelf-
eabihf-clang -nod
efaultlibs -Wl,-x -shared -Wl,-soname,libc.so.12 -Wl,--warn-shared-textrel -
Wl,-Map=libc.s
o.12.map -Wl,-z,initfirst -Wl,-z,defs --sysroot=/home/build/netbsd-
arm/destdir.evbarm -W
l,--fatal-warnings -o libc.so.12.190 -Wl,-rpath,/lib -L=/lib -Wl,--whole-
archive libc_
pic.a -Wl,--no-whole-archive
/home/build/netbsd-arm/destdir.evbarm/usr/lib/crtbeginS.o:
(.ARM.exidx.text.startup+0x0): u
ndefined reference to `__aeabi_unwind_cpp_pr0'
/home/build/netbsd-arm/destdir.evbarm/usr/lib/crtbeginS.o:
(.ARM.exidx.text.exit+0x0): unde
fined reference to `__aeabi_unwind_cpp_pr0'
libc_pic.a(yperr_string.pico):(.ARM.exidx+0x0): undefined reference to
`__aeabi_unwind_cpp
_pr1'
libc_pic.a(yp_master.pico):(.ARM.exidx+0x0): undefined reference to
`__aeabi_unwind_cpp_pr
0'
libc_pic.a(yp_maplist.pico):(.ARM.exidx+0x0): undefined reference to
`__aeabi_unwind_cpp_p
r0'
libc_pic.a(yp_all.pico):(.ARM.exidx+0x0): undefined reference to
`__aeabi_unwind_cpp_pr1'
libc_pic.a(uuid_to_string.pico):(.ARM.exidx+0x0): undefined reference to
`__aeabi_unwind_c
pp_pr0'
libc_pic.a(uuid_stream.pico):(.ARM.exidx+0x0): undefined reference to
`__aeabi_unwind_cpp_
pr0'
libc_pic.a(uuid_stream.pico):(.ARM.exidx+0x8): undefined reference to
`__aeabi_unwind_cpp_
pr0'
libc_pic.a(uuid_stream.pico):(.ARM.exidx+0x10): undefined reference to
`__aeabi_unwind_cpp
_pr0'
libc_pic.a(uuid_stream.pico):(.ARM.exidx+0x18): undefined reference to
`__aeabi_unwind_cpp
With gcc ARCH defined MKLIBCXX HAVE_LLVM MKLLVM unset:
===> build.sh command: ./build.sh -u -U -m evbarm -a earmv6hf -O
/home/build/netbsd-arm
/ -j 8 -x -X ../xsrc release
===> build.sh started: Thu May 29 02:49:46 EST 2014
===> NetBSD version: 6.99.43
===> MACHINE: evbarm
===> MACHINE_ARCH: earmv6hf
===> Build platform: NetBSD 6.99.40 amd64
===> HOST_SH: /bin/sh
===> MAKECONF file: /etc/mk.conf
# objdir /home/build/netbsd-arm/tools
===> TOOLDIR path: /home/build/netbsd-arm/tooldir.NetBSD-6.99.40-
amd64
===> DESTDIR path: /home/build/netbsd-arm/destdir.evbarm
===> RELEASEDIR path: /home/build/netbsd-arm/releasedir
===> Updated makewrapper: /home/build/netbsd-arm/tooldir.NetBSD-6.99.40-
amd64/bin/nbmake-e
vbarm
# link grodvi/grodvi
/home/build/netbsd-arm/tooldir.NetBSD-6.99.40-amd64/bin/armv6--netbsdelf-
eabihf-c++ --s
ysroot=/home/build/netbsd-arm/destdir.evbarm -o grodvi dvi.o -Wl,-rpath-
link,/home/b
uild/netbsd-arm/destdir.evbarm/lib -L=/lib /home/build/netbsd-
arm/gnu/usr.bin/groff/src/l
ibs/libdriver/libdriver.a /home/build/netbsd-
arm/gnu/usr.bin/groff/src/libs/libgroff/libgr
off.a -lm
/home/build/netbsd-arm/destdir.evbarm/usr/lib/libstdc++.so: undefined reference
to `std::_
_exception_ptr::exception_ptr::exception_ptr()'
/home/build/netbsd-arm/destdir.evbarm/usr/lib/libstdc++.so: undefined reference
to `pthrea
d_create'
/home/build/netbsd-arm/destdir.evbarm/usr/lib/libstdc++.so: undefined reference
to `std::__exception_ptr::exception_ptr::~exception_ptr()'
collect2: error: ld returned 1 exit status
*** [grodvi] Error code 1
nbmake[11]: stopped in
/mnt/microrusty/home/netbsd/NetBSD_source_tree/src/gnu/usr.bin/groff/src/devices/grodvi
1 error
Generic evbarm gcc ARCH MKLLVM MKLIBCXX MKLLVM unset:
===> build.sh command: ./build.sh -u -U -m evbarm -O /home/build/netbsd-
arm/ -j 8 -x -X ../xsrc release
===> build.sh started: Thu May 29 09:21:56 EST 2014
===> NetBSD version: 6.99.43
===> MACHINE: evbarm
===> MACHINE_ARCH: arm
===> Build platform: NetBSD 6.99.40 amd64
===> HOST_SH: /bin/sh
===> MAKECONF file: /etc/mk.conf
# objdir /home/build/netbsd-arm/tools
===> TOOLDIR path: /home/build/netbsd-arm/tooldir.NetBSD-6.99.40-
amd64
===> DESTDIR path: /home/build/netbsd-arm/destdir.evbarm
===> RELEASEDIR path: /home/build/netbsd-arm/releasedir
===> Updated makewrapper: /home/build/netbsd-arm/tooldir.NetBSD-6.99.40-
amd64/bin/nbmake-evbarm
# link grodvi/grodvi
/home/build/netbsd-arm/tooldir.NetBSD-6.99.40-amd64/bin/arm--netbsdelf-c++
--sysroot=/home/build/netbsd-arm/destdir.evbarm -o grodvi dvi.o -Wl,-
rpath-link,/home/build/netbsd-arm/destdir.evbarm/lib -L=/lib
/home/build/netbsd-arm/gnu/usr.bin/groff/src/libs/libdriver/libdriver.a
/home/build/netbsd-arm/gnu/usr.bin/groff/src/libs/libgroff/libgroff.a -lm
/home/build/netbsd-arm/destdir.evbarm/usr/lib/libstdc++.so: undefined reference
to `pthread_create'
collect2: error: ld returned 1 exit status
*** [grodvi] Error code 1
nbmake[11]: stopped in
/mnt/microrusty/home/netbsd/NetBSD_source_tree/src/gnu/usr.bin/groff/src/devices/grodvi
1 error
There was also an error when building with MKLLVM and MKLIBCXX set building
with gcc erroring out whilst building libc++ about an un recognized option -
cxx-isystem.
Any hints on how to get it to build?
Regards,
Nat
Home |
Main Index |
Thread Index |
Old Index