helpGNU Core Utilities - Support: sr #108676, coreutils 8.23 doesn't build on...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

sr #108676: coreutils 8.23 doesn't build on static only system

Submitted by:  Alan Hourihane <alanh>
Submitted on:  Fri 31 Oct 2014 09:51:25 AM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: None

Wed 11 Feb 2015 10:32:12 AM UTC, comment #2:

For the archives, there's this error on powerpc-ibm-aix:
CCLD src/libstdbuf.so
ld: 0711-317 ERROR: Undefined symbol: .rpl_malloc
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: error: ld returned 8 exit status
Makefile:7718: recipe for target 'src/libstdbuf.so' failed

rpl_malloc() defined in lib/malloc.c is in libcoreutils.a, but there's this comment in src/local.mk:
# Ensure we don't link against libcoreutils.a as that lib is
# not compiled with -fPIC which causes issues on 64 bit at least
src_libstdbuf_so_LDADD = $(LIBINTL)

But the solution is the same: Fix configure check to detect ELF systems without false positives.

(file #33052)

Michael Haubenwallner <haubi>
Fri 31 Oct 2014 12:58:21 PM UTC, comment #1:

It's o.k, just needed to not install stdbuf.

Can close this.

Alan Hourihane <alanh>
Fri 31 Oct 2014 09:51:25 AM UTC, original submission:

Get this build error with coreutils 8.23 because the system doesn't have shared libraries.

CC src/src_libstdbuf_so-libstdbuf.o
src/libstdbuf.c:1:0: error: -fPIC is not supported on this target
Makefile:10791: recipe for target 'src/src_libstdbuf_so-libstdbuf.o' failed

I can't see any easy way to stop building libstdbuf.so

Alan Hourihane <alanh>

 

Attached Files
file #33052:  0001-stdbuf-build-for-ELF-systems-only-sr-108676.patch added by haubi (678B - text/x-patch - patch: Avoid false positive when checking for ELF system.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by haubi (Updated the item)
  • -unavailable- added by alanh (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 11 Feb 2015 10:32:12 AM UTChaubiAttached File-=>Added 0001-stdbuf-build-for-ELF-systems-only-sr-108676.patch, #33052

    Back to the top


    Powered by Savane 3.1-cleanup1