On Fri, Jun 06, 2003 at 04:43:36AM +0200, Sascha Schumann wrote:
>     Did you verify that libtool passed the flag to the linker?
>     You can achieve that by removing --silent from the respective
>     Makefile.

I believe the flag is passed to the linker. I adapted build/config_vars.mk
# diff build/config_vars.mk build/config_vars.mk.org
94c94
< LTFLAGS =
---
> LTFLAGS = --silent
#
and did a make clean && make. The verbatim link lines for httpd are
appended below. Seems as if "-static-libgcc" is really passed on to gcc.

- harry

[...]
/bin/bash /export/home/package/httpd_cache/httpd-2.0.46/srclib/apr/libtool
--mode=link gcc  -pthreads  -static-libgcc  -DSOLARIS2=8
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DAP_HAVE_DESIGNATED_INITIALIZER
-I/export/home/package/httpd_cache/httpd-2.0.46/srclib/apr/include
-I/export/home/package/httpd_cache/httpd-2.0.46/srclib/apr-util/include
-I/export/home/package/httpd_cache/httpd-2.0.46/srclib/apr-util/xml/expat/lib
-I. -I/export/home/package/httpd_cache/httpd-2.0.46/os/unix
-I/export/home/package/httpd_cache/httpd-2.0.46/server/mpm/prefork
-I/export/home/package/httpd_cache/httpd-2.0.46/modules/http
-I/export/home/package/httpd_cache/httpd-2.0.46/modules/filters
-I/export/home/package/httpd_cache/httpd-2.0.46/modules/proxy
-I/export/home/package/httpd_cache/httpd-2.0.46/include
-I/export/home/package/httpd_cache/httpd-2.0.46/modules/dav/main
-export-dynamic
-L/export/home/package/httpd_cache/httpd-2.0.46/srclib/apr-util/xml/expat/lib
-o httpd  modules.lo  modules/aaa/mod_access.la
modules/cache/mod_file_cache.la modules/experimental/mod_cache.la
modules/experimental/mod_disk_cache.la
modules/experimental/mod_mem_cache.la
modules/loggers/mod_log_config.la modules/metadata/mod_setenvif.la
modules/proxy/mod_proxy.la modules/proxy/mod_proxy_connect.la
modules/proxy/mod_proxy_ftp.la modules/proxy/mod_proxy_http.la
modules/http/mod_http.la modules/generators/mod_status.la
server/mpm/prefork/libprefork.la server/libmain.la os/unix/libos.la
/export/home/package/httpd_cache/httpd-2.0.46/srclib/pcre/libpcre.la
/export/home/package/httpd_cache/httpd-2.0.46/srclib/apr-util/libaprutil-0.la
/export/home/package/httpd_cache/httpd-2.0.46/srclib/apr-util/xml/expat/lib/libexpat.la
/export/home/package/httpd_cache/httpd-2.0.46/srclib/apr/libapr-0.la
-lrt -lm -lsocket -lnsl -lresolv -ldl
gcc -pthreads -static-libgcc -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS
-D_REENTRANT -DAP_HAVE_DESIGNATED_INITIALIZER
-I/export/home/package/httpd_cache/httpd-2.0.46/srclib/apr/include
-I/export/home/package/httpd_cache/httpd-2.0.46/srclib/apr-util/include
-I/export/home/package/httpd_cache/httpd-2.0.46/srclib/apr-util/xml/expat/lib
-I. -I/export/home/package/httpd_cache/httpd-2.0.46/os/unix
-I/export/home/package/httpd_cache/httpd-2.0.46/server/mpm/prefork
-I/export/home/package/httpd_cache/httpd-2.0.46/modules/http
-I/export/home/package/httpd_cache/httpd-2.0.46/modules/filters
-I/export/home/package/httpd_cache/httpd-2.0.46/modules/proxy
-I/export/home/package/httpd_cache/httpd-2.0.46/include
-I/export/home/package/httpd_cache/httpd-2.0.46/modules/dav/main
-o .libs/httpd .libs/modules.o
-L/export/home/package/httpd_cache/httpd-2.0.46/srclib/apr-util/xml/expat/lib
modules/aaa/.libs/mod_access.a modules/cache/.libs/mod_file_cache.a
modules/experimental/.libs/mod_cache.a
modules/experimental/.libs/mod_disk_cache.a
modules/experimental/.libs/mod_mem_cache.a
modules/loggers/.libs/mod_log_config.a
modules/metadata/.libs/mod_setenvif.a
modules/proxy/.libs/mod_proxy.a modules/proxy/.libs/mod_proxy_connect.a
modules/proxy/.libs/mod_proxy_ftp.a modules/proxy/.libs/mod_proxy_http.a
modules/http/.libs/mod_http.a modules/generators/.libs/mod_status.a
server/mpm/prefork/.libs/libprefork.a
server/.libs/libmain.a os/unix/.libs/libos.a
/export/home/package/httpd_cache/httpd-2.0.46/srclib/pcre/.libs/libpcre.a
/export/home/package/httpd_cache/httpd-2.0.46/srclib/apr-util/.libs/libaprutil-0.so
/export/home/package/httpd_cache/httpd-2.0.46/srclib/apr-util/xml/expat/lib/.libs/libexpat.so
/export/home/package/httpd_cache/httpd-2.0.46/srclib/apr/.libs/libapr-0.so
-lrt -lm -lsocket -lnsl -lresolv -ldl  -R/var/apache2046/lib
creating httpd
make[1]: Leaving directory `/export/home/package/httpd_cache/httpd-2.0.46'

Reply via email to