From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17160 invoked by alias); 25 Aug 2009 17:20:48 -0000 Received: (qmail 17140 invoked by uid 22791); 25 Aug 2009 17:20:47 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SARE_SUB_OBFU_Q1,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 25 Aug 2009 17:20:36 +0000 Received: from spaceape7.eur.corp.google.com (spaceape7.eur.corp.google.com [172.28.16.141]) by smtp-out.google.com with ESMTP id n7PHKYo2004327 for ; Tue, 25 Aug 2009 10:20:34 -0700 Received: from pzk10 (pzk10.prod.google.com [10.243.19.138]) by spaceape7.eur.corp.google.com with ESMTP id n7PHJqiY011120 for ; Tue, 25 Aug 2009 10:20:31 -0700 Received: by pzk10 with SMTP id 10so1829840pzk.8 for ; Tue, 25 Aug 2009 10:20:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.141.26.19 with SMTP id d19mr2846371rvj.252.1251220830698; Tue, 25 Aug 2009 10:20:30 -0700 (PDT) In-Reply-To: <20090825084723.GA24462@host0.dyn.jankratochvil.net> References: <20090805044504.GJ4370@adacore.com> <4A7ABAF0.7010004@Sun.COM> <4A7FFAB3.7080903@Sun.COM> <8ac60eac0908101320k6cc20e9age92656cba254a5d4@mail.gmail.com> <4A812B8B.8040202@Sun.COM> <20090825084613.GA22242@host0.dyn.jankratochvil.net> <20090825084723.GA24462@host0.dyn.jankratochvil.net> Date: Tue, 25 Aug 2009 17:51:00 -0000 Message-ID: <8ac60eac0908251020w721af576tc18830a09449ea3c@mail.gmail.com> Subject: Re: [patch] [new testcase] Regression on qsort_cmp [Re: status of Darwin support] From: Paul Pluzhnikov To: Jan Kratochvil Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-08/txt/msg00422.txt.bz2 On Tue, Aug 25, 2009 at 1:47 AM, Jan Kratochvil wrote: > Requesting approval for the testcase check-in. > Tested on {x86_64,i686}-fedorarawhide-linux-gnu: > FAIL: gdb.base/solib-overlap.exp: 0x40000000: attach (GDB internal error) > FAIL: gdb.base/solib-overlap.exp: 0x50000000: attach (GDB internal error) Thanks for the test. It nicely reproduces the problem, and is fixed by the "remove assertions and deal with possible unexpected overlaps" patch I am working on :) I do have a general question on testing shlibs though: In order to run this test on x86_64, I had to do this: - set lib_flags {debug} + set lib_flags {debug additional_flags=-fpic} Otherwise, I get gdb.base/solib-overlap-lib.c.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC and the test goes UNTESTED. Shouldn't gdb_compile_shlib be adding '-fpic' automatically? Or is the above correct fix for that test? Thanks, -- Paul Pluzhnikov