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

Top Page
Delete this message
Author: Zack Weinberg
Date:  
To: 664
CC: pcre-dev
Subject: Re: [pcre-dev] [Bug 664] ABI breakage in PCRE 7.6
On Thu, Mar 20, 2008 at 6:34 PM, Daniel Macks <dmacks@???> wrote:
> Symbol-munging is not guaranteed to be stable between different compiler
> versions. It appears that the patch relies on this specific munge for "any gcc
> major-version >= 3", which is at best fairly fragile. For example, I know C++
> code compiled by gcc3.1 is not compatible with that compiled by gcc3.3 on OS X.


What you say is true, but the munge for this specific symbol hasn't
changed since gcc3.0 and can reasonably be expected not to change in
the future.

> [...] why can't the symbol that got removed simply be re-added?


If I understand the code correctly, it wouldn't work; the object needs
to be unique.

zw