Received: (qmail 21919 invoked by uid 2012); 28 Feb 1999 16:35:26 -0000 Message-Id: <19990228163526.21918.qmail@hyperreal.org> Date: 28 Feb 1999 16:35:26 -0000 From: Peter Urban Reply-To: Peter.Urban@epfl.ch To: apbugs@hyperreal.org Subject: build problem related to position independent code (PIC) X-Send-Pr-Version: 3.2 >Number: 3977 >Category: os-solaris >Synopsis: build problem related to position independent code (PIC) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sun Feb 28 08:40:01 PST 1999 >Closed-Date: Fri Sep 15 13:41:16 PDT 2000 >Last-Modified: Fri Sep 15 13:41:16 PDT 2000 >Originator: Peter.Urban@epfl.ch >Release: 1.3.4 >Organization: >Environment: uname -a: SunOS lsesun14 5.6 Generic sun4u sparc SUNW,Ultra-1 Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/specs gcc version 2.8.1 >Description: I tried to build Apache with some extra modules, not included by default. A call to 'ar' failed, because the Global Offset Table used by Position Independent Code was full. See the explanation of the compiler switches -fpic and -fPIC in the gcc documentation, e.g. at http://castor.epfl.ch/asis/GNU.LANG/gcc-2.8.1/gcc_2.html#SEC19 . >How-To-Repeat: config.status: ./configure \ "--with-layout=GNU" \ "--prefix=/users/wwwtemp/Tools/apache" \ "--enable-rule=SHARED_CORE" \ "--enable-module=so" \ "--enable-module=proxy" \ "--enable-module=rewrite" \ "$@" >Fix: I modified the configure script to have the compiler switch -fPIC instead of -fPIC. Either -fPIC should be the default for the sparc-solaris architecture (and possibly others), or there should be a configure option to replace -fpic by -fPIC. >Release-Note: >Audit-Trail: From: "Ralf S. Engelschall" To: apbugs@apache.org Cc: Subject: Re: os-solaris/3977: build problem related to position independent code (PIC) Date: Wed, 10 Mar 1999 14:37:58 +0100 In article <19990228163526.21918.qmail@hyperreal.org> you wrote: > >[...] >>Synopsis: build problem related to position independent code (PIC) >[...] We've now switched to -fPIC for Solaris2 and SunOS4 for Apache 1.3.5. Thanks for your feedback. Ralf S. Engelschall rse@engelschall.com www.engelschall.com State-Changed-From-To: open-closed State-Changed-By: slive State-Changed-When: Fri Sep 15 13:41:12 PDT 2000 State-Changed-Why: Fixed by RSE but not closed. >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]