tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Trouble compiling NetBSD: failure in libc
Hi all,
When I run ∴./build.sh -m amd64 -U build
I get the following error. Is this known at HEAD? I did a 'cvs up -C'
immediately prior to build. Is there anything else I should do?
...
install-../external/gpl3/gcc.old/lib/libgcc ===> lib
install ===> lib/../external/gpl3/gcc.old/lib/libgcc
install ===> lib/../external/gpl3/gcc.old/lib/libgcc/libgcc
install ===> lib/../external/gpl3/gcc.old/lib/libgcc/libgcc_eh
install ===> lib/../external/gpl3/gcc.old/lib/libgcc/libgcc_s
install ===> lib/../external/gpl3/gcc.old/lib/libgcc/libgcov
dependall-libc ===> lib
dependall ===> lib/libc
# build libc/libc.so.12.209
rm -f libc.so.12.209
/Users/eax/svn/cs/netbsd/src/obj/tooldir.Darwin-17.4.0-x86_64/bin/x86_64--netbsd-gcc
-nodefaultlibs -shared -Wl,-soname,libc.so.12
-Wl,--warn-shared-textrel -Wl,-Map=libc.so.12.map -Wl,-z,initfirst
--sysroot=/Users/eax/svn/cs/netbsd/src/obj/destdir.amd64 -Wl,-z,relro
-Wl,--warn-shared-textrel -o libc.so.12.209.tmp -Wl,-rpath,/lib
-L=/lib -Wl,-x -Wl,--whole-archive libc_pic.a -Wl,--no-whole-archive
-lgcc
/Users/eax/svn/cs/netbsd/src/obj/tooldir.Darwin-17.4.0-x86_64/lib/gcc/x86_64--netbsd/5.5.0/../../../../x86_64--netbsd/bin/ld:
libc_pic.a(vadvise.pico): relocation R_X86_64_32 against undefined
symbol `SYS_vadvise' can not be used when making a shared object;
recompile with -fPIC
/Users/eax/svn/cs/netbsd/src/obj/tooldir.Darwin-17.4.0-x86_64/lib/gcc/x86_64--netbsd/5.5.0/../../../../x86_64--netbsd/bin/ld:
final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
*** Failed target: libc.so.12.209
*** Failed command:
/Users/eax/svn/cs/netbsd/src/obj/tooldir.Darwin-17.4.0-x86_64/bin/x86_64--netbsd-gcc
-nodefaultlibs -shared -Wl,-soname,libc.so.12
-Wl,--warn-shared-textrel -Wl,-Map=libc.so.12.map -Wl,-z,initfirst
--sysroot=/Users/eax/svn/cs/netbsd/src/obj/destdir.amd64 -Wl,-z,relro
-Wl,--warn-shared-textrel -o libc.so.12.209.tmp -Wl,-rpath,/lib
-L=/lib -Wl,-x -Wl,--whole-archive libc_pic.a -Wl,--no-whole-archive
-lgcc
*** Error code 1
Stop.
nbmake[5]: stopped in /Users/eax/svn/cs/netbsd/src/lib/libc
*** Failed target: dependall
*** Failed command: cd "/Users/eax/svn/cs/netbsd/src/lib/libc";
/Users/eax/svn/cs/netbsd/src/obj/tooldir.Darwin-17.4.0-x86_64/bin/nbmake
realall
*** Error code 1
Stop.
nbmake[4]: stopped in /Users/eax/svn/cs/netbsd/src/lib/libc
*** Failed target: dependall-libc
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="lib/"; real="/Users/eax/svn/cs/netbsd/src/lib" ;; *)
this="lib/${dir}/"; real="/Users/eax/svn/cs/netbsd/src/lib/${dir}" ;;
esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with:
$@)}"; cd "${real}" &&
/Users/eax/svn/cs/netbsd/src/obj/tooldir.Darwin-17.4.0-x86_64/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget libc dependall
*** Error code 1
Stop.
nbmake[3]: stopped in /Users/eax/svn/cs/netbsd/src/lib
*** Failed target: build_install
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="lib/"; real="/Users/eax/svn/cs/netbsd/src/lib" ;; *)
this="lib/${dir}/"; real="/Users/eax/svn/cs/netbsd/src/lib/${dir}" ;;
esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with:
$@)}"; cd "${real}" &&
/Users/eax/svn/cs/netbsd/src/obj/tooldir.Darwin-17.4.0-x86_64/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . dependall-libc
*** Error code 1
Stop.
nbmake[2]: stopped in /Users/eax/svn/cs/netbsd/src/lib
*** Failed target: do-lib
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this=""; real="/Users/eax/svn/cs/netbsd/src" ;; *) this="${dir}/";
real="/Users/eax/svn/cs/netbsd/src/${dir}" ;; esac; show=${this:-.};
echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/Users/eax/svn/cs/netbsd/src/obj/tooldir.Darwin-17.4.0-x86_64/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget lib
build_install
*** Error code 1
Stop.
nbmake[1]: stopped in /Users/eax/svn/cs/netbsd/src
*** Failed target: build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this=""; real="/Users/eax/svn/cs/netbsd/src" ;; *) this="${dir}/";
real="/Users/eax/svn/cs/netbsd/src/${dir}" ;; esac; show=${this:-.};
echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/Users/eax/svn/cs/netbsd/src/obj/tooldir.Darwin-17.4.0-x86_64/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . do-lib
*** Error code 1
Stop.
nbmake: stopped in /Users/eax/svn/cs/netbsd/src
ERROR: Failed to make build
*** BUILD ABORTED ***
./build.sh -m amd64 -uU build 416.92s user 298.38s system 69% cpu
17:10.83 total
--
Eitan Adler
Home |
Main Index |
Thread Index |
Old Index