make check problem in libtest_smoketest building master

Michael Stahl mstahl at redhat.com
Thu Apr 12 03:40:15 PDT 2012


On 12/04/12 12:32, Noel Grandin wrote:
> 
> 
> On 2012-04-12 11:51, Stephan Bergmann wrote:
>> What is the output of
>>
>> readelf -d 
>> workdir/unxlngx6.pro/LinkTarget/CppunitTest/libtest_smoketest.so
>>
>> for you?
>>
> Output attached.

>  0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]

yeah, that's rather too little :(

this is missing here:

>  0x0000000000000001 (NEEDED)             Shared library: [libsmoketest.so]

indeed looks like your ld defaults to --as-needed.

it should work if you do this:

cd smoketest && make -r clean && make -r LDFLAGS=-Wl,--no-as-needed
subsequentcheck

wonder what we should do about ld that defaults to --as-needed...



More information about the LibreOffice mailing list