bugGNUstep - Bugs: bug #16478, GNUstep -base compilation fails on...

Group
 
 

bug #16478: GNUstep -base compilation fails on Mac OS X 10.4 with Startup 0.15.1

Submitter:  Quentin Mathé <qmathe>
Submitted:  Mon 01 May 2006 06:18:00 PM UTC
   
 
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  Bug Status:  Works For Me
Privacy:  Public Assigned to:  fedor
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 08 May 2008 04:17:23 AM UTC, comment #4: 

No response, so I'm assuming this works.

Adam Fedor <fedor>
Group administrator
Wed 20 Feb 2008 03:08:12 PM UTC, comment #3: 

I must have missed this one when it came out. I compile on Mac OSX 10.4 all the time with FInk (it's one of the testfarm cases: http://www.gnustep.org/developers/testfarm-results.txt) although I recommend macports now. If this is still a problem, let me know, otherwise I'll assume it's been fixed.

Adam Fedor <fedor>
Group administrator
Wed 20 Feb 2008 08:53:06 AM UTC, comment #2: 

It's obviously not finding libobjc (or at lest not finding the correct libobjc).

You could try building using 'make messages=yes' to see what flags it's using to the linker as I guess there is a possibility that the '-lobjc' flag is missing somehow.

Otherwise the place to look would seem to be the installation of gcc ... perhaps it's not finding its own objc library.

The warnings (_OBJC_INSTANCE_25 etc) are a compiler bug ... but I can't remember which compiler version had them ... they might indicate that the wrong compiler is being found/used.

Finally, I'm not sure that this is a base bug ... could also be a make bug or a startup bug.

Richard Frith-Macdonald <CaS>
Group Member
Tue 02 May 2006 11:05:26 AM UTC, comment #1: 

Oops,  I forgot to include logs output by Startup yesterday. Done now.

Quentin.

Quentin Mathé <qmathe>
Group Member
Mon 01 May 2006 06:18:00 PM UTC, original submission:  

Mac OS X 10.4.6
FSF GCC 4.1
Startup 0.15.1 with bundled GNUstep core sources
Fink for dependencies, except libffi installed with Darwin Ports

I have installed FSF GCC 4.1 with support for languages c and objc.

First I decided to remove my previous Fink and GNUstep setup, reinstalling latest Fink releases with the packages I need to install GNUstep, mostly because my previous install GNUstep applications were crashing on launch with '__cg_jpeg_resync_restart undefined symbol' (bug related to a conflict between Fink libjpeg and the one built in Mac OS X ImageIO framework).

 Startup compilation is now failing with many warnings like 'NSCalendarDate.m:2022: warning: '_OBJC_INSTANCE_25' defined but not used'. The error which is making the build fails at linking is :

GSSSLHandle.m:449: warning: '_OBJC_INSTANCE_14' defined but not used
 Linking bundle SSL ...
/usr/bin/ld: warning -L: directory name (/GNUstep/System/Library/Libraries/gnu-gnu-gnu) does not exist
/usr/bin/ld: Undefined symbols:
___objc_class_name_Protocol
___objc_exec_class
_objc_get_class
_objc_msg_lookup
_objc_msg_lookup_super
collect2: ld returned 1 exit status

Quentin.

Quentin Mathé <qmathe>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #9878:  logs.tar.gz added by qmathe (45KiB - application/x-gzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by fedor (Posted a comment)
  • -email is unavailable- added by CaS (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-05-08 fedor Open/ClosedOpen Closed
    2008-02-20 fedor StatusNone Works For Me
        Assigned toNone fedor
    2006-05-02 qmathe Attached File- Added logs.tar.gz, #9878

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code