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

Bug#631256: eglibc: ftbfs with binutils-gold: "These critical programs are missing or too old: ld"



tags 631256 + fixed-upstream
quit

Jonathan Nieder wrote:

> with minor changes, it builds but the resulting ld.so
> segfaults[*].

Yes!  A build with binutils-gold works now (no segfault).  Using
25ad0df1 ("Bug fixes for ____longjmp_chk on sparc", 2011-08-22) with
the "Make ld --version output matching grok gold's output" patch
applied.

	git clone .../glibc.git
	git merge origin/roland/gold-vs-libc
	git apply <<-\EOF
diff --git i/posix/Makefile w/posix/Makefile
index 499d53d3..b2003421 100644
--- i/posix/Makefile
+++ w/posix/Makefile
@@ -208,6 +208,7 @@ bug-regex23-ENV = LOCPATH=$(common-objpfx)localedata
 bug-regex25-ENV = LOCPATH=$(common-objpfx)localedata
 bug-regex26-ENV = LOCPATH=$(common-objpfx)localedata
 bug-regex30-ENV = LOCPATH=$(common-objpfx)localedata
+bug-regex32-ENV = LOCPATH=$(common-objpfx)localedata
 tst-rxspencer-ARGS = --utf8 rxspencer/tests
 tst-rxspencer-ENV = LOCPATH=$(common-objpfx)localedata
 tst-pcre-ARGS = PCRE.tests
	EOF
	mkdir build
	ln -s /lib/x86_64-linux-gnu/libgcc_s.so.1 .
	cd build && ../configure && make && make check



Reply to: