[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #25001] Gorm compilation fails with --as-needed linker flag
From: |
Bernard Cafarelli |
Subject: |
[bug #25001] Gorm compilation fails with --as-needed linker flag |
Date: |
Wed, 03 Dec 2008 15:47:53 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.0.4) Gecko/2008111710 Gentoo Firefox/3.0.4 |
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 #25001] Gorm compilation fails with --as-needed linker flag,
Bernard Cafarelli <=