Adam Fedor | 1 Jan 2007 06:00
Favicon

Re: I need some help


On Dec 30, 2006, at 10:15 PM, Lucas Dupin wrote:

> Hi, I am trying to build GNUstep in a Mac OS 10.4, G4, I've already  
> compiled gcc4 from the FSF and the libffi from cvs.
> Any help will be appreciated.

It looks from the log files that at one point (perhaps you tried to  
compile the libraries separately before using Startup?) the library  
combo
got set to apple-apple-apple, which just compiles GNUstep extensions  
for Mac OSX , not the full GNUstep, and that only works with Apple  
GCC/Foundation/etc.  Anyway, before doing anything else, be sure to  
erase any remnants of GNUstep (in /usr/GNUstep) and make sure all the  
GNUSTEP and LIBRARY_COMBO environment variables are unset. Then use  
Startup or macports as Yen-Ju suggested.
Gábor Bérczi (Gabucino | 5 Jan 2007 19:38
Picon
Gravatar

[FreeBSD/alpha] bad #define in NSObject.m

line 937:

#ifdef __FreeBSD__
       // Manipulate the FPU to add the exception mask. (Fixes SIGFPE
       // problems on *BSD)

       {
         volatile short cw;

         __asm__ volatile ("fstcw (%0)" : : "g" (&cw));
         cw |= 1; /* Mask 'invalid' exception  
*/                                              __asm__ volatile  
("fldcw (%0)" : : "g" (&cw));
       }
#endif

This obviously fails on FreeBSD with any arch that is not x86.  
(invalid opcode)

--

-- 
Gábor Bérczi
Chris Vetter | 7 Jan 2007 12:19
Picon

Threading problem in NSNetServices

Hullo,

NSNetServices in SVN's -base have a bug with respect to threading, 
that is, it tries to lock the same lock several times. I originally 
avoided that problem by using pthread's spin-locks.

For a more portable implementation (I guess), the current version in 
-base uses GSLazyLocks, which cannot acquire a lock recursively -- as 
its name implies, NSRecursiveLock can.

The following patch is tested and proven to work.

--- NSNetServices.m.ORG Sun Jan  7 12:06:44 2007
+++ NSNetServices.m     Sun Jan  7 12:15:55 2007
 <at>  <at>  -30,7 +30,9  <at>  <at> 
  #import "Foundation/NSStream.h"
  #import "Foundation/NSTimer.h"
  #import "Foundation/NSValue.h"
-#import "GNUstepBase/GSLock.h"
+#if defined(_REENTRANT)
+#  import "Foundation/NSLock.h"
+#endif

  #import <dns_sd.h>             // Apple's DNS Service Discovery

 <at>  <at>  -78,8 +80,8  <at>  <at> 
          } while(0);

  #if defined(_REENTRANT)
-#  define THE_LOCK             GSLazyLock      *lock
(Continue reading)

Richard Frith-Macdonald | 7 Jan 2007 14:38
Picon
Picon

Re: Threading problem in NSNetServices


On 7 Jan 2007, at 11:19, Chris Vetter wrote:

> Hullo,
>
> NSNetServices in SVN's -base have a bug with respect to threading,  
> that is, it tries to lock the same lock several times. I originally  
> avoided that problem by using pthread's spin-locks.
>
> For a more portable implementation (I guess), the current version  
> in -base uses GSLazyLocks, which cannot acquire a lock recursively  
> -- as its name implies, NSRecursiveLock can.

Thanks ... I didn't realise the lock was used recursively ... I  
changed svn to use recursive locks.

> BTW, NSNetServices are missing in Source/DocMakefile.

I added that (as well as NSValueTransformer which was also missing),  
and also made a few changed to get documentation to be generated  
without producing error/warning messages.
Daniel J Farrell | 8 Jan 2007 15:03
Picon

Re: I need some help

Hi,

I have done this it was a tricker than I thought as I couldn't get  
DarwinPorts to install it for me. However, use this excellent install  
guide for 'unix like' systems and it should work fine!

http://www.gnustep.net/Documentation/BuildGuide/develop.html

Regards,

Dan.

On 1 Jan 2007, at 05:00, Adam Fedor wrote:

>
> On Dec 30, 2006, at 10:15 PM, Lucas Dupin wrote:
>
>> Hi, I am trying to build GNUstep in a Mac OS 10.4, G4, I've  
>> already compiled gcc4 from the FSF and the libffi from cvs.
>> Any help will be appreciated.
>
> It looks from the log files that at one point (perhaps you tried to  
> compile the libraries separately before using Startup?) the library  
> combo
> got set to apple-apple-apple, which just compiles GNUstep  
> extensions for Mac OSX , not the full GNUstep, and that only works  
> with Apple GCC/Foundation/etc.  Anyway, before doing anything else,  
> be sure to erase any remnants of GNUstep (in /usr/GNUstep) and make  
> sure all the GNUSTEP and LIBRARY_COMBO environment variables are  
> unset. Then use Startup or macports as Yen-Ju suggested.
(Continue reading)

matt rice | 9 Jan 2007 16:46
Picon

[bug #18731] Gorm leaves window open after document close


URL:
  <http://savannah.gnu.org/bugs/?18731>

                 Summary: Gorm leaves window open after document close
                 Project: GNUstep
            Submitted by: ratmice
            Submitted on: Tuesday 01/09/2007 at 15:46
                Category: Gorm
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Document->New application
Document->close

the top-level window object which was created with the application
will be still open.

this doesn't seem to affect clicking the close button on the document window.

    _______________________________________________________
(Continue reading)

matt rice | 9 Jan 2007 17:11
Picon

[bug #10059] NSTableView: vertical motions can't begin drag


Update of bug #10059 (project gnustep):

                  Status:                    None => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

This has been fixed in svn for a while.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?10059>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/
matt rice | 9 Jan 2007 17:15
Picon

[bug #18732] kbd navigation in NSForm doesn't update selected row.


URL:
  <http://savannah.gnu.org/bugs/?18732>

                 Summary: kbd navigation in NSForm doesn't update selected
row.
                 Project: GNUstep
            Submitted by: ratmice
            Submitted on: Tuesday 01/09/2007 at 16:15
                Category: Gui/AppKit
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

using the keyboard to navigate the an NSForm doesn't update the selected
row.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?18732>
(Continue reading)

matt rice | 9 Jan 2007 18:04
Picon

[bug #18732] kbd navigation in NSForm doesn't update selected row.


Update of bug #18732 (project gnustep):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

oops.. control wasn't even an NSForm but a NSMatrix, will

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?18732>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/
Stefan | 9 Jan 2007 22:19
Picon

[patch #5668] Documented some simple Typedef


URL:
  <http://savannah.gnu.org/patch/?5668>

                 Summary: Documented some simple Typedef
                 Project: GNUstep
            Submitted by: stefanbidi
            Submitted on: Tuesday 01/09/2007 at 21:19
                Category: AppKit
                Priority: 2
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

    _______________________________________________________

File Attachments:

-------------------------------------------------------
Date: Tuesday 01/09/2007 at 21:19  Name: gnustep-gui-20070109.patch  Size:
4kB   By: stefanbidi

<http://savannah.gnu.org/patch/download.php?file_id=11712>
(Continue reading)


Gmane