[Bug 263019] lang/gcc10 build fails with Illegal instruction
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 Apr 2022 21:56:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263019 Bug ID: 263019 Summary: lang/gcc10 build fails with Illegal instruction Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: gerald@FreeBSD.org Reporter: shurd@FreeBSD.org Assignee: gerald@FreeBSD.org Flags: maintainer-feedback?(gerald@FreeBSD.org) Created attachment 232910 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=232910&action=edit Last boot (pending rebot to latest patch level) When building lang/gcc10 on a Xeon D-1587, the build fails at: /usr/ports/lang/gcc10/work/.build/./gcc/xgcc -B/usr/ports/lang/gcc10/work/.build/./gcc/ -B/usr/local/x86_64-portbld-freebsd13.0/bin/ -B/usr/local/x86_64-portbld-freebsd13.0/lib/ -isystem /usr/local/x86_64-portbld-freebsd13.0/include -isystem /usr/local/x86_64-portbld-freebsd13.0/sys-include -fno-checking -g -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -m32 -O2 -g -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wno-format -Wstrict-prototypes -Wmissing-prototypes -Wno-error=format-diag -Wold-style-definition -isystem ./include -fpic -pthread -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fpic -pthread -I. -I. -I../../.././gcc -I/usr/ports/lang/gcc10/work/gcc-10.3.0/libgcc -I/usr/ports/lang/gcc10/work/gcc-10.3.0/libgcc/. -I/usr/ports/lang/gcc10/work/gcc-10.3.0/libgcc/../gcc -I/usr/ports/lang/gcc10/work/gcc-10.3.0/libgcc/../include -DHAVE_CC_TLS -o _mulxc3.o -MT _mulxc3.o -MD -MP -MF _mulxc3.dep -DL_mulxc3 -c /usr/ports/lang/gcc10/work/gcc-10.3.0/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS during RTL pass: expand /usr/ports/lang/gcc10/work/gcc-10.3.0/libgcc/libgcc2.c: In function '__mulxc3': /usr/ports/lang/gcc10/work/gcc-10.3.0/libgcc/libgcc2.c:1989:10: internal compiler error: Illegal instruction 1989 | if (isinf (a) || isinf (b)) | ^ no stack trace because unwind library not available This appears to be related to floating point in some way. I've tried with and without the bootstrap method. CPU is: CPU: Intel(R) Xeon(R) CPU D-1587 @ 1.70GHz (1700.03-MHz K8-class CPU) Origin="GenuineIntel" Id=0x50664 Family=0x6 Model=0x56 Stepping=4 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x7ffefbff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI, XSAVE,OSXSAVE,AVX,F16C,RDRAND> AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM> AMD Features2=0x121<LAHF,ABM,Prefetch> Structured Extended Features=0x21cbfbb<FSGSBASE,TSCADJ,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,PQM,NFPUSG,PQE,RDSEED,ADX,SMAP,PROCTRACE> XSAVE Features=0x1<XSAVEOPT> VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr TSC: P-state invariant, performance statistics A full MAKE_JOBS_UNSAFE build log should usually be fetchable from http://home.bbsdev.net/tmp/buildlog.txt Attaching dmesg.boot -- You are receiving this mail because: You are the assignee for the bug.