This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] fix ldl testcases on FreeBSD
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Andreas Tobler <andreast-list at fgznet dot ch>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 21 Sep 2011 11:14:01 -0700
- Subject: Re: [patch] fix ldl testcases on FreeBSD
- References: <4E7A172D.6040004@fgznet.ch>
> the below patch makes the test cases work on *-*-freebsd* where we
> link -ldl. Iow, like on openbsd, we do not add -ldl to the libs.
>
> Is this ok for trunk?
The patch looks OK to me, but the description and ChangeLogs are
misleading. What the patch does is both setting the rpath *and*
removing -ldl from the list of compilation switches.
> 2011-09-21 Andreas Tobler <andreast@fgznet.ch>
>
> * lib/gdb.exp (gdb_compile): Set rpath for <*-*-freebsd*>.
--
Joel