Re: [Gc] There should be a library major bump of gc library due to now having several GC_xyz "hidden" functions

Ivan Maidanski ivmai at
Sat May 26 12:15:27 PDT 2012

Hi  Paulo,

Sat, 26 May 2012 15:22:11 -0300 Paulo César Pereira de Andrade< at>:
>   I understand that those functions are in gc_priv.h, but at least
> ecl became broken in Fedora 17 and rawhide due to the new GC_INNER
> that causes those functions to have
> __attribute__((__visibility__("hidden")))

Could you please mention what are the exact symbols you are talking about?

We could remove GC_INNER for some private symbols in gc-7.2 (and probably move these symbols to 7.3+ API if desired).

The alternate solution is to remove GC_DLL from configure (only for gc-7.2) thus disabling symbols hiding.

>   I made a Fedora RFE for gc, adding a new patch, at
> where the patch changes GC_INNER to __attribute__((deprecated))
>   A side effect is that during the gc package build, there will
> be several warnings about it calling deprecated functions.

In my opinion, not a good idea (due to the mentioned side effect).


>   This of course will not magically make things work, but with a
> library major bump at some point it would make it easier to have
> two libraries coexisting, and in the meantime, people would be
> warned about the functions being "deprecated".
> Thanks,
> Paulo
> _______________________________________________
> Gc mailing list
> Gc at

More information about the Gc mailing list