On 06/14/2010 12:58 AM, Ralf Wildenhues wrote:
IIRC this one could also be fixed by using
LTDL_SET_PRELOADED_SYMBOLS, I don't remember for sure, but I recall
being convinced that these were all testsuite issues.
Well, if that fixes it, then that is fine with me of course.
Ok thanks, pushed this. No test failures for me with --disable-shared now.
Peter
>From 0263ff229bbf6f02a61d4ccad3bd4ab3a5601e1d Mon Sep 17 00:00:00 2001
From: Peter O'Gorman <pe...@pogma.com>
Date: Mon, 14 Jun 2010 11:04:17 -0500
Subject: [PATCH] Pass resident test with --disable-shared too.
* tests/resident.at: use LTDL_SET_PRELOADED_SYMBOLS.
---
ChangeLog | 5 +++++
tests/resident.at | 2 ++
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index a313b4b..2ffbcee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-06-14 Peter O'Gorman <pe...@pogma.com>
+
+ Pass resident test with --disable-shared too.
+ * tests/resident.at: use LTDL_SET_PRELOADED_SYMBOLS.
+
2010-06-13 Peter O'Gorman <pe...@pogma.com>
Test with --disable-shared at release time too.
diff --git a/tests/resident.at b/tests/resident.at
index 2a85204..cf00688 100644
--- a/tests/resident.at
+++ b/tests/resident.at
@@ -38,6 +38,8 @@ main (int argc, char* argv[])
lt_dlhandle plugin_handle;
lt_dladvise advise;
+ LTDL_SET_PRELOADED_SYMBOLS();
+
if (argc < 2)
{
fprintf (stderr, "usage: %s plugin\n", argv[0]);
--
1.7.0.1