[cfe-commits] [patch] Template instantiation and visibility
Eli Friedman
eli.friedman at gmail.com
Sun Apr 22 20:41:07 PDT 2012
On Sun, Apr 22, 2012 at 7:44 PM, Rafael EspĂndola
<rafael.espindola at gmail.com> wrote:
>> With this patch, 'net' builds correctly. More progress :-) However,
>> target 'printing' dies in the linking phase like so:
>>
>> ld: bad codegen, pointer diff in
>> __ZN8printing11PrintedPageC1EiPNS_8MetafileERKN3gfx4SizeERKNS3_4RectEd
>> to global weak symbol
>> __ZTVN3gfx8RectBaseINS_4RectENS_5PointENS_4SizeENS_6InsetsEiEE for
>> architecture i386
>
> Yes, I got the same error on OS X. It is not clear to me what the
> linker error message means. I started another delta run to try to find
> out.
The most common cause of that error message is using
-fvisibility=hidden or -fvisibility-inlines-hidden inconsistently
across translation units.
-Eli
More information about the cfe-commits
mailing list