Date: Fri, 15 Feb 2002 15:27:20 -0800 From: "Craig Burgess" <craig@CheetahUSA.net> To: "alpha" <FreeBSD-alpha@FreeBSD.org> Subject: problem: "CFLAG -o2" set somewhere Message-ID: <JMEJIDBCLMMNOALABHFFCEKNCKAA.craig@CheetahUSA.net>
next in thread | raw e-mail | index | archive | help
Installing PHP3 (from the "~phg3/work" directory) ================= ===> Building for php3-3.0.18_1 (cd regex; make lib) cc -g -O2 -O2 -I/usr/local/include/ -I. -I. -I/usr/local/include/ -c language-parser.tab.c -o language-parser.tab.o cc -g -O2 -O2 -I/usr/local/include/ -I. -I. -I/usr/local/include/ -w -DYY_USE_CONST -c ./language-scanner.c cc -g -O2 -O2 -I/usr/local/include/ -I. -I. -I/usr/local/include/ -c main.c -o main.o cc -I. -DPOSIX_MISTAKE -g -O2 -O2 -c regfree.c cc -I. -DPOSIX_MISTAKE -g -O2 -O2 -c regcomp.c cc -I. -DPOSIX_MISTAKE -g -O2 -O2 -c regexec.c cc -I. -DPOSIX_MISTAKE -g -O2 -O2 -c regerror.c cc1: warning: *** *** The -O2 flag TRIGGERS KNOWN OPTIMIZER BUGS ON THIS PLATFORM *** ================= I took a look at /etc/defaults/make.conf which looked fine. (I did change it to 'CFLAGS= -O -pipe' ) I thought I'd see if I could figure out where the -o2 flag was comming from and this is all I got: ================= felix# grep -e "-o2" -f * Binary file bin matches Binary file boot matches Binary file compat matches Binary file dev matches Binary file etc matches grep: files: No such file or directory Binary file home matches Binary file kernel matches Binary file kernel.GENERIC matches Binary file kernel.old matches Binary file mnt matches Binary file modules matches Binary file modules.old matches Binary file natd.core matches grep: proc: Operation not supported Binary file root matches Binary file sbin matches Binary file stand matches Binary file sys matches Binary file tmp matches Binary file usr matches Binary file var matches ================= I'm lost. I'm thinking that I didn't drive grep properly here. I didn't see the source of the problem when I looked at /usr/src/Makefile and Makefile.incl (If world was really made with the buggy CFLAG it could account for natd failing spontaneously at seemingly random intervals?) Guidance/suggestions appreciated. (I'm not a programmer) craig To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?JMEJIDBCLMMNOALABHFFCEKNCKAA.craig>