[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MacOS X 10.5 and -export-symbols-regex
From: |
Peter O'Gorman |
Subject: |
Re: MacOS X 10.5 and -export-symbols-regex |
Date: |
Mon, 11 Feb 2008 09:32:50 -0600 |
User-agent: |
Thunderbird 2.0.0.9 (X11/20071115) |
Joe Orton wrote:
> We've had a report for Apache httpd that use of -export-symbols-regex is
> causing the produced DSO to be unusable with OS X 10.5.1. This was with
> libtool 1.5.22:
>
> http://issues.apache.org/bugzilla/show_bug.cgi?id=44384
>
> I've CC'ed Giuliano, the reporter. Can anybody help? The module in
> question, mod_ssl, is linked using
>
> -module -avoid-version ... -export-symbols-regex ssl_module
>
> (to avoid exporting anything other than the DSO entry point)
>
(Still waiting for bugzilla password to arrive - will paste this into
the bug when it does).
I have had other reports of this, and changed libtool in 1.5.26 and HEAD
to use ld's -exported_symbols_list flag if it is available, instead of
a separate invocation of nmedit. In one case this fixed the problem.
I have not had time to reproduce on my own system to gather enough
information to file a bug with Apple - a trivial test case I tried a
month or two ago worked fine with nmedit being used to limit the
exported symbols.
I will try to find the time to investigate, in the meantime, either
remove the exported symbol limiting on darwin (ugh.) or try with latest
libtool-1.5.26.
Peter
--
Peter O'Gorman
http://pogma.com