------- Additional Comments From hjl dot tools at gmail dot com 2010-01-16
00:41 -------
(In reply to comment #19)
> (In reply to comment #18)
> > Created an attachment (id=4524)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4524&action=view)
> > preprocessed testcase
> >
>
> -fvisibility-inlines-hidden is making this difference.
>
> $ arm-oe-linux-gnueabi-g++ -c -fvisibility-inlines-hidden moc_lnkproperties.i
> $ readelf -s moc_lnkproperties.o |grep ZN13LnkPropertiesD1Ev
> 298: 00000000 136 FUNC WEAK HIDDEN 154 _ZN13LnkPropertiesD1Ev
>
>
> $ arm-oe-linux-gnueabi-g++ -c moc_lnkproperties.i
>
> $ readelf -s moc_lnkproperties.o |grep ZN13LnkPropertiesD1Ev
> 298: 00000000 136 FUNC WEAK DEFAULT 154 _ZN13LnkPropertiesD1Ev
>
~LnkProperties() isn't in moc_lnkproperties.i. gcc generates it and
marks it hidden. You should add
~LnkProperties ();
to class LnkProperties declaration so that gcc won't mark it hidden.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |INVALID
http://sourceware.org/bugzilla/show_bug.cgi?id=11175
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils