This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Fix GNU/Linux Alpha build
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 21 Aug 2004 14:45:22 +0200 (CEST)
- Subject: [PATCH] Fix GNU/Linux Alpha build
Looks like this has been broken for a very long time.
Committed,
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* config/alpha/alpha-linux.mh (LOADLIBES): New variable.
Index: config/alpha/alpha-linux.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/alpha/alpha-linux.mh,v
retrieving revision 1.13
diff -u -p -r1.13 alpha-linux.mh
--- config/alpha/alpha-linux.mh 5 Aug 2004 18:18:17 -0000 1.13
+++ config/alpha/alpha-linux.mh 21 Aug 2004 12:41:55 -0000
@@ -4,6 +4,10 @@ NATDEPFILES= infptrace.o inftarg.o corel
fork-child.o proc-service.o thread-db.o lin-lwp.o gcore.o \
linux-nat.o
+# The dynamically loaded libthread_db needs access to symbols in the
+# gdb executable.
+LOADLIBES = -ldl -rdynamic
+
# doublest.c currently assumes some properties of FP arithmetic
# on the host which require this.
MH_CFLAGS = -mieee