This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] fix ldl testcases on FreeBSD


On 21.09.11 20:14, Joel Brobecker wrote:
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.

You're right. Like this?


2011-09-21 Andreas Tobler <andreast@fgznet.ch>

	* lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
	list of compilation switches for <*-*-freebsd*>.

Thanks,
Andreas


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]