From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 64193 invoked by alias); 9 Mar 2015 23:25:57 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 64139 invoked by uid 48); 9 Mar 2015 23:25:53 -0000 From: "hjl.tools at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug build/14995] glibc fails to build if gold is the default linker, even if ld.bfd is available Date: Mon, 09 Mar 2015 23:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: 2.21 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: hjl.tools at gmail dot com X-Bugzilla-Target-Milestone: 2.22 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-03/txt/msg00098.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=14995 --- Comment #10 from H.J. Lu --- Gold can create glibc share libraries. but with incorrect versioned symbols. Some symbols in libc.so, like_res@GLIBC_2.2.5, are deprecated. Those symbols have @GLIBC_X.Y.Z suffixes. But gold 1.11 (20150309) generates: _res@@GLIBC_2.2.5 __ctype32_b@@GLIBC_2.2.5 __ctype32_tolower@@GLIBC_2.2.5 __ctype32_toupper@@GLIBC_2.2.5 __ctype_b@@GLIBC_2.2.5 __ctype_tolower@@GLIBC_2.2.5 __ctype_toupper@@GLIBC_2.2.5 instead of _res@GLIBC_2.2.5 __ctype32_b@GLIBC_2.2.5 __ctype32_tolower@GLIBC_2.2.5 __ctype32_toupper@GLIBC_2.2.5 __ctype_b@GLIBC_2.2.5 __ctype_tolower@GLIBC_2.2.5 __ctype_toupper@GLIBC_2.2.5 -- You are receiving this mail because: You are on the CC list for the bug.