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 2009/01/05 05:22:12 UTC

DO NOT REPLY [Bug 46475] New: build warnings.

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

           Summary: build warnings.
           Product: Apache httpd-2
           Version: 2.2.11
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: manimeg@hotmail.com


Hello,
      I am trying to build apache 2.2.11 from the source code and receiving few
warnings. I an using sun studio express for cross compiling.

env variables:

PATH=./:/opt/java/bin:/opt/SUNWspro/bin:/opt/SUNWspro/sfw/bin:/usr/local/bin:/usr/ccs/bin:/export/home/apache22/bin:/export/home/apache22/build:/usr/sfw/share/aclocal/bin:/opt/dps/bin:/opt/dps/sbin:/usr/bin:/bin:/usr/ucb:/usr/local/bin:/usr/local/sbin:/usr/local/cox/bin:/usr/local/cox/sbin:/usr/sbin:/sbin:/usr/X11/bin:/usr/dt/bin:/usr/openwin/bin:/usr/sfw/bin:/usr/sfw/sbin:/opt/csw/bin:/opt/csw/sbin:/opt/sfw/bin:/opt/sfw/sbin:/usr/platform/SUNW,Sun-Fire-T1000/sbin

compiler options:

CC="cc -g -fast -mt -xtarget=ultra3 -m32 -xarch=sparcvis -fns -fsimple
-xprefetch -xrestrict -xa
lias_level=std -xipo -xpagesize=64K -D_REENTRANT -lpthread" CFLAGS="-xO5
-xlibmil -xdepend" CXXFLAGS="-xO5 -xlibmil" CCFLAGS="-xM1"
 ./configure --prefix=/export/home/apache/ --with-included-apr --with-port=80
--with-mpm=worker --enable-thread --enable-modules=al
l --enable-mods-shared=most --enable-so --enable-laguages=c,c++; make

Warning received while executing configure script.

checking for netinet/in.h... yes
checking netinet/sctp.h usability... no
checking netinet/sctp.h presence... yes
configure: WARNING: netinet/sctp.h: present but cannot be compiled
configure: WARNING: netinet/sctp.h:     check for missing prerequisite headers?
configure: WARNING: netinet/sctp.h: see the Autoconf documentation
configure: WARNING: netinet/sctp.h:     section "Present But Cannot Be
Compiled"
configure: WARNING: netinet/sctp.h: proceeding with the preprocessor's result
configure: WARNING: netinet/sctp.h: in the future, the compiler will take
precedence
checking for netinet/sctp.h... yes
checking netinet/sctp_uio.h usability... no
checking netinet/sctp_uio.h presence... no
checking for netinet/sctp_uio.h... no

configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir
setting
config.status: creating lib/Makefile
config.status: WARNING:  'lib/Makefile.in' seems to ignore the --datarootdir
setting
config.status: creating lib/expat.h
config.status: creating config.h

Warning received while doing make:

/bin/bash /var/tmp/apache_src/httpd-2.2.11/srclib/apr/libtool --silent
--mode=compile cc -g -fast -mt -xtarget=ultra3 -m32 -xarch=sparcvis -fns
-fsimple -xprefetch -xrestrict -xalias_level=std -xipo -xpagesize=64K
-D_REENTRANT -lpthread   -xO5 -xlibmil -xdepend -DHAVE_CONFIG_H -DSOLARIS2=10
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE   -I./include
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include/arch/unix
-I./include/arch/unix
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include/arch/unix
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include  -o random/unix/sha2.lo
-c random/unix/sha2.c && touch random/unix/sha2.lo
/bin/bash /var/tmp/apache_src/httpd-2.2.11/srclib/apr/libtool --silent
--mode=compile cc -g -fast -mt -xtarget=ultra3 -m32 -xarch=sparcvis -fns
-fsimple -xprefetch -xrestrict -xalias_level=std -xipo -xpagesize=64K
-D_REENTRANT -lpthread   -xO5 -xlibmil -xdepend -DHAVE_CONFIG_H -DSOLARIS2=10
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE   -I./include
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include/arch/unix
-I./include/arch/unix
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include/arch/unix
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include  -o shmem/unix/shm.lo -c
shmem/unix/shm.c && touch shmem/unix/shm.lo
"shmem/unix/shm.c", line 87: warning: statement not reached
"shmem/unix/shm.c", line 218: warning: statement not reached
"shmem/unix/shm.c", line 365: warning: statement not reached
"shmem/unix/shm.c", line 424: warning: statement not reached
"shmem/unix/shm.c", line 455: warning: statement not reached
"shmem/unix/shm.c", line 573: warning: statement not reached
/bin/bash /var/tmp/apache_src/httpd-2.2.11/srclib/apr/libtool --silent
--mode=compile cc -g -fast -mt -xtarget=ultra3 -m32 -xarch=sparcvis -fns
-fsimple -xprefetch -xrestrict -xalias_level=std -xipo -xpagesize=64K
-D_REENTRANT -lpthread   -xO5 -xlibmil -xdepend -DHAVE_CONFIG_H -DSOLARIS2=10
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE   -I./include
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include/arch/unix
-I./include/arch/unix
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include/arch/unix
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include  -o
support/unix/waitio.lo -c support/unix/waitio.c && touch support/unix/waitio.lo
/bin/bash /var/tmp/apache_src/httpd-2.2.11/srclib/apr/libtool --silent
--mode=compile cc -g -fast -mt -xtarget=ultra3 -m32 -xarch=sparcvis -fns
-fsimple -xprefetch -xrestrict -xalias_level=std -xipo -xpagesize=64K
-D_REENTRANT -lpthread   -xO5 -xlibmil -xdepend -DHAVE_CONFIG_H -DSOLARIS2=10
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE   -I./include
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include/arch/unix
-I./include/arch/unix
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include/arch/unix
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include  -o
threadproc/unix/procsup.lo -c threadproc/unix/procsup.c && touch
threadproc/unix/procsup.lo

/var/tmp/apache_src/httpd-2.2.11/srclib/apr/libtool --silent --mode=compile cc
-g -fast -mt -xtarget=ultra3 -m32 -xarch=sparcvis -fns -fsimple -xprefetch
-xrestrict -xalias_level=std -xipo -xpagesize=64K -D_REENTRANT -lpthread   -xO5
-xlibmil -xdepend  -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-D_LARGEFILE64_SOURCE    -I/var/tmp/apache_src/httpd-2.2.11/srclib/pcre -I.
-I/var/tmp/apache_src/httpd-2.2.11/os/unix
-I/var/tmp/apache_src/httpd-2.2.11/server/mpm/worker
-I/var/tmp/apache_src/httpd-2.2.11/modules/http
-I/var/tmp/apache_src/httpd-2.2.11/modules/filters
-I/var/tmp/apache_src/httpd-2.2.11/modules/proxy
-I/var/tmp/apache_src/httpd-2.2.11/include
-I/var/tmp/apache_src/httpd-2.2.11/modules/generators
-I/var/tmp/apache_src/httpd-2.2.11/modules/mappers
-I/var/tmp/apache_src/httpd-2.2.11/modules/database
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr-util/include
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr-util/xml/expat/lib
-I/var/tmp/apache_src/httpd-2.2.11/modules/proxy/../generators
-I/var/tmp/apache_src/httpd-2.2.11/modules/ssl
-I/var/tmp/apache_src/httpd-2.2.11/modules/dav/main  -prefer-non-pic -static -c
core_filters.c && touch core_filters.lo
"core_filters.c", line 208: warning: statement not reached
/var/tmp/apache_src/httpd-2.2.11/srclib/apr/libtool --silent --mode=link cc -g
-fast -mt -xtarget=ultra3 -m32 -xarch=sparcvis -fns -fsimple -xprefetch
-xrestrict -xalias_level=std -xipo -xpagesize=64K -D_REENTRANT -lpthread   -xO5
-xlibmil -xdepend      -o libmain.la -static  test_char.h config.lo log.lo
main.lo vhost.lo util.lo util_script.lo util_md5.lo util_cfgtree.lo
util_ebcdic.lo util_time.lo connection.lo listen.lo mpm_common.lo
util_charset.lo util_debug.lo util_xml.lo util_filter.lo util_pcre.lo
exports.lo scoreboard.lo error_bucket.lo protocol.lo core.lo request.lo
provider.lo eoc_bucket.lo core_filters.lo


-- 
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 46475] build warnings.

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


Prem Kuppumani <ma...@hotmail.com> changed:

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




--- Comment #2 from Prem Kuppumani <ma...@hotmail.com>  2009-01-07 16:34:51 PST ---
Also when do a "make" I see these warnings.

/bin/bash /var/tmp/httpd-2.2.11/srclib/apr/libtool --silent --mode=compile cc
-g   -DHAVE_CONFIG_H -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-D_LARGEFILE64_SOURCE   -I./include
-I/var/tmp/httpd-2.2.11/srclib/apr/include/arch/unix -I./include/arch/unix
-I/var/tmp/httpd-2.2.11/srclib/apr/include/arch/unix
-I/var/tmp/httpd-2.2.11/srclib/apr/include  -o shmem/unix/shm.lo -c
shmem/unix/shm.c && touch shmem/unix/shm.lo
"shmem/unix/shm.c", line 87: warning: statement not reached
"shmem/unix/shm.c", line 218: warning: statement not reached
"shmem/unix/shm.c", line 365: warning: statement not reached
"shmem/unix/shm.c", line 424: warning: statement not reached
"shmem/unix/shm.c", line 455: warning: statement not reached
"shmem/unix/shm.c", line 573: warning: statement not reached


-- 
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 46475] build warnings.

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





--- Comment #1 from Jeff Trawick <tr...@apache.org>  2009-01-06 13:34:57 PST ---
It would be nice if SCTP support was recognized on Solaris.  Solaris
netinet/sctp.h fails to compile if sys/socket.h isn't included first.  Maybe
someone could implement a work-around inside APR.  Note that APR exports the
symbol APR_HAVE_NETINET_SCTP_H (0 or 1) to represent whether the header is
usable.  There's no provision for apr-using apps that rely on that symbol to
know that they need to include sys/socket.h first, so they'd need a work-around
too to compile on Solaris if this exported symbol is set to 1.  (Other
platforms with SCTP supported by APR have a netinet/sctp.h file that compiles
on its own.)  This is a platform bug that conceivably APR could work around.

No comments from me about the "seems to ignore the --datarootdir setting"
messages.

The stuff from cc is expected, and not a bug unless there is a clean way with
no side effects to get Sun Studio to be quiet about that working-as-designed
code.


-- 
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 46475] build warnings.

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





--- Comment #3 from Jeff Trawick <tr...@apache.org>  2009-01-07 16:52:52 PST ---
>Also when do a "make" I see these warnings.

Right; that's covered by the third paragraph in my previous update.


-- 
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