make check problem in libtest_smoketest building master

Stephan Bergmann sbergman at
Thu Apr 12 05:40:23 PDT 2012

On 04/12/2012 12:40 PM, Michael Stahl wrote:
> wonder what we should do about ld that defaults to --as-needed...

Insist on people compiling with an unbroken toolchain instead?

For the smoketest problem at hand, the best thing would probably be to 
get rid of the broken test_smoketest vs. smoketest library design, anyway.

But there are other places where we imply --no-as-needed:  Libraries 
within extensions are guaranteed to be run in an environment where all 
the public URE libraries are available.  The way we ensure that is by 
explicitly linking the relevant executables against all the relevant URE 
libraries.  (At least that's how we used to do it; might well got broken 
with some gbuild'ification, and is typically hard to detect, given that 
most if not all public URE libraries get loaded into a process through 
one way or another, anyway.)


More information about the LibreOffice mailing list