From patchwork Mon Mar 17 22:29:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos O'Donell X-Patchwork-Id: 331208 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41B982C00AE for ; Tue, 18 Mar 2014 09:29:44 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=Nnev69v1Jq9p1u4y mLk5r5/+jH/Tr8iwakcAWj0AC+z+BCd9jYQlAgApsDBZnfGTkwUlFr6QDMNKhhMb DBZzT26zXM58XBn56S+3GUid7WscQNB7iY/2y7o75ArSKF4FSqCzAALWFG6tXLh0 3zpYSDZC8uQu/Jg7mN485/XPN08= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=exs82+Y5QkP03cH++f4TEZ jcJDQ=; b=dbtQD8/bfWvzTjiMVDQQUFaXH/2JE76Wu/MJKMIVZSbl8mmRiVlniz TDkx060aEvL2Wz+tWSmRguoxf/5RiNC0yOZvexYsGkDwLRFDSVarn5IGs90QAu/k fjEaTot+TRAJD9wFCKhcsEQmHbzyRVp/vRbbAA+5fbLrsRJRPmiAo= Received: (qmail 5436 invoked by alias); 17 Mar 2014 22:29:37 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 5426 invoked by uid 89); 17 Mar 2014 22:29:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL, BAYES_00, SPF_HELO_PASS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Message-ID: <5327774A.3000609@redhat.com> Date: Mon, 17 Mar 2014 18:29:30 -0400 From: "Carlos O'Donell" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Roland McGrath , Siddhesh Poyarekar CC: "GNU C. Library" Subject: Re: [PATCH roland/ehdr_start] Use __ehdr_start, when available, for rtld to get its own headers. References: <20140311222933.CC24274474@topped-with-meat.com> <20140317200749.A65E874461@topped-with-meat.com> In-Reply-To: <20140317200749.A65E874461@topped-with-meat.com> On 03/17/2014 04:07 PM, Roland McGrath wrote: >> This causes a failure in check-abi-ld. > > I have no problems on x86_64-linux-gnu with trunk binutils. > >> It looks like the additional symbol entry: >> >> 0000000000000000 g D .note.gnu.build-id 0000000000000000 Base >> .hidden __ehdr_start >> >> needs to either be accounted for in the abilist files or ignored in >> the abilist script. > > That looks like a binutils bug. __ehdr_start should never make it to > .dynsym. Give details about your libc configuration and your binutils > version. I see this on f19 build systems. ... Symbol table '.dynsym' contains 29 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND 1: 0000000000000ab0 0 SECTION LOCAL DEFAULT 10 2: 0000000000000000 0 NOTYPE GLOBAL HIDDEN 1 __ehdr_start ... GNU assembler version 2.23.52.0.1 (x86_64-redhat-linux) \ using BFD version version 2.23.52.0.1-9.fc19 20130226 ../../src/glibc/configure --prefix=/usr \ --with-headers=/home/carlos/install-linux/include \ --without-selinux --enable-add-ons=nptl Cheers, Carlos. --- ../sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist 2014-03-14 13:44:46.788247781 -0400 +++ /home/carlos/build/glibc-wundef/elf/ld.symlist 2014-03-17 01:17:11.841818363 -0400 @@ -0,0 +1,2 @@ +Base +__ehdr_start Base g ? D .hash 0000000000000000