public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* exported symbols with hidden attribute
@ 2006-01-06 17:23 Vincent Torri
  2006-01-06 19:50 ` John Love-Jensen
  0 siblings, 1 reply; 6+ messages in thread
From: Vincent Torri @ 2006-01-06 17:23 UTC (permalink / raw)
  To: gcc-help


hey,

i'm playing with the visibility feature, and i've remarked that, even if
some symbols with the hidden attributes are not exported, some of them are
exported. Is it a known behavior ? (I use gcc 4.0.2)

Vincent

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

* Re: exported symbols with hidden attribute
  2006-01-06 17:23 exported symbols with hidden attribute Vincent Torri
@ 2006-01-06 19:50 ` John Love-Jensen
  2006-01-07  0:13   ` Vincent Torri
  0 siblings, 1 reply; 6+ messages in thread
From: John Love-Jensen @ 2006-01-06 19:50 UTC (permalink / raw)
  To: Vincent Torri, MSX to GCC

Hi Vincent,

Do you have a small "for instance" example you can share?

Thanks,
--Eljay


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

* Re: exported symbols with hidden attribute
  2006-01-06 19:50 ` John Love-Jensen
@ 2006-01-07  0:13   ` Vincent Torri
  2006-01-11 14:20     ` Vincent Torri
  0 siblings, 1 reply; 6+ messages in thread
From: Vincent Torri @ 2006-01-07  0:13 UTC (permalink / raw)
  To: John Love-Jensen; +Cc: MSX to GCC



yes. It's a sall library:

http://www.iecn.u-nancy.fr/~torri/files/eet.tar.bz2

once this library is compiled and installed, libeet.a contains
eet_data_image_jpeg_header_decode in src/lib/eet_image.c (for example),
which is local (it's static). I've tried to force the hidden visibility by
all the ways I know (as you might see), but it stays in libeet.a. Some
symbols are not present, like _eet_listfree_add, which is perfect, but
some others are still there.

Is there an explanation ? I recall that I use gcc 4.0.2.

Vincent

On Fri, 6 Jan 2006, John Love-Jensen wrote:

> Hi Vincent,
>
> Do you have a small "for instance" example you can share?
>
> Thanks,
> --Eljay
>
>

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

* Re: exported symbols with hidden attribute
  2006-01-07  0:13   ` Vincent Torri
@ 2006-01-11 14:20     ` Vincent Torri
  2006-02-04 10:27       ` Vincent Torri
  0 siblings, 1 reply; 6+ messages in thread
From: Vincent Torri @ 2006-01-11 14:20 UTC (permalink / raw)
  To: John Love-Jensen; +Cc: MSX to GCC


did someone tried that library to check that some symbols are exported
with the hidden flag ?

thank you

Vincent


On Sat, 7 Jan 2006, Vincent Torri wrote:

>
>
> yes. It's a sall library:
>
> http://www.iecn.u-nancy.fr/~torri/files/eet.tar.bz2
>
> once this library is compiled and installed, libeet.a contains
> eet_data_image_jpeg_header_decode in src/lib/eet_image.c (for example),
> which is local (it's static). I've tried to force the hidden visibility by
> all the ways I know (as you might see), but it stays in libeet.a. Some
> symbols are not present, like _eet_listfree_add, which is perfect, but
> some others are still there.
>
> Is there an explanation ? I recall that I use gcc 4.0.2.
>
> Vincent
>
> On Fri, 6 Jan 2006, John Love-Jensen wrote:
>
> > Hi Vincent,
> >
> > Do you have a small "for instance" example you can share?
> >
> > Thanks,
> > --Eljay
> >
> >
>

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

* Re: exported symbols with hidden attribute
  2006-01-11 14:20     ` Vincent Torri
@ 2006-02-04 10:27       ` Vincent Torri
  2006-02-15 20:07         ` Andrey Belevantsev
  0 siblings, 1 reply; 6+ messages in thread
From: Vincent Torri @ 2006-02-04 10:27 UTC (permalink / raw)
  To: John Love-Jensen; +Cc: MSX to GCC


no ideas about the problem ? It just take 5 minutes to check that there's
a problem. No big stuff.

thank you

Vincent Torri

On Wed, 11 Jan 2006, Vincent Torri wrote:

>
> did someone tried that library to check that some symbols are exported
> with the hidden flag ?
>
> thank you
>
> Vincent
>
>
> On Sat, 7 Jan 2006, Vincent Torri wrote:
>
> >
> >
> > yes. It's a sall library:
> >
> > http://www.iecn.u-nancy.fr/~torri/files/eet.tar.bz2
> >
> > once this library is compiled and installed, libeet.a contains
> > eet_data_image_jpeg_header_decode in src/lib/eet_image.c (for example),
> > which is local (it's static). I've tried to force the hidden visibility by
> > all the ways I know (as you might see), but it stays in libeet.a. Some
> > symbols are not present, like _eet_listfree_add, which is perfect, but
> > some others are still there.
> >
> > Is there an explanation ? I recall that I use gcc 4.0.2.
> >
> > Vincent
> >
> > On Fri, 6 Jan 2006, John Love-Jensen wrote:
> >
> > > Hi Vincent,
> > >
> > > Do you have a small "for instance" example you can share?
> > >
> > > Thanks,
> > > --Eljay
> > >
> > >
> >
>

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

* Re: exported symbols with hidden attribute
  2006-02-04 10:27       ` Vincent Torri
@ 2006-02-15 20:07         ` Andrey Belevantsev
  0 siblings, 0 replies; 6+ messages in thread
From: Andrey Belevantsev @ 2006-02-15 20:07 UTC (permalink / raw)
  To: Vincent Torri; +Cc: John Love-Jensen, MSX to GCC

Vincent Torri wrote:
> no ideas about the problem ? It just take 5 minutes to check that there's
> a problem. No big stuff.
> 
If you'd like to see people working on the problems you've reported and 
fixing them, your best choice is to file a bugreport having 
http://gcc.gnu.org/bugs.html in mind.  That's what John meant when he 
asked for a self-contained example.

Andrey

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

end of thread, other threads:[~2006-02-15 20:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-06 17:23 exported symbols with hidden attribute Vincent Torri
2006-01-06 19:50 ` John Love-Jensen
2006-01-07  0:13   ` Vincent Torri
2006-01-11 14:20     ` Vincent Torri
2006-02-04 10:27       ` Vincent Torri
2006-02-15 20:07         ` Andrey Belevantsev

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).