Re: buildworld error 8.2-STABLE amd64
I ran into this same error on 9.2-Release doing a buildworld.
in /etc/make.conf I had:
# -O3 can cause older programs to NOT compile, set to -O2 to fix problems
CFLAGS= -O3 -pipe -funroll-loops
COPTFLAGS= -O2 -pipe -funroll-loops
NO_PROFILE=true
BUILD_OPTIMIZED=YES
BUILD_STATIC=YES
WITHOUT_DEBUG=YES
#turn off graphic for server
WITHOUT_X11=YES
WITHOUT_FONTCONFIG=YES
OPTIONS_UNSET=X11
SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
##### end of /etc/make.conf
I changed -O3 to -O2 and buildworld completed successfully.
CFLAGS= -O2 -pipe -funroll-loops
討論串 (同標題文章)
完整討論串 (本文為第 6 之 6 篇):