NetBSD-Bugs archive

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

port-zaurus/56238: Several ARM-Variants seem to miss gcov-iov.h



>Number:         56238
>Category:       port-zaurus
>Synopsis:       Several ARM-Variants seem to miss gcov-iov.h
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-zaurus-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 07 07:40:00 +0000 2021
>Originator:     Jan-Benedict Glaw
>Release:        
>Organization:
>Environment:
Linux spock 5.10.0-3-amd64 #1 SMP Debian 5.10.13-1 (2021-02-06) x86_64 GNU/Linux

>Description:
Hi!

Now that the ifunc tests are fixed for ARM, there's one issue uncovered for the zaurus port: It builds the kernel, but when preparing the ramdisk (for ./build.sh -P -U -u -m zaurus -a arm release), it fails due to compiler options:

depend ===> etc/notes
depend ===> etc/utils
depend ===> etc/zaurus
depend ===> etc/zaurus/ramdisk
depend ===> etc/zaurus/instkernel
depend ===> etc/zaurus/cdroms
depend ===> etc/zaurus/cdroms/installcd
depend ===> etc/zaurus/liveimage
all ===> etc/notes
all ===> etc/utils
all ===> etc/zaurus
all ===> etc/zaurus/ramdisk
#   compile  ramdisk/getcap.o
/var/lib/laminar/run/netbsd-zaurus-arm/8/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/arm--netbsdelf-gcc -Os -mthumb -mthumb-interwork -DNDEBUG    -msoft-float  -fdebug-prefix-map=\
$DESTDIR= -fdebug-prefix-map=\$NETBSDSRCDIR=/usr/src -fdebug-prefix-map=\$X11SRCDIR=/usr/xsrc -fdebug-regex-map='/usr/src/(.*)/obj$=/usr/obj/\1' -fdebug-regex-map='/usr/src/(.*)/obj/(.*)=/usr/obj/\1/\2' -fdebug-regex-map='/usr/src/(.*)/obj\..*=/usr/obj/\1' -fdebug-regex-map='/usr/src/(.*)/obj\..*/(.*)=/usr/obj/\1/\2'   -std=gnu99    -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare  -Wsystem-headers   -Wno-traditional   -Wa,--fatal-warnings  -Werror     --sysroot=/var/lib/laminar/run/netbsd-zaurus-arm/8/dest-zaurus-arm -DSMALL -DLIBHACK -Wp,-iremap,/var/lib/laminar/run/netbsd-zaurus-arm/8/dest-zaurus-arm: -Wp,-fno-canonical-system-headers -Wp,-iremap,/var/lib/laminar/run/netbsd-zaurus-arm/8/NetBSD-src:/usr/src -Wp,-iremap,/usr/xsrc:/usr/xsrc  -c    /var/lib/laminar/run/netbsd-zaurus-arm/8/NetBSD-src/distrib/utils/libhack/../../../lib/libc/gen/getcap.c -o getcap.o
cc1: error: target CPU does not support interworking [-Werror]
cc1: error: target CPU does not support THUMB instructions [-Werror]
cc1: all warnings being treated as errors

*** Failed target:  getcap.o
*** Failed command: /var/lib/laminar/run/netbsd-zaurus-arm/8/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/arm--netbsdelf-gcc -Os -mthumb -mthumb-interwork -DNDEBUG -msoft-float -fdebug-prefix-map=\$DESTDIR= -fdebug-prefix-map=\$NETBSDSRCDIR=/usr/src -fdebug-prefix-map=\$X11SRCDIR=/usr/xsrc -fdebug-regex-map='/usr/src/(.*)/obj$=/usr/obj/\1' -fdebug-regex-map='/usr/src/(.*)/obj/(.*)=/usr/obj/\1/\2' -fdebug-regex-map='/usr/src/(.*)/obj\..*=/usr/obj/\1' -fdebug-regex-map='/usr/src/(.*)/obj\..*/(.*)=/usr/obj/\1/\2' -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wsystem-headers -Wno-traditional -Wa,--fatal-warnings -Werror --sysroot=/var/lib/laminar/run/netbsd-zaurus-arm/8/dest-zaurus-arm -DSMALL -DLIBHACK -Wp,-iremap,/var/lib/laminar/run/netbsd-zaurus-arm/8/dest-zaurus-arm: -Wp,-fno-canonical-system-headers -Wp,-iremap,/var/lib/laminar/run/netbsd-zaurus-arm/8/NetBSD-src:/usr/src -Wp,-iremap,/usr/xsrc:/usr/xsrc -c /var/lib/laminar/run
 /netbsd-zaurus-arm/8/NetBSD-src/distrib/utils/libhack/../../../lib/libc/gen/getcap.c -o getcap.o
*** Error code 1

Stop.
nbmake[4]: stopped in /var/lib/laminar/run/netbsd-zaurus-arm/8/NetBSD-src/distrib/zaurus/ramdisk 

*** Failed target:  all-ramdisk
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="etc/zaurus/"; real="/var/lib/laminar/run/netbsd-zaurus-arm/8/NetBSD-src/distrib/zaurus" ;; *) this="etc/zaurus/${dir}/"; real="/var/lib/laminar/run/netbsd-zaurus-arm/8/NetBSD-src/distrib/zaurus/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /var/lib/laminar/run/netbsd-zaurus-arm/8/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget ramdisk all
*** Error code 1

Stop.
nbmake[3]: stopped in /var/lib/laminar/run/netbsd-zaurus-arm/8/NetBSD-src/distrib/zaurus

*** Failed target:  all-zaurus
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="etc/"; real="/var/lib/laminar/run/netbsd-zaurus-arm/8/NetBSD-src/distrib" ;; *) this="etc/${dir}/"; real="/var/lib/laminar/run/netbsd-zaurus-arm/8/NetBSD-src/distrib/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /var/lib/laminar/run/netbsd-zaurus-arm/8/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget zaurus all
*** Error code 1

Stop.
nbmake[2]: stopped in /var/lib/laminar/run/netbsd-zaurus-arm/8/NetBSD-src/distrib

*** Failed target:  snap_post
*** Failed command: cd /var/lib/laminar/run/netbsd-zaurus-arm/8/NetBSD-src/distrib && /var/lib/laminar/run/netbsd-zaurus-arm/8/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/nbmake depend && /var/lib/laminar/run/netbsd-zaurus-arm/8/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/nbmake && /var/lib/laminar/run/netbsd-zaurus-arm/8/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/nbmake release
*** Error code 1

Stop.
nbmake[1]: stopped in /var/lib/laminar/run/netbsd-zaurus-arm/8/NetBSD-src/etc

*** Failed target:  release
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/var/lib/laminar/run/netbsd-zaurus-arm/8/NetBSD-src" ;; *) this="${dir}/"; real="/var/lib/laminar/run/netbsd-zaurus-arm/8/NetBSD-src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /var/lib/laminar/run/netbsd-zaurus-arm/8/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget etc release DISTRIBUTION_DONE=1
*** Error code 1

Stop.
nbmake: stopped in /var/lib/laminar/run/netbsd-zaurus-arm/8/NetBSD-src

ERROR: Failed to make release
*** BUILD ABORTED ***



>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index