Sunday, July 19, 2009
I got an error doing Buildworld in s_fma.c which caused an error code 1 stop on an AMD64 build on a quad EM64T Xeon Cranford-based IBM x366.
The compile flags I used were: CFLAGS= -O2 -fno-strict-aliasing -pipe -funroll-loops -ffast-math
/usr/src/lib/msun/src/s_fma.c:187: error: unrecognizable insn:
(insn 439 438 440 54 (parallel [
(set (reg:SI 168)
(fix:SI (reg:XF 171)))
(clobber (reg:CC 17 flags))
]) -1 (nil)
(nil))
Change the flags to: CFLAGS= -O2 -fno-strict-aliasing -pipe -funroll-loops -Wall
Build world runs to completion. -O2 sets most of the go-fast options anyway and AMD64 builds turn on more by default. The x366 runs nice and fast.
Leave a Reply
You must be logged in to post a comment.