From nobody@hyperreal.com Sun Jun 8 13:31:38 1997 Received: (from nobody@localhost) by hyperreal.com (8.8.5/8.8.5) id NAA27428; Sun, 8 Jun 1997 13:31:38 -0700 (PDT) Message-Id: <199706082031.NAA27428@hyperreal.com> Date: Sun, 8 Jun 1997 13:31:38 -0700 (PDT) From: Eric Roberts Reply-To: eric@human.com To: apbugs@hyperreal.com Subject: http_bprintf.c error with ' -K noinline ' X-Send-Pr-Version: 3.2 >Number: 695 >Category: config >Synopsis: http_bprintf.c error with ' -K noinline ' >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sun Jun 8 13:40:01 1997 >Last-Modified: Thu Jul 3 22:01:00 PDT 1997 >Originator: eric@human.com >Organization: >Release: 1.2 and 2.0 >Environment: SCO OpenServer5 gcc uname -a= SCO_SV egor 3.2 2 i386 >Description: This is how far it gets # make gcc -c -O2 -DSCO5 alloc.c gcc -c -O2 -DSCO5 http_main.c gcc -c -O2 -DSCO5 http_core.c gcc -c -O2 -DSCO5 http_config.c gcc -c -O2 -DSCO5 http_request.c gcc -c -O2 -DSCO5 http_log.c gcc -c -O2 -DSCO5 http_protocol.c gcc -c -O2 -DSCO5 rfc1413.c gcc -c -O2 -DSCO5 util.c gcc -c -O2 -DSCO5 util_script.c gcc -c -O2 -DSCO5 modules.c gcc -c -O2 -DSCO5 buff.c gcc -c -O2 -DSCO5 md5c.c gcc -c -O2 -DSCO5 util_md5.c gcc -c -O2 -DSCO5 explain.c gcc -c -O2 -DSCO5 -K noinline http_bprintf.c gcc: noinline: No such file or directory gcc: unrecognized option `-K' make: *** [http_bprintf.o] Error 1 >How-To-Repeat: >Fix: I took out the -K and still noinline was not found. I did a find / -print | grep noinline and found nothing with noinline anywhere Can you help? I've gotten this error with two of your versions. Thankyou.. >Audit-Trail: State-Changed-From-To: open-analyzed State-Changed-By: marc State-Changed-When: Sun Jun 8 15:44:49 PDT 1997 State-Changed-Why: Sent user patch to try. From: Marc Slemko To: Eric Roberts Subject: Re: config/695: http_bprintf.c error with ' -K noinline ' Date: Sun, 8 Jun 1997 16:45:08 -0600 (MDT) On Sun, 8 Jun 1997, Eric Roberts wrote: > gcc -c -O2 -DSCO5 -K noinline http_bprintf.c > gcc: noinline: No such file or directory > gcc: unrecognized option `-K' > make: *** [http_bprintf.o] Error 1 > >How-To-Repeat: > > >Fix: > I took out the -K and still noinline was not found. > I did a find / -print | grep noinline > and found nothing with noinline anywhere > Can you help? I've gotten this error with two of your versions. Thankyou.. You will need to remove the whole "-K noinline" bit. It is there to workaround a bug in SCO's compiler; since you are using gcc, it chokes. Try applying the following patch to Configure, then rerunning Configure and remaking. Index: Configure =================================================================== RCS file: /export/home/cvs/apache/src/Configure,v retrieving revision 1.96 diff -c -r1.96 Configure *** Configure 1997/05/13 00:20:30 1.96 --- Configure 1997/06/08 22:42:30 *************** *** 359,365 **** OS='SCO 5' CFLAGS="$CFLAGS -DSCO5" LIBS="$LIBS -lsocket -lmalloc -lprot" ! OSBPRINTF="-K noinline" DEF_WANTHSREGEX=no ;; *-solaris2*) --- 359,367 ---- OS='SCO 5' CFLAGS="$CFLAGS -DSCO5" LIBS="$LIBS -lsocket -lmalloc -lprot" ! if [ "$CC" = "cc" ] || [ "$COMPILER" = "cc" ]; then ! OSBPRINTF="-K noinline" ! fi DEF_WANTHSREGEX=no ;; *-solaris2*) State-Changed-From-To: analyzed-closed State-Changed-By: marc State-Changed-When: Thu Jul 3 22:01:00 PDT 1997 State-Changed-Why: No response from user; if you specify gcc in the CC line in Configuration, you will still have to remove the -K noinline bit, but if Apache picks gcc because it likes it, as of the soon-to-be-released v1.2.1 it will properly deal with this issue. >Unformatted: