httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 50152] Problem with mpm worker on 64bit platform!
Date Tue, 26 Oct 2010 12:09:48 GMT

--- Comment #1 from Rainer Jung <> 2010-10-26 08:09:44 EDT ---
The symbol should be in libmain.a. I describe the steps how it gets there and
you can check step by step, where we have lost it.

First the symbol should be im mpm_common.o. You should find the file inside
your build tree in server/mpm_common.o. To verify, whether the symbol is in
there, you can type

% nm server/mpm_common.o | grep ap_thread_stacksize
0000000000000020 B ap_thread_stacksize

If it is not, please provide the result of that command and also the line in
your make output, that contain "mpm_common". It should be similar to:

/usr/local/src/httpd-2.2.17/srclib/apr/libtool --silent --mode=compile gcc
-I/usr/local/src/httpd-2.2.17/srclib/pcre -I.
-I/usr/local/src/httpd-2.2.17/server/mpm/worker ...  -prefer-non-pic -static -c
mpm_common.c && touch mpm_common.lo

Now when linking libmain.a, the symbol should become part of that:

% nm ./server/.libs/libmain.a|grep ap_thread_stacksize
0000000000000020 B ap_thread_stacksize

The make output for linking libmain was:

/usr/local/src/httpd-2.2.17/srclib/apr/libtool --silent --mode=link gcc
-pthread -I/usr/local/src/httpd-2.2.17/srclib/pcre      -o -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

and you can see the mpm_common.lo.

When looking closer at your make output snippet, I suspect that you have a
confusion between the contents of /usr/local/apache/include and the include
files provided by your 2.2.17 source in /usr/local/src/httpd-2.2.17.
Furthermore I wonder why libtool in /usr/local/apache/build/libtool is being
used and apr and apr-util in /usr/local/apache/lib.

You might want to temporarily remove your whole /usr/local/apache to build the
new version without any dependencies to your old one.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message