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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

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

Submitted by:  Quentin Mathé <qmathe>
Submitted on:  Mon 01 May 2006 06:18:00 PM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: BugStatus: Works For Me
Privacy: PublicAssigned to: Adam Fedor <fedor>
Open/Closed: Closed

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

No response, so I'm assuming this works.

Adam Fedor <fedor>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
Project 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>
Project 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>
Project Member

 

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
  • -unavailable- added by fedor (Posted a comment)
  • -unavailable- added by CaS (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 08 May 2008 04:17:23 AM UTCfedorOpen/ClosedOpen=>Closed
    Wed 20 Feb 2008 03:08:12 PM UTCfedorStatusNone=>Works For Me
      Assigned toNone=>fedor
    Tue 02 May 2006 11:05:26 AM UTCqmatheAttached File-=>Added logs.tar.gz, #9878

    Back to the top


    Powered by Savane 3.1-cleanup1