|
From: | Peter O'Gorman |
Subject: | Re: Link order of deplibs test (was: FYI: lt_dlexit.at test needs 'libtool --mode=execute') |
Date: | Mon, 19 Feb 2007 22:50:37 +0900 |
On Feb 19, 2007, at 12:41 AM, Ralf Wildenhues wrote:
Hello Peter, * Ralf Wildenhues wrote on Wed, Feb 14, 2007 at 12:13:51AM CET:* Peter O'Gorman wrote on Tue, Feb 13, 2007 at 03:15:19PM CET:On Feb 13, 2007, at 4:54 AM, Ralf Wildenhues wrote:This fixes lt_dlexit.at test on some systems (e.g., Darwin), where amain program without uninstalled library dependencies doesn't get a shell wrapper.Thanks, was wondering what was up with this. Still unexpectedly failing two tests on darwin though - 16 and 49. I haven't looked closely, should I?I think I'll rewrite link-order2.at (16) to not use libm, that failsjust about everywhere. 49 is just failing on Darwin because it rerunstest 16. You could look into it if it still fails afterwards. ;-)Here's a rewrite of the test. I think it still fails on Darwin (with duplicate symbols IIRC; I only tested an earlier version of this) and AIX without runtimelinking. Could you look into the issue on Darwin? (Of course I'd also appreciate a review of the proposed patch. ;-)
Hi Ralf,It is another Apple object file namespace thing. If you remove the - no-undefined flag for darwin then the test will pass, alternatively, you can add the -Wl,-flat_namespace flag (though I haven't tested this latter, it ought to work).
In my poking about I did: undefined_setting="-no-undefined" shared_fails=no case $host_os,$LDFLAGS in aix*,*-brtl*) ;; aix*) shared_fails=yes ;; darwin*) undefined_setting= ;; esac [snip]] LDFLAGS="$LDFLAGS $undefined_setting -L$deflibdir"This test looked okay to me. If you want to skip on darwin or remove the -no-undefined, up to you.
Thank you, Peter
[Prev in Thread] | Current Thread | [Next in Thread] |