You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/05/20 14:38:41 UTC

DO NOT REPLY [Bug 9247] New: - Apache 2 fails to build on Solaris 64bit Compiler

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9247>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9247

Apache 2 fails to build on Solaris 64bit Compiler

           Summary: Apache 2 fails to build on Solaris 64bit Compiler
           Product: Apache httpd-2.0
           Version: 2.0.36
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: peter.eggimann@switzerland.org


Hi

I have the following configuration:

- Sun Netra X1
- Solaris 9EA
- gcc 3.1 in 64bit mode
- apache 2.0.36

When trying to build the binaries I do the following:

./configure --prefix=/usr/local/apache2

This creates the Makefiles and prepares everething. But when compiling, I get 
an error in the directory:

srclib/apr/atomic/solaris_sparc

The error occures while linking. I discovered, that the Makefile in this 
directory contains the following line:

ASFLAGS += -K pic -P -D_ASM -D__STDC__=0 -xarch=v8plus

which forces the assembler to build v8plus code, which can not be linked by the 
64 bit linker. I've changed this line as follows:

ASFLAGS += -K pic -P -D_ASM -D__STDC__=0 -xarch=v9

Whith whis adaption the compilation takes place without errors and apache seems 
to work propperly.

Could you please update the configure script, so that it takes care of the 
solaris 64bit environment.

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org