[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/11175] ld marks destructor hidden global
From: |
hjl dot tools at gmail dot com |
Subject: |
[Bug ld/11175] ld marks destructor hidden global |
Date: |
16 Jan 2010 00:41:37 -0000 |
------- 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 ld/11175] ld marks destructor hidden global, (continued)
- [Bug ld/11175] ld marks destructor hidden global, hjl dot tools at gmail dot com, 2010/01/15
- [Bug ld/11175] ld marks destructor hidden global, raj dot khem at gmail dot com, 2010/01/15
- [Bug ld/11175] ld marks destructor hidden global, raj dot khem at gmail dot com, 2010/01/15
- [Bug ld/11175] ld marks destructor hidden global, hjl dot tools at gmail dot com, 2010/01/15
- [Bug ld/11175] ld marks destructor hidden global, hjl dot tools at gmail dot com, 2010/01/15
- [Bug ld/11175] ld marks destructor hidden global, hjl dot tools at gmail dot com, 2010/01/15
- [Bug ld/11175] ld marks destructor hidden global, raj dot khem at gmail dot com, 2010/01/15
- [Bug ld/11175] ld marks destructor hidden global, raj dot khem at gmail dot com, 2010/01/15
- [Bug ld/11175] ld marks destructor hidden global, hjl dot tools at gmail dot com, 2010/01/15
- [Bug ld/11175] ld marks destructor hidden global, raj dot khem at gmail dot com, 2010/01/15
- [Bug ld/11175] ld marks destructor hidden global,
hjl dot tools at gmail dot com <=
- [Bug ld/11175] ld marks destructor hidden global, raj dot khem at gmail dot com, 2010/01/15
- [Bug ld/11175] ld marks destructor hidden global, hjl dot tools at gmail dot com, 2010/01/15
- [Bug ld/11175] ld marks destructor hidden global, raj dot khem at gmail dot com, 2010/01/19