This is the mail archive of the
crossgcc@sourceware.org
mailing list for the crossgcc project.
See the CrossGCC FAQ for lots
more information.
[PATCH] Fix for psim build failure due to -lz in gdb-7.2
- From: Horst Kronstorfer <horst dot kronstorfer at aon dot at>
- To: yann dot morin dot 1998 at anciens dot enib dot fr
- Cc: crossgcc at sourceware dot org
- Date: Mon, 03 Jan 2011 13:46:48 +0100
- Subject: [PATCH] Fix for psim build failure due to -lz in gdb-7.2
# HG changeset patch
# User Horst Kronstorfer <horst.kronstorfer@aon.at>
# Date 1293747712 -3600
# Node ID 90d887bda71d83da09ab728923e5591415f5216d
# Parent fdb218680a544cdd59f245102eaf67225a52eb12
Fix for psim build failure due to -lz in gdb-7.2.
Signed-off-by: "Horst Kronstorfer" <horst.kronstorfer@aon.at>
diff -r fdb218680a54 -r 90d887bda71d
patches/gdb/7.2/100-sim-ppc-lz-fix.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/gdb/7.2/100-sim-ppc-lz-fix.patch Thu Dec 30 23:21:52
2010 +0100
@@ -0,0 +1,15 @@
+Fix for psim build failure due to -lz
+
+See http://sourceware.org/bugzilla/show_bug.cgi?id=12202
+
+--- gdb-7.2.orig/sim/ppc/Makefile.in
++++ gdb-7.2/sim/ppc/Makefile.in
+@@ -551,7 +551,7 @@
+ PACKAGE_OBJ = @sim_pk_obj@
+
+
+-psim: $(TARGETLIB) main.o $(LIBIBERTY_LIB) $(BFD_LIB) $(LIBS)
$(LIBINTL_DEP)
++psim: $(TARGETLIB) main.o $(LIBIBERTY_LIB) $(BFD_LIB) $(LIBINTL_DEP)
+ $(CC) $(CFLAGS) $(SIM_CFLAGS) $(LDFLAGS) -o psim$(EXEEXT) main.o
$(TARGETLIB) $(BFD_LIB) $(LIBINTL) $(LIBIBERTY_LIB) $(LIBS)
+
+ run: psim
--
For unsubscribe information see http://sourceware.org/lists.html#faq