coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

coreutils-8.26: build workaround for Bitrig 1.0


From: Nelson H. F. Beebe
Subject: coreutils-8.26: build workaround for Bitrig 1.0
Date: Sat, 21 Jan 2017 19:08:40 -0700

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:

        FAIL: tests/mv/i-3.sh

I installed the patched build.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: address@hidden  -
- 155 S 1400 E RM 233                       address@hidden  address@hidden -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]