From owner-freebsd-alpha Fri Feb 15 15:26:58 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from felix.cheetahusa.net (felix.cheetahusa.net [216.133.11.108]) by hub.freebsd.org (Postfix) with ESMTP id 16B7B37B405 for ; Fri, 15 Feb 2002 15:26:48 -0800 (PST) Received: from falcon (falcon.cheetahusa.net [192.168.10.139]) by felix.cheetahusa.net (8.11.6/8.11.6) with SMTP id g1FNQjf52141 for ; Fri, 15 Feb 2002 15:26:46 -0800 (PST) (envelope-from craig@CheetahUSA.net) From: "Craig Burgess" To: "alpha" Subject: problem: "CFLAG -o2" set somewhere Date: Fri, 15 Feb 2002 15:27:20 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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