bugGNUstep - Bugs: bug #25001, Gorm compilation fails with...

 
 

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

bug #25001: Gorm compilation fails with --as-needed linker flag

Submitted by:  Bernard Cafarelli <voyageur>
Submitted on:  Wed 03 Dec 2008 03:47:52 PM UTC  
 
Category: GormSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sun 07 Dec 2008 11:27:20 AM UTC, comment #2:

gorm trunk rev 27225 compiles fine now with --as-needed, thanks!

Bernard Cafarelli <voyageur>
Sat 06 Dec 2008 10:40:40 PM UTC, comment #1:

Please try it now.

Gregory John Casamento <gcasa>
Project Administrator
Wed 03 Dec 2008 03:47:52 PM UTC, original submission:

When setting --as-needed in LDFLAGS, gorm 1.2.6 compilation fails at final link step with the following error:
GormCore/./obj/libGormCore.so: undefined reference to `__objc_class_name_OCHeaderParser'

This is caused by libGormCore missing reference to libGormObjCHeaderParser. Attached patch fixes that using LIBRARIES_DEPEND_UPON (not sure if it's the correct fix), and allows compilation here.

Installed gnustep:
gnustep-base/gnustep-back-art-0.14.0
gnustep-base/gnustep-base-1.16.5
gnustep-base/gnustep-gui-0.14.0-r1
gnustep-base/gnustep-make-2.0.6-r1
Portage 2.2_rc16 (default/linux/amd64/2008.0/desktop, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.26-gentoo x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-glibc2.2.5

Gentoo bugreport (with full failed compilation log) is at http://bugs.gentoo.org/show_bug.cgi?id=249510

Bernard Cafarelli <voyageur>

 

Attached Files
file #16980:  gorm-1.2.6-gormcore-as-needed.patch added by voyageur (390B - text/x-patch - Patch to GormCore GNUmakefile.preamble)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gcasa (Posted a comment)
  • -unavailable- added by voyageur (Submitted the item)
  •  

    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
    Sun 07 Dec 2008 01:50:24 PM UTCgcasaOpen/ClosedIn Test=>Closed
    Sat 06 Dec 2008 10:40:40 PM UTCgcasaStatusNone=>Fixed
      Open/ClosedOpen=>In Test
    Wed 03 Dec 2008 03:47:52 PM UTCvoyageurAttached File-=>Added gorm-1.2.6-gormcore-as-needed.patch, #16980

    Back to the top


    Powered by Savane 3.1-cleanup1