bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/15815] New: can't install libiberty


From: knrstaj at gmail dot com
Subject: [Bug binutils/15815] New: can't install libiberty
Date: Mon, 05 Aug 2013 02:50:46 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=15815

            Bug ID: 15815
           Summary: can't install libiberty
           Product: binutils
           Version: 2.24 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: knrstaj at gmail dot com

--enable-install-libiberty option fail

libiberty won't install in ${prefix}/lib

I found this commit.

commit 9c9b87adf7434822a6b71941b37015a2b0d1727c
Author: DJ Delorie <address@hidden>
Date:   Sat Jun 1 01:01:43 2013 +0000

    merge from gcc

diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index a30a363..96bc317 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,15 @@
+2013-05-31  Matt Burgess <address@hidden>
+
+       PR other/56780
+       * libiberty/configure.ac: Move test for --enable-install-libiberty
+       outside of the 'with_target_subdir' test so that it actually gets
+       run.  Add output messages to show the test result.
+       * libiberty/configure: Regenerate.
+       * libiberty/Makefile.in (install_to_libdir): Place the
+       installation of the libiberty library in the same guard as that
+       used for the headers to prevent it being installed unless
+       requested via --enable-install-libiberty.
+


There is some code should be move together.

-----------------
# For each of these functions, if the host does not provide the
# function we want to put FN.o in LIBOBJS, and if the host does
# provide the function, we want to define HAVE_FN in config.h.

setobjs=
CHECK=
target_header_dir=                    <======  this is root cause
if test -n "${with_target_subdir}"; then
-----------------

Because ${target_header_dir} is empty, libiberty.a will never be install.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

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