Bug 12258

Summary: --enable-gold --enable-ld=default doesn't work
Product: binutils Reporter: H.J. Lu <hjl.tools>
Component: ldAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: doko
Priority: P2    
Version: 2.22   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Attachments: fix typo

Description H.J. Lu 2010-11-23 17:06:21 UTC
This checkin:

http://sourceware.org/ml/binutils-cvs/2010-11/msg00144.html

lead to

cd build-i686-linux; \
	/net/gnu-6/export/linux/src/binutils/binutils/configure \
		 \
		--enable-gold --enable-ld=default --enable-plugins --enable-thre
ads \
		--prefix=/usr/local \
		--with-local-prefix=/usr/local
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
configure: error: either gold or ld can be the default ld
make[1]: *** [config] Error 1
make[1]: Leaving directory `/export/build/linux/binutils-debug'
Comment 1 H.J. Lu 2010-11-23 17:29:12 UTC
Also "--enable-gold=default --enable-ld=default" is allowed.
Comment 2 Matthias Klose 2010-11-23 17:46:02 UTC
Created attachment 5135 [details]
fix typo

sorry, a typo. please could you check in this patch as obvious?
Comment 3 H.J. Lu 2010-11-29 15:05:41 UTC
Fixed.