[Glibc-bsd-commits] r3775 - in trunk/istgt/debian: . patches
Arno Töll
atoell-guest at alioth.debian.org
Thu Oct 27 15:43:35 UTC 2011
Author: atoell-guest
Date: 2011-10-27 15:43:35 +0000 (Thu, 27 Oct 2011)
New Revision: 3775
Added:
trunk/istgt/debian/patches/fix-as-needed-build.patch
Modified:
trunk/istgt/debian/changelog
trunk/istgt/debian/patches/series
Log:
Fix FTBS issue with -Wl,as-needed. Thanks Julian (Closes #64672)
Modified: trunk/istgt/debian/changelog
===================================================================
--- trunk/istgt/debian/changelog 2011-10-26 23:42:05 UTC (rev 3774)
+++ trunk/istgt/debian/changelog 2011-10-27 15:43:35 UTC (rev 3775)
@@ -1,8 +1,11 @@
istgt (0.4~20111008-2) UNRELEASED; urgency=low
* NOT RELEASED YET
+ * Fix "istgt: ftbs with ld --as-needed" - apply patch which shifts libraries
+ in the compiler line after object files. Thanks Julian Taylor
+ (Closes: #646272)
- -- Arno Töll <debian at toell.net> Thu, 27 Oct 2011 01:41:26 +0200
+ -- Arno Töll <debian at toell.net> Thu, 27 Oct 2011 19:30:13 +0200
istgt (0.4~20111008-1) unstable; urgency=low
Added: trunk/istgt/debian/patches/fix-as-needed-build.patch
===================================================================
--- trunk/istgt/debian/patches/fix-as-needed-build.patch (rev 0)
+++ trunk/istgt/debian/patches/fix-as-needed-build.patch 2011-10-27 15:43:35 UTC (rev 3775)
@@ -0,0 +1,20 @@
+Description: fix build with ld --as-needed
+ With the linker flag --as-needed libraries must be placed
+ behind objects needing their symbols on the commandline.
+Author: Julian Taylor <jtaylor.debian at googlemail.com>
+
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -77,10 +77,10 @@
+ all: stamp-depend config.h istgt istgtcontrol
+
+ istgt: $(ISTGT)
+- $(CC) $(LDFLAGS) $(LIBS) -o $@ $(ISTGT)
++ $(CC) $(LDFLAGS) -o $@ $(ISTGT) $(LIBS)
+
+ istgtcontrol: $(ISTGTCONTROL)
+- $(CC) $(LDFLAGS) $(LIBS) -o $@ $(ISTGTCONTROL)
++ $(CC) $(LDFLAGS) -o $@ $(ISTGTCONTROL) $(LIBS)
+
+ install: install-dirs
+ install -c -m 0755 istgt $(DESTDIR)$(sbindir)
Modified: trunk/istgt/debian/patches/series
===================================================================
--- trunk/istgt/debian/patches/series 2011-10-26 23:42:05 UTC (rev 3774)
+++ trunk/istgt/debian/patches/series 2011-10-27 15:43:35 UTC (rev 3775)
@@ -1,2 +1,3 @@
fix-installdir.patch
add-istgtcontrol-manpage
+fix-as-needed-build.patch
More information about the Glibc-bsd-commits
mailing list