Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

amd64 build broken due to compat gcc_pic



Hello,

I have been unable to build amd64 for a few days already and the problem
has not gone away even after cleaning obj/tools/destdir.

Log below.  Any ideas?

Thanks.


src/compat/amd64/i386& nbmake-amd64 dependall
... several directories ...
dependall ===> ../../../lib/libarch
      build  libarch/libi386.so.1.0
/s/jmmv/os/netbsd/tools.amd64/bin/../lib/gcc/x86_64--netbsd/4.1.3/../../../../x86_64--netbsd/bin/ld:
 skipping incompatible 
/home/jmmv/os/netbsd/destdir.amd64/usr/lib/i386/libgcc_pic.a when searching for 
-lgcc_pic
/s/jmmv/os/netbsd/tools.amd64/bin/../lib/gcc/x86_64--netbsd/4.1.3/../../../../x86_64--netbsd/bin/ld:
 skipping incompatible 
/home/jmmv/os/netbsd/destdir.amd64/usr/lib/i386/libgcc_pic.a when searching for 
-lgcc_pic
/s/jmmv/os/netbsd/tools.amd64/bin/../lib/gcc/x86_64--netbsd/4.1.3/../../../../x86_64--netbsd/bin/ld:
 skipping incompatible 
/home/jmmv/os/netbsd/destdir.amd64/usr/lib/i386/libgcc_pic.a when searching for 
-lgcc_pic
/s/jmmv/os/netbsd/tools.amd64/bin/../lib/gcc/x86_64--netbsd/4.1.3/../../../../x86_64--netbsd/bin/ld:
 skipping incompatible 
/home/jmmv/os/netbsd/destdir.amd64/usr/lib/i386/libgcc_pic.a when searching for 
-lgcc_pic
/s/jmmv/os/netbsd/tools.amd64/bin/../lib/gcc/x86_64--netbsd/4.1.3/../../../../x86_64--netbsd/bin/ld:
 cannot find -lgcc_pic
collect2: ld returned 1 exit status

*** Failed target:  libi386.so.1.0
*** Failed command: /home/jmmv/os/netbsd/tools.amd64/bin/x86_64--netbsd-gcc 
-Wl,-nostdlib -B/home/jmmv/os/netbsd/destdir.amd64/usr/lib/i386/ 
-B/home/jmmv/os/netbsd/destdir.amd64/usr/lib/i386/ -Wl,-x -shared 
-Wl,-soname,libi386.so.1 -Wl,--warn-shared-textrel -o libi386.so.1.0 
-Wl,--whole-archive libi386_pic.a -Wl,--no-whole-archive -m32 -m32 -m32 
-Wl,-rpath-link,/home/jmmv/os/netbsd/destdir.amd64/usr/lib/i386:/home/jmmv/os/netbsd/destdir.amd64/usr/lib
 -Wl,-rpath,/usr/lib/i386 -L/home/jmmv/os/netbsd/destdir.amd64/usr/lib/i386 
-m32 -m32 -Wl,--fatal-warnings -m32 
-L/home/jmmv/os/netbsd/destdir.amd64/usr/lib/i386
*** Error code 1

Stop.
nbmake: stopped in /s/jmmv/os/netbsd/src/lib/libarch

*** Failed target:  dependall
*** Failed command: cd "/s/jmmv/os/netbsd/src/lib/libarch"; 
/home/jmmv/os/netbsd/tools.amd64/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /s/jmmv/os/netbsd/src/lib/libarch

*** Failed target:  dependall-libarch
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; 
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="../../../lib/"; 
real="/s/jmmv/os/netbsd/src/lib" ;; *) this="../../../lib/${dir}/"; 
real="/s/jmmv/os/netbsd/src/lib/${dir}" ;; esac; show=${this:-.}; echo 
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && 
/home/jmmv/os/netbsd/tools.amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; 
}; _makedirtarget libarch dependall
*** Error code 1

Stop.
nbmake: stopped in /s/jmmv/os/netbsd/src/lib

*** Failed target:  dependall-../../../lib
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; 
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; 
real="/s/jmmv/os/netbsd/src/compat/amd64/i386" ;; *) this="${dir}/"; 
real="/s/jmmv/os/netbsd/src/compat/amd64/i386/${dir}" ;; esac; show=${this:-.}; 
echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && 
MAKEOBJDIR='${.CURDIR:C,^/s/jmmv/os/netbsd/src,/home/jmmv/os/netbsd/obj.amd64/s/jmmv/os/netbsd/src/compat/amd64/i386,}'
 MKOBJDIRS=yes MKSHARE=no 
BSD_MK_COMPAT_FILE=/s/jmmv/os/netbsd/src/compat/amd64/i386/bsd.i386.mk 
/home/jmmv/os/netbsd/tools.amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; 
}; _makedirtarget ../../../lib dependall
*** Error code 1

Stop.
nbmake: stopped in /s/jmmv/os/netbsd/src/compat/amd64/i386


Home | Main Index | Thread Index | Old Index