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 mail.ru
Sat May 26 12:15:27 PDT 2012


Hi  Paulo,

Sat, 26 May 2012 15:22:11 -0300 Paulo César Pereira de Andrade<paulo.cesar.pereira.de.andrade at gmail.com>:
>   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
> https://bugzilla.redhat.com/show_bug.cgi?id=825473
> 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).

Regards,
Ivan

> 
>   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 linux.hpl.hp.com
> http://www.hpl.hp.com/hosted/linux/mail-archives/gc/
> 



More information about the Gc mailing list