Question about tst-stack4

Szabolcs Nagy szabolcs.nagy@arm.com
Fri Aug 18 16:38:00 GMT 2017


On 18/08/17 09:27, Szabolcs Nagy wrote:
> On 18/08/17 07:10, Florian Weimer wrote:
>> On 08/17/2017 10:56 PM, Steve Ellcey wrote:
>>> % ./tst-stack4
>>> tst-stack4mod-0-0.so: cannot open shared object file: No such file or directory
>>> tst-stack4: tst-stack4.c:71: dso_process: Assertion `handle[dso]' failed.
>>> Didn't expect signal from child: got `Aborted'
>>
>> I think you need to set LD_LIBRARY_PATH.  What you are seeing is an
>> unrelated failure.
>>
> 
> yeah i think you should use
> 
> ./testrun.sh nptl/tst-stack4 --direct
> 
> (or equivalent), that abort would not be reported
> as a segfault by the test system
> 

using PTR_REG (0) instead of x0 in the previously
cited code fixed the segfault on ilp32 for me.



More information about the Libc-help mailing list