Bug 12258 - --enable-gold --enable-ld=default doesn't work
Summary: --enable-gold --enable-ld=default doesn't work
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: ld (show other bugs)
Version: 2.22
: P2 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-23 17:06 UTC by H.J. Lu
Modified: 2010-11-29 15:05 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
fix typo (228 bytes, patch)
2010-11-23 17:46 UTC, Matthias Klose
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.