On Thu, Jan 8, 2009 at 9:53 PM, David Chisnall <[email protected]> wrote:
> On 8 Jan 2009, at 13:39, Yen-Ju Chen wrote:
>
>>  I am a little bit confused. There is a libobjc in GNUstep svn and
>> one in Etoile svn.
>>  I believe both Linux (Ubuntu) and FreeBSD use the one from GNU GCC
>> by default.
>
> The Étoilé one is almost identical to the GNUstep one, I just use it
> for hacking experimental stuff into that won't get accepted upstream
> (or will when it's been tested by us for a bit).
>
>>  I thought the one in GNUstep svn is the same as the one from GNU
>> GCC 4.x.
>>  Actually, on both Linux and FreeBSD,
>>  the one from GNU GCC is libojbc.2.so
>>  while the one from GNUstep is complied as libojbc.1.6.so (I think).
>
> ldd shows me that I am linking against libobjc.so.1.  Not sure why the
> GCC version is .2, since it doesn't change the ABI.

Actually the one in FreeBSD 7.x is libobjc.so.3. The release note of
FreeBSD 7.0 states that there may be ABI changes:

The shared library version number of all libraries has been updated
due to some possible ABI changes. The libraries include: snmp_*,
libdialog, libg2c, libobjc, libreadline, libregex, libstdc++, libkrb5,
libalias, libarchive, libbegemot, libbluetooth, libbsnmp, libbz2,
libc_r, libcrypt, libdevstat, libedit, libexpat, libfetch, libftpio,
libgpib, libipsec, libkiconv, libmagic, libmp, libncp, libncurses,
libnetgraph, libngatm, libopie, libpam, libpthread, libradius, libsdp,
libsmb, libtacplus, libthr, libthread_db, libugidfw, libusbhid,
libutil, libvgl, libwrap, libypclnt, libm, libcrypto, libssh, and
libssl.

>
>>  I will check the libobjc in FreeBSD ports and see.
>>  Changing libojbc requires recompilation of GNUstep and Etoile,
>>  which is quite annoying. :)
>
> You can probably just tweak loader.conf.

  I installed the one from ports and link the libobjc.so.3 to the GNUstep one,
  and the failed tests stay.
  Anyway, I am not pushing to get it fixed. Just report what I found now.
  By the way, is there any difference between the one from GNUstep and
the one from GCC 4.x ?
  Any chance to use the objc runtime in David's branch for GNUstep ?
  Forgive me if I miss such discussion before. :)

  Regards

  Yen-Ju

>
> David
> _______________________________________________
> Etoile-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/etoile-discuss
>
_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à