This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [build, doc, v3] Support Sun symbol versioning in libstdc++-v3, rev. 2



On 2 Jul 2010, at 13:29, Rainer Orth wrote:


IainS <developer@sandoe-acoustics.co.uk> writes:

On the other hand, that script should only be used if
LIBSSP_USE_SYMVER_SUN, which has no business being defined on Darwin.

indeed .

That's bad. I suppose the Darwin ld either silently accepts/ignores -M
or it has a different meaning there which happens to have no ill effect.

hm darwin more usually barfs on things - unless they are BSD compatibility flags...


I don't know exactly what you're trying to achieve...
... Darwin has it's own library versioning system, but not symbol versioning, per se
[I guess it could be achieved with two-level namespaces, but I don't think anyone is proposing to add that to darwin's gcc port at the moment].


the manual pages for Darwin ld:
http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/ld.1.html

Could you please check the configure output for `whether symbol
versioning is supported'? It should be no on Darwin. Otherwise, please
have a look at libssp/config.log to see what's going on there.

bootstrap is running with 161706, do I need to apply the patch at: http://gcc.gnu.org/ml/gcc-patches/2010-07/msg00131.html

Shouldn't be necessary since Darwin has no GNU-style symbol versioning,
AFAIK.

OK. I'll let you know how it goes :) Iain


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]