[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua 5.1 tests: Missing aux files in the suite
- From: Anton Soldatov <igelhaus@...>
- Date: Tue, 19 Jan 2016 13:54:44 +0300
It's better now: attrib.lua passes all necessary tests. Unfortunately,
makefile did not work out of the box for me, I got errors like (Ubuntu
gcc -Wall -O2 -I../../ -ansi -shared -o lib1.so lib1.c
/usr/bin/ld: /tmp/ccZDpKYW.o: relocation R_X86_64_32 against
`.rodata.str1.1' can not be used when making a shared object;
recompile with -fPIC
/tmp/ccZDpKYW.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make: *** [lib1.so] Error 1
So I backported makefile for aux libs from the 5.2.0 suite, modified
2016-01-18 20:23 GMT+03:00 Roberto Ierusalimschy <email@example.com>:
>> I'm trying to run a test suite for Lua 5.1
>> Citing http://www.lua.org/tests/
>> > make sure that your test directory has subdirectories libs/ and libs/P1/
>> > then go to subdirectory libs/ and build the C libraries
>> > there using the makefile provided
>> The issue is that the libs subdirectory from the archive does not have
>> any sources for libs. As a result, some tests are never run (e.g.
>> tests in attrib.lua that depend on loading lib1.so).
>> I think that the archive should be rebounded to include missing files.
> We have added the missing files; please check whether it is ok now.
> -- Roberto
Med vennlig hilsen,
Description: Binary data