binutils/binutils: warn if only gold is selected
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Apr 04 01:00:17 2011 +0200 (2011-04-04)
changeset 2374e99f599ff64d
parent 2373 edbd46e8bb97
child 2375 1752ade7dc52
binutils/binutils: warn if only gold is selected

gold is not capable of building glibc/eglibc. See this thread:
http://sourceware.org/ml/crossgcc/2011-04/msg00010.html

Reported-by: Bill Pringlemeir <bpringle@sympatico.ca>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
config/binutils/binutils.in
     1.1 --- a/config/binutils/binutils.in	Sun Apr 03 23:44:57 2011 +0200
     1.2 +++ b/config/binutils/binutils.in	Mon Apr 04 01:00:17 2011 +0200
     1.3 @@ -133,6 +133,11 @@
     1.4  
     1.5  endchoice # Enable linkers
     1.6  
     1.7 +if BINUTILS_LINKER_GOLD
     1.8 +comment "WARNING! gold is not capable of"
     1.9 +comment "|         building glibc/eglibc!"
    1.10 +endif # BINUTILS_LINKER_GOLD
    1.11 +
    1.12  config BINUTILS_GOLD_INSTALLED
    1.13      bool
    1.14