Re: [pcre-dev] [Bug 664] ABI breakage in PCRE 7.6

Top Page
Delete this message
Author: Ian Lance Taylor
Date:  
To: Craig Silverstein
CC: pcre-dev, 664
Subject: Re: [pcre-dev] [Bug 664] ABI breakage in PCRE 7.6
csilvers@??? (Craig Silverstein) writes:

> } Hmm, that *is* a problem. I have access to an os x machine, so I'll
> } play around with this next week and see if I can figure out a
> } solution.
>
> Thinking about it more, I vaguely recall reading somewhere that mach-o
> doesn't support aliases (that must be what the "this configuration"
> part of the error message means), so there's no way to get this
> technique to work on os x systems.


I am not an expert on Mach-O, but my reading of the gcc source code is
that aliases are supported, but they have to be weak. That is, unlike
ELF which permits two non-weak symbols to have the same value, Mach-O
apparently permits a weak defined symbol to refer to the definition of
a non-weak symbol.

Ian