URL:
<http://savannah.gnu.org/bugs/?25001>
Summary: Gorm compilation fails with --as-needed linker flag
Project: GNUstep
Submitted by: voyageur
Submitted on: mer 03 déc 2008 15:47:52 GMT
Category: Gorm
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
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
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: mer 03 déc 2008 15:47:52 GMT Name:
gorm-1.2.6-gormcore-as-needed.patch Size: 390 o By: voyageur
Patch to GormCore GNUmakefile.preamble
<http://savannah.gnu.org/bugs/download.php?file_id=16980>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?25001>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep