NetBSD-Bugs archive

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

port-evbarm/55797: Compiler segfault at memcpy() building libgcc addqq3



>Number:         55797
>Category:       port-evbarm
>Synopsis:       Compiler segfault at memcpy() building libgcc addqq3
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-evbarm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 08 18:55:00 +0000 2020
>Originator:     innes
>Release:        NetBSD-9.1
>Organization:
>Environment:
NetBSD 9.1_STABLE NetBSD 9.1_STABLE (GENERIC) #0: Fri Oct 23 08:41:00 UTC 2020  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC evbarm
>Description:
/usr/pkgsrc-obj/cross/arm-none-eabi-gcc/work/build/./gcc/xgcc -B/usr/pkgsrc-obj/cross/arm-none-eabi-gcc/work/build/./gcc/ -nostdinc -B/usr/pkgsrc-obj/cross/arm-none-eabi-gcc/work/build/arm-none-eabi/newlib/ -isystem /usr/pkgsrc-obj/cross/arm-none-eabi-gcc/work/build/arm-none-eabi/newlib/targ-include -isystem /usr/pkgsrc-obj/cross/arm-none-eabi-gcc/work/gcc-8.3.0/newlib/libc/include -B/usr/pkgsrc-obj/cross/arm-none-eabi-gcc/work/build/arm-none-eabi/libgloss/arm -L/usr/pkgsrc-obj/cross/arm-none-eabi-gcc/work/build/arm-none-eabi/libgloss/libnosys -L/usr/pkgsrc-obj/cross/arm-none-eabi-gcc/work/gcc-8.3.0/libgloss/arm -B/usr/pkg/cross-arm-none-eabi/arm-none-eabi/bin/ -B/usr/pkg/cross-arm-none-eabi/arm-none-eabi/lib/ -isystem /usr/pkg/cross-arm-none-eabi/arm-none-eabi/include -isystem /usr/pkg/cross-arm-none-eabi/arm-none-eabi/sys-include    -g -O2 -O2  -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes 
 -Wold-style-definition  -isystem ./include   -fno-inline -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc  -fno-inline -I. -I. -I../.././gcc -I/usr/pkgsrc-obj/cross/arm-none-eabi-gcc/work/gcc-8.3.0/libgcc -I/usr/pkgsrc-obj/cross/arm-none-eabi-gcc/work/gcc-8.3.0/libgcc/. -I/usr/pkgsrc-obj/cross/arm-none-eabi-gcc/work/gcc-8.3.0/libgcc/../gcc -I/usr/pkgsrc-obj/cross/arm-none-eabi-gcc/work/gcc-8.3.0/libgcc/../include  -DHAVE_CC_TLS  -o _fixsfdi.o -MT _fixsfdi.o -MD -MP -MF _fixsfdi.dep -DL_fixsfdi -c /usr/pkgsrc-obj/cross/arm-none-eabi-gcc/work/gcc-8.3.0/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
/usr/pkgsrc-obj/cross/arm-none-eabi-gcc/work/gcc-8.3.0/libgcc/fixed-bit.c: In function '__gnu_addqq3':
/usr/pkgsrc-obj/cross/arm-none-eabi-gcc/work/gcc-8.3.0/libgcc/fixed-bit.c:63:3: internal compiler error: Segmentation fault
   memcpy (&x, &a, FIXED_SIZE);
   ^~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
gmake[4]: *** [/usr/pkgsrc-obj/cross/arm-none-eabi-gcc/work/gcc-8.3.0/libgcc/fixed-obj.mk:27: _addQQ.o] Error 1
gmake[4]: Leaving directory '/usr/pkgsrc-obj/cross/arm-none-eabi-gcc/work/build/arm-none-eabi/thumb/libgcc'
gmake[3]: *** [Makefile:1201: multi-do] Error 1
gmake[3]: Leaving directory '/usr/pkgsrc-obj/cross/arm-none-eabi-gcc/work/build/arm-none-eabi/libgcc'
gmake[2]: *** [Makefile:125: all-multi] Error 2
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory '/usr/pkgsrc-obj/cross/arm-none-eabi-gcc/work/build/arm-none-eabi/libgcc'
gmake[1]: *** [Makefile:12730: all-target-libgcc] Error 2
gmake[1]: Leaving directory '/usr/pkgsrc-obj/cross/arm-none-eabi-gcc/work/build'
gmake: *** [Makefile:900: all] Error 2
*** Error code 2

Stop.
make[2]: stopped in /usr/pkgsrc/cross/arm-none-eabi-gcc
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/cross/arm-none-eabi-gcc
*** Error code 1

>How-To-Repeat:
Try to build /usr/pkgsrc/cross/arm-none-eabi-gcc
>Fix:



Home | Main Index | Thread Index | Old Index