Date: Sat, 02 Apr 2022 21:56:34 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 263019] lang/gcc10 build fails with Illegal instruction Message-ID: <bug-263019-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263019 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=3D232910&action= =3Dedit 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 -p= ipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -m32 -O2 -g = -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DIN_= GCC=20 -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=3Dformat-d= iag -Wno-format -Wstrict-prototypes -Wmissing-prototypes -Wno-error=3Dformat-di= ag -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=3Dhidden -DHIDE_EXPORTS during RTL pass: expand /usr/ports/lang/gcc10/work/gcc-10.3.0/libgcc/libgcc2.c: In function '__mulx= c3': /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=3D"GenuineIntel" Id=3D0x50664 Family=3D0x6 Model=3D0x56 Steppi= ng=3D4 =20 Features=3D0xbfebfbff<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> =20 Features2=3D0x7ffefbff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSS= E3,SDBG,FMA,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDL= T,AESNI, XSAVE,OSXSAVE,AVX,F16C,RDRAND> AMD Features=3D0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM> AMD Features2=3D0x121<LAHF,ABM,Prefetch> Structured Extended Features=3D0x21cbfbb<FSGSBASE,TSCADJ,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,R= TM,PQM,NFPUSG,PQE,RDSEED,ADX,SMAP,PROCTRACE> XSAVE Features=3D0x1<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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263019-7788>