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 2008/06/23 09:58:09 UTC

DO NOT REPLY [Bug 45253] New: Unable to build httpd on Solaris

https://issues.apache.org/bugzilla/show_bug.cgi?id=45253

           Summary: Unable to build httpd on Solaris
           Product: Apache httpd-2
           Version: 2.2.9
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: asmorgrav@yahoo.no


Building httpd on Solaris aborts with the following error:

/ehc/fs1/home/apache/src/httpd-2.2.9/srclib/apr/libtool --silent --mode=link
gcc   -g -O3 -pthreads -mcpu=ultrasparc3 -m32 -R/u01/opt/lib -L/u01/opt/lib -lm
-o htpasswd  htpasswd.lo   
/ehc/fs1/home/apache/src/httpd-2.2.9/srclib/pcre/libpcre.la
/ehc/fs1/home/apache/src/httpd-2.2.9/srclib/apr-util/libaprutil-1.la -lexpat
/ehc/fs1/home/apache/src/httpd-2.2.9/srclib/apr/libapr-1.la -luuid -lsendfile
-lrt -lsocket -lnsl -lpthread
Undefined                       first referenced
 symbol                             in file
__sync_fetch_and_add_4             
/ehc/fs1/home/apache/src/httpd-2.2.9/srclib/apr/.libs/libapr-1.so
__sync_fetch_and_sub_4             
/ehc/fs1/home/apache/src/httpd-2.2.9/srclib/apr/.libs/libapr-1.so
ld: fatal: Symbol referencing errors. No output written to .libs/htpasswd


The error occurs on both Solaris 8 and Solaris 10. On both systems builtin
atomics are preferred over Solaris atomics


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 45253] Unable to build httpd 2.2.9 on Solaris/SPARC

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45253


Nick Kew <ni...@webthing.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kennylls@hotmail.com




--- Comment #2 from Nick Kew <ni...@webthing.com>  2009-05-24 17:37:13 PST ---
*** Bug 45415 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 45253] Unable to build httpd 2.2.9 on Solaris/SPARC

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45253





--- Comment #3 from Axel-Stephane Smorgrav <as...@yahoo.no>  2009-05-26 09:58:05 PST ---
This bug also affects Apache 2.2.11. I believe it was introduced with the new
version of APR.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 45253] Unable to build httpd 2.2.9 on Solaris/SPARC

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45253





--- Comment #1 from Axel-Stephane Smorgrav <as...@yahoo.no>  2008-06-24 00:43:16 PST ---
The problem may be circumvented by including "-D USE_ATOMICS_GENERIC" in the
CFLAGS prior to running the configure script.

On Solaris 10, one may force the use of Solaris atomics by setting
HAVE_ATOMIC_BUILTINS to 0 in srclib/apr/include/arch/unix/apr_private.h


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 45253] Unable to build httpd 2.2.9 on Solaris/SPARC

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45253


Axel-Stephane Smorgrav <as...@yahoo.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Unable to build httpd on    |Unable to build httpd 2.2.9
                   |Solaris                     |on Solaris/SPARC




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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