On 22/01/17 02:08, Nelson H. F. Beebe wrote:
> A build of coreutils-8.26 failed on Bitrig 1.0 (an OpenBSD relative)
> because of this error:
> 
>       CCLD     src/libstdbuf.so
>       /usr/bin/ld: /usr/local/lib/libintl.a(dcigettext.o): relocation 
>           R_X86_64_32 can not be used when making a shared object; 
>           recompile with -fPIC 
>           /usr/local/lib/libintl.a: could not read symbols: Bad value
> 
> The configure-generated LDFLAGS and other Makefile variables supplies
> libintl.a and libiconv.a, static libraries, yet those settings are
> then used incorrectly to link a shared object.
> 
> The solution was to replace the two .a file mentions in all Makefiles
> with their corresponding .so.* files; the builds then completed, and
> only a single test failed:

Interesting. We relaxed the check in configure.ac to allow more
systems to enable stdbuf.  On GNU/Linux here LIBINTL is empty.
I'll look into how to reference the shared libs specifically,
or at least disable stdbuf if not fully supported.

thanks!
Pádraig.


Reply via email to