From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3667 invoked by alias); 8 Jul 2009 15:58:18 -0000 Received: (qmail 3650 invoked by uid 22791); 8 Jul 2009 15:58:17 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from eu1sys200aog118.obsmtp.com (HELO eu1sys200aog118.obsmtp.com) (207.126.144.145) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 08 Jul 2009 15:58:10 +0000 Received: from source ([164.129.1.35]) (using TLSv1) by eu1sys200aob118.postini.com ([207.126.147.11]) with SMTP ID DSNKSlTCD68ymQqFjFMxYwYFqCY3j1v3T9lw@postini.com; Wed, 08 Jul 2009 15:58:09 UTC Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id ED3F2116 for ; Wed, 8 Jul 2009 15:58:06 +0000 (GMT) Received: from mail1.ctn.st.com (mail1.ctn.st.com [164.130.116.128]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 168CD4C711 for ; Wed, 8 Jul 2009 15:58:05 +0000 (GMT) Received: from ctn000509 (mdt-dhcp26.ctn.st.com [10.52.139.26]) by mail1.ctn.st.com (MOS 3.8.7a) with ESMTP id DBU08878 (AUTH arcidiaf); Wed, 8 Jul 2009 17:58:07 +0200 (CEST) From: Filippo ARCIDIACONO To: Subject: RE: [PATCH] Add TLS support for SH architecture. Date: Wed, 08 Jul 2009 15:58:00 -0000 Message-ID: <010601c9ffe4$e087c3b0$1a8b340a@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit In-Reply-To: <004901c9fa5d$f2cf1550$1a8b340a@st.com> X-IsSubscribed: yes Mailing-List: contact prelink-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: prelink-owner@sourceware.org X-SW-Source: 2009-q3/txt/msg00005.txt.bz2 [SNIP] > I looked again at the test failure, indeed it seems the > problem is in our libstdc++, While all other DSOs have a > valid dwarf2 .debug_aranges. > Our libstdc++ .debug_aranges seems to be not valid. > > readelf --debug-dump=aranges ./libstdc++.so.6 > > The section .debug_aranges contains: > > Length: 1028 > Version: 2 > Offset into .debug_info: 0x0 > Pointer Size: 4 > Segment Size: 0 > > Address Length > 00000000 00000000 <----- Spurious 8 bytes I skipped > 319c7b00 00000020 > 319c7b20 00000020 > 319c7b40 00000054 > 319c7b94 00000040 > 319c7bd4 00000012 > : > : > > I'll have a look at binutils. So I agree with you to discard > this part of the patch. This isn't sh4 specific issue but it is a known gcc bug in 4.2.4 version, fixed in 4.3. See http://gcc.gnu.org/ml/gcc-patches/2007-08/msg01200.html for detail, Where there is also a reference to prelink sanity check. > [SINP] Filippo.