[Bug 262857] x11-servers/xorg-server: illegal instruction on i386
| Newsgroups | gmane.os.freebsd.devel.x11 |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262857 --- Comment #5 from Jan Beich <[email protected]> --- (In reply to Robert Clausecker from comment #4) Setting CPUTYPE via make.conf(5) has the same effect. -Dsse2=false in mesa-* simply removes -msse2 -mfpmath=sse. FreeBSD i386 uses Clang, so -msse2 implies -mfpmath=sse while -march=pentium4 or greater implies -msse2. $ cc -msse2 -mfpmath=387 -dM -E -</dev/null | fgrep SSE2 error: the '387' unit is not supported with this instruction set $ cc -march=pentium4 -dM -E -</dev/null | fgrep SSE2 #define __SSE2_MATH__ 1 // aka -mfpmath=sse #define __SSE2__ 1 // aka -msse2 $ gcc12 -march=pentium4 -dM -E -</dev/null | fgrep SSE2 #define __SSE2__ 1 // aka -msse2 -- You are receiving this mail because: You are the assignee for the bug.