[PATCH] Fix for psim build failure due to -lz in gdb-7.2

Horst Kronstorfer horst.kronstorfer@aon.at
Fri Dec 31 17:15:00 GMT 2010


# HG changeset patch
# User Horst Kronstorfer <horst.kronstorfer@aon.at>
# Date 1293747712 -3600
# Node ID e5c17f40a4d1a6ca140030dfdbfd98ec16f15f7c
# Parent  cb0f625b3f9f704140aaeed024baac05e6b27df0
Fix for psim build failure due to -lz in gdb-7.2.

diff -r cb0f625b3f9f -r e5c17f40a4d1 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



More information about the crossgcc mailing list