public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Symbols in .so even when using fvisibility=hidden
@ 2010-03-15 17:15 Robert Wohlrab
  2010-03-16 15:21 ` Ian Lance Taylor
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Wohlrab @ 2010-03-15 17:15 UTC (permalink / raw)
  To: gcc-help

Hi,

I have the problem that I have a shared object which is mostly c with a
relative small part C++. It is compiled with -fvisibility=hidden and only some
small parts are exported. I noticed today that non-exported C++ symbols were
also exported. This is quite mysterious because they are 5 functions from
templates (looks related to std::vector with allocator stuff to me). The
shared object is generated by source files from mupen64plus-core (can be
found on bitbucket) using `make -C projects/unix/ all`.

Is there any way to disable that symbols? The vector is not used outside that
shared object and the interface of the shared object should be as clean as
possible. I tried already with -fvisibility-inlines-hidden but without
success.

On a Debian squeeze i386 with
gcc version 4.4.3 20100108 (prerelease) (Debian 4.4.2-9)
libstdc++6-4.4-dev 4.4.2-9

I tried to attach the list of symbols, but your filters always drop the mail 
when I send it inside the mail.
-- 
Robert Wohlrab

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-03-18 10:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-15 17:15 Symbols in .so even when using fvisibility=hidden Robert Wohlrab
2010-03-16 15:21 ` Ian Lance Taylor
2010-03-17  0:26   ` Robert Wohlrab
2010-03-18 10:39     ` Ian Lance Taylor
2010-03-18 11:40       ` Robert Wohlrab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).