On Fri, 4 May 2012 01:06:00 +0200 Roland Mainz wrote:
> It seems the "leaks.sh" test is no longer working on Linux (and very
> likely on Solaris, too (but I don't have a Solaris machine around to
> verify)) because the GNU ld linker now removes all symbols from a
> binary which are not used and this removes the whole "vmstate" (symbol
> name |b_vmstate()|) builtin in the final link pass (the issue is not
> detected because of the "builtin vmstate 2>/dev/null || exit 0"-line
> in "leaks.sh".

> AFAIK the only way to get around this issue is to use the symbol
> |b_vmstate()| somewhere... ;-/

this is not a new feature and is not limited to the gnu linker
the standalone ksh linked against libcmd.a does not have b_vmstate in the 
default builtin table

something must have changed in the default setup
is there a .paths file in a bin dir on PATH diring the test containing 
something like:
--
# use { # no NO } prefix instead of XX to permanently disable #
FPATH=../fun
BUILTIN_LIB=cmd
LD_LIBRARY_PATH=../lib
--

_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to