bugGNUstep - Bugs: bug #15163, Building Bundles on Darwin 8 with...

 
 

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

bug #15163: Building Bundles on Darwin 8 with FSF GCC fails (GNUMake

Submitted by:  Emanuel Zephir <ezephir>
Submitted on:  Wed 07 Dec 2005 09:07:59 AM UTC  
 
Category: MakefilesSeverity: 3 - Normal
Item Group: BugStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sat 17 Mar 2007 04:04:20 PM UTC, comment #2:

Adam and Yves fixed this on trunk on 2007-02-16

Thanks

Nicola Pero <nico>
Project Member
Wed 07 Dec 2005 09:10:59 AM UTC, comment #1:

This is for GNUStep Make 1.11.1, by the way.

Emanuel Zephir <ezephir>
Wed 07 Dec 2005 09:07:59 AM UTC, original submission:

I first observed this problem attempting to build gnustep-back. Upon attempting to make, I would eventually run into an error similar to the following:

make[3]: Nothing to be done for `internal-subproject-all'.
Making all for bundle libgnustep-back-010...
Linking bundle libgnustep-back-010 ...
/usr/bin/ld: warning undefined symbols:
___objc_class_name_NSConstantString
___objc_class_name_NSObject

... lots of symbols from Darwin, GNUStep, Std C Library ...

_ungetc
_mblen
/usr/bin/ld: /usr/X11R6/lib/libX11.a(HVC.o) has external relocation entries in non-writable section (__TEXT,__text) for symbols:
restFP
saveFP
make[2]: *** [libgnustep-back-010.bundle/./libgnustep-back-010] Error 1
make[1]: *** [libgnustep-back-010.all.bundle.variables] Error 2
make: *** [internal-all] Error 2

After a long time in #gnustep I got this working. I suggest changing BUNDLE_LD for Darwin from /usr/bin/ld to $(CC) in target.make. In addition, change BUNDLE_LDFLAGS to include only -bundle. It seems that gcc handle's the situation well and links everything appropriately (including /usr/lib/bundle1.o).

If you choose to solve the problem this way, also note that -bundle cannot be the first argument to FSF GCC. I rearranged BUNDLE_LINK_CMD to account for this.

Emanuel Zephir <ezephir>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by nico (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):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 17 Mar 2007 04:04:20 PM UTCnicoOpen/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1