NetBSD-Bugs archive

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

port-acorn32/56230: acorn32/arm: h_ifunc_static.o: Assembler messages: Fatal error: can't close h_ifunc_static.o: sorry, cannot handle this file



>Number:         56230
>Category:       port-acorn32
>Synopsis:       acorn32/arm: h_ifunc_static.o: Assembler messages: Fatal error: can't close h_ifunc_static.o: sorry, cannot handle this file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-acorn32-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 03 18:00:00 +0000 2021
>Originator:     Jan-Benedict Glaw
>Release:        HEAD (github mirror, as of e47c384485123eecb84e0aa472b968a04155aa28)
>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!

I've seen seemingly ifunc related issues at least for acorn32/arm and cats/arm:

./build.sh -P -U -m acorn32 -a arm tools

./build.sh -P -U -u -m acorn32 -a arm release
[...]
dependall ===> tests/lib
dependall ===> tests/lib/csu
#    create  csu/h_ifunc_static.d
CC=/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/arm--netbsdelf-gcc /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tool
dir.Linux-5.10.0-3-amd64-x86_64/bin/nbmkdep -f h_ifunc_static.d.tmp  --   -std=gnu99   --sysroot=/var/lib/laminar/run/netbsd-acorn32-arm/4/dest-acorn32-arm -DCHECK_STACK_ALIGNMENT -I/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu/../.. -Wp,-fno-canonical-system-headers     /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu/h_ifunc_static.c &&  mv -f h_ifunc_static.d.tmp h_ifunc_static.d
#    create  csu/h_initfini1.d
CC=/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/arm--netbsdelf-c++ /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/nbmkdep -f h_initfini1.d.tmp  --      --sysroot=/var/lib/laminar/run/netbsd-acorn32-arm/4/dest-acorn32-arm -DCHECK_STACK_ALIGNMENT -I/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu/../.. -Wp,-fno-canonical-system-headers     /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu/h_initfini1.cxx &&  mv -f h_initfini1.d.tmp h_initfini1.d
#    create  csu/h_initfini3.d
CC=/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/arm--netbsdelf-c++ /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tool
dir.Linux-5.10.0-3-amd64-x86_64/bin/nbmkdep -f h_initfini3.d.tmp  --      --sysroot=/var/lib/laminar/run/netbsd-acorn32-arm/4/dest-acorn32-arm -DCHECK_STACK_ALIGNMENT -I/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu/../.. -Wp,-fno-canonical-system-headers     /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu/h_initfini3.cxx &&  mv -f h_initfini3.d.tmp h_initfini3.d
#    create  csu/h_initfini_align.d
CC=/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/arm--netbsdelf-gcc /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/nbmkdep -f h_initfini_align.d.tmp  --     --sysroot=/var/lib/laminar/run/netbsd-acorn32-arm/4/dest-acorn32-arm -DCHECK_STACK_ALIGNMENT -I/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu/../.. -Wp,-fno-canonical-system-headers    -x assembler-with-cpp /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu/arch/arm/h_initfini_align.S &&  mv -f h_initfini_align.d.tmp h_initfini_align.d
#    create  csu/h_initfini_array.d
CC=/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/arm--netbsdelf-gcc /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/nbmkdep -f h_initfini_array.d.tmp  --   -std=gnu99   --sysroot=/var/lib/laminar/run/netbsd-acorn32-arm/4/dest-acorn32-arm -DCHECK_STACK_ALIGNMENT -I/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu/../.. -Wp,-fno-canonical-system-headers     /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu/h_initfini_array.c &&  mv -f h_initfini_array.d.tmp h_initfini_array.d
#    create  csu/h_initfini_common.d
CC=/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/arm--netbsdelf-c++ /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/nbmkdep -f h_initfini_common.d.tmp  --      --sysroot=/var/lib/laminar/run/netbsd-acorn32-arm/4/dest-acorn32-arm -DCHECK_STACK_ALIGNMENT -I/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu/../.. -Wp,-fno-canonical-system-headers     /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu/h_initfini_common.cxx &&  mv -f h_initfini_common.d.tmp h_initfini_common.d
#    create  csu/.depend
rm -f .depend
CC=/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/arm--netbsdelf-gcc /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/nbmkdep -s .o\ .ln\ .d -d -f .depend h_ifunc_static.d h_initfini1.d h_initfini3.d h_initfini_align.d h_initfini_array.d h_initfini_common.d
dependall ===> tests/lib/csu/dso
#    create  dso/h_initfini3_dso.d
CC=/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/arm--netbsdelf-c++ /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/nbmkdep -f h_initfini3_dso.d.tmp  --      --sysroot=/var/lib/laminar/run/netbsd-acorn32-arm/4/dest-acorn32-arm -DCHECK_STACK_ALIGNMENT -I/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu/dso/../../.. -Wp,-fno-canonical-system-headers     /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu/dso/h_initfini3_dso.cxx &&  mv -f h_initfini3_dso.d.tmp h_initfini3_dso.d
#    create  dso/h_initfini_align.d
CC=/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/arm--netbsdelf-gcc /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/nbmkdep -f h_initfini_align.d.tmp  --     --sysroot=/var/lib/laminar/run/netbsd-acorn32-arm/4/dest-acorn32-arm -DCHECK_STACK_ALIGNMENT -I/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu/dso/../../.. -Wp,-fno-canonical-system-headers    -x assembler-with-cpp /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu/dso/../arch/arm/h_initfini_align.S &&  mv -f h_initfini_align.d.tmp h_initfini_align.d
#    create  dso/.depend
rm -f .depend
CC=/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/arm--netbsdelf-gcc /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/nbmkdep -s .o\ .po\ .pico\ .go\ .ln\ .d -d -f .depend h_initfini3_dso.d h_initfini_align.d
#   compile  dso/h_initfini3_dso.pico
/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/arm--netbsdelf-c++ -frandom-seed=3be04ab3 -O2 -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' -Wall -Wpointer-arith -Wno-sign-compare -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wsign-compare -Wformat=2 -Werror -Wno-missing-noreturn -fPIE -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' -Wold-style-cast -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder  -Wno-deprecated -Woverloaded-virtual -Wsign-promo -Wsynth  -Wno-non-template-friend -Wno-pmf-conversions    --sysroot=/var/lib/laminar/run/netbsd-acorn32-arm/4/dest-acorn32-arm -DCHECK_STACK_ALIGNMENT -I/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu/dso/../../.. -Wp,-iremap,/var/lib/laminar/run/netbsd-acorn32-arm/4/dest-acorn32-arm: -Wp,-fno-canonical-system-headers -Wp,-iremap,/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src:/usr/src -Wp,-iremap,/usr/xsrc:/usr/xsrc  -c    -fPIC   /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu/dso/h_initfini3_dso.cxx -o h_initfini3_dso.pico
/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/arm--netbsdelf-objcopy -x -w -K '[$][adt]' -K '[$][adt]\.*' h_initfini3_dso.pico
#   compile  dso/h_initfini_align.pico
/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/arm--netbsdelf-gcc   -fPIE  -msoft-float    --sysroot=/var/lib/laminar/run/netbsd-acorn32-arm/4/dest-acorn32-arm -DCHECK_STACK_ALIGNMENT -I/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu/dso/../../.. -Wp,-iremap,/var/lib/laminar/run/netbsd-acorn32-arm/4/dest-acorn32-arm: -Wp,-fno-canonical-system-headers -Wp,-iremap,/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src:/usr/src -Wp,-iremap,/usr/xsrc:/usr/xsrc  -x assembler-with-cpp -c -fPIC    /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu/dso/../arch/arm/h_initfini_align.S -o h_initfini_align.pico
/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/arm--netbsdelf-objcopy -x -w -K '[$][adt]' -K '[$][adt]\.*' h_initfini_align.pico
#     build  dso/h_initfini3_dso_pic.a
/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/arm--netbsdelf-ar crsD h_initfini3_dso_pic.a `NM=/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/arm--netbsdelf-nm NM=/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/arm--netbsdelf-nm MKTEMP=/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/nbmktemp /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/nblorder h_initfini3_dso.pico h_initfini_align.pico | /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/nbtsort -q`
#     build  dso/h_initfini3_dso.so.1
rm -f h_initfini3_dso.so.1
/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/arm--netbsdelf-c++  -shared -Wl,-soname,h_initfini3_dso.so.1  -Wl,--warn-shared-textrel -Wl,-Map=h_initfini3_dso.so.1.map   --sysroot=/var/lib/laminar/run/netbsd-acorn32-arm/4/dest-acorn32-arm -Wl,--warn-shared-textrel  -o h_initfini3_dso.so.1.tmp  -Wl,-rpath,/usr/tests/lib/csu  -L=/usr/tests/lib/csu -Wl,-x  -Wl,--whole-archive h_initfini3_dso_pic.a  -Wl,--no-whole-archive  
/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/lib/gcc/arm--netbsdelf/9.3.0/../../../../arm--netbsdelf/bin/ld: warning: creating a DT_TEXTREL in a shared object
mv -f h_initfini3_dso.so.1.tmp h_initfini3_dso.so.1
ln -sf h_initfini3_dso.so.1 h_initfini3_dso.so.tmp
mv -f h_initfini3_dso.so.tmp h_initfini3_dso.so
#    create  csu/Atffile
rm -f .gdbinit
echo "set solib-absolute-prefix /var/lib/laminar/run/netbsd-acorn32-arm/4/dest-acorn32-arm" > .gdbinit
#   compile  csu/h_ifunc_static.o
/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/arm--netbsdelf-gcc -O2 -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  -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wsign-compare -Wformat=2  -Wno-format-zero-length  -Werror -Wno-missing-noreturn     -fPIE  -msoft-float    --sysroot=/var/lib/laminar/run/netbsd-acorn32-arm/4/dest-acorn32-arm -DCHECK_STACK_ALIGNMENT -I/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu/..
 /.. -Wp,-iremap,/var/lib/laminar/run/netbsd-acorn32-arm/4/dest-acorn32-arm: -Wp,-fno-canonical-system-headers -Wp,-iremap,/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src:/usr/src -Wp,-iremap,/usr/xsrc:/usr/xsrc  -c    /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu/h_ifunc_static.c -o h_ifunc_static.o
/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/lib/gcc/arm--netbsdelf/9.3.0/../../../../arm--netbsdelf/bin/as: symbol type STT_GNU_IFUNC is unsupported
/tmp/ccsp96LO.s: Assembler messages:
/tmp/ccsp96LO.s: Fatal error: can't close h_ifunc_static.o: sorry, cannot handle this file

*** Failed target:  h_ifunc_static.o
*** Failed command: /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/arm--netbsdelf-gcc -O2 -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 -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wsign-compare -Wformat=2 -Wno-format-zero-length -Werror -Wno-missing-noreturn -fPIE -msoft-float --sysroot=/var/lib/laminar/run/netbsd-acorn32-arm/4/dest-acorn32-arm -DCHECK_STACK_ALIGNMENT -I/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu/../
 .. -Wp,-iremap,/var/lib/laminar/run/netbsd-acorn32-arm/4/dest-acorn32-arm: -Wp,-fno-canonical-system-headers -Wp,-iremap,/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src:/usr/src -Wp,-iremap,/usr/xsrc:/usr/xsrc -c /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu/h_ifunc_static.c -o h_ifunc_static.o
*** Error code 1

Stop.
nbmake[8]: stopped in /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu

*** Failed target:  dependall
*** Failed command: cd "/var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/tests/lib/csu"; /var/lib/laminar/run/netbsd-acorn32-arm/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/nbmake realall
*** Error code 1

Stop.


>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index