Will 2.95.4 ship with new libobjc ?

Nicola Pero nicola@brainstorm.co.uk
Fri Apr 6 09:32:00 GMT 2001


> > As far as I know, the newer libobjc is totally stable - more stable than
> > the one which ships with gcc-2.95.3 as some thread fixings have been done.
> > 
> > The main changes which have been done are: 
> > 
> >  * libobjc now builds as shared as well;

> >  * importatnt fixes for threads;
> 
> Can you describe what are the changes for threads? Since most of the
> thread management is in libgcc now, do these changes affect other
> runtime libraries?

Well - Chris Ball's changes to thr-posix.c.  It's basically bug fixing I
think.

Is because you want to port only single bug fixings to 2.95.4 that you ask
?

Ok - then here are precisely the changes which would be nice to port to
2.95.4 (from the libobjc ChangeLog):

Sun Aug  6 22:51:16 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

        * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
        improve the Posix thread support for Objective-C.

Thu Sep 23 07:19:12 1999   Chris Ball <cball@fmco.com>

        * thr-posix.c (__objc_mutex_deallocate): made deallocate work.



> >  * a couple of new useful hooks (harmless in all other respects) have been
> >    added.
> 
> Can you describe these as well?


2001-03-14  Nicola Pero  <n.pero@mi.flashnet.it>

        * thr.c (objc_thread_add): New function.
        (objc_thread_remove): Ditto.
        * objc/thr.h: Declare them.
        * libobjc.def: Mention them.

Wed Jan  3 00:49:10 2001  Ovidiu Predescu  <ovidiu@cup.hp.com>

        * sendmsg.c: Added __objc_msg_forward, a hook that allows external
        libraries to provide a function that returns the real forwarding
        function. This can alleviate problems __builtin_apply() and
        friends have on various platforms. (Solution suggested by Helge
        Hess.)
        
        * objc/objc-api.h: Define __objc_msg_forward.

The second one allows us to use external libraries to do a more portable
forwarding.  The first one allows us to add and remove threads without
tricking inside the runtime and that helps people running gnustep base on
windows.



More information about the Gcc mailing list