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

Group
 
 

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

Submitter:  Bernard Cafarelli <voyageur>
Submitted:  Wed 03 Dec 2008 03:47:52 PM UTC
   
 
Category:  Gorm Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>

 

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

Attach Files:
   
   
Comment:
   

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
  • -email is unavailable- added by gcasa (Posted a comment)
  • -email is unavailable- added by voyageur (Submitted the item)
  •  

    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-12-07 gcasa Open/ClosedIn Test Closed
    2008-12-06 gcasa StatusNone Fixed
        Open/ClosedOpen In Test
    2008-12-03 voyageur Attached File- Added gorm-1.2.6-gormcore-as-needed.patch, #16980

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code