From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21926 invoked by alias); 23 Nov 2012 12:43:55 -0000 Received: (qmail 21915 invoked by uid 22791); 23 Nov 2012 12:43:53 -0000 X-SWARE-Spam-Status: No, hits=-3.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO glazunov.sibelius.xs4all.nl) (83.163.83.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 23 Nov 2012 12:43:45 +0000 Received: from glazunov.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3) with ESMTP id qANChWqL030722; Fri, 23 Nov 2012 13:43:32 +0100 (CET) Received: (from kettenis@localhost) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3/Submit) id qANChRKG016417; Fri, 23 Nov 2012 13:43:27 +0100 (CET) Date: Fri, 23 Nov 2012 12:43:00 -0000 Message-Id: <201211231243.qANChRKG016417@glazunov.sibelius.xs4all.nl> From: Mark Kettenis To: palves@redhat.com CC: jan.kratochvil@redhat.com, gdb-patches@sourceware.org In-reply-to: <50AF65E1.1090308@redhat.com> (message from Pedro Alves on Fri, 23 Nov 2012 12:02:41 +0000) Subject: Re: [patch+7.5.1] Work around PR libc/13097 "linux-vdso.so.1" #3 References: <20121122201737.GA32172@host2.jankratochvil.net> <50AF65E1.1090308@redhat.com> 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: 2012-11/txt/msg00615.txt.bz2 > Date: Fri, 23 Nov 2012 12:02:41 +0000 > From: Pedro Alves > > On 11/22/2012 08:17 PM, Jan Kratochvil wrote: > > Hi, > > > > this is an updated version of > > [RFC] Work around PR libc/13097 "linux-vdso.so.1" #2 > > http://sourceware.org/ml/gdb-patches/2011-08/msg00331.html > > according to the Tom's comment > > http://sourceware.org/bugzilla/show_bug.cgi?id=14466#c3 > > > > I remembered it when Joel plans 7.5.1 release, the patch is safe enough and it > > is a FAQ at least on IRC. > > > > Fedora does not have this issue with its Fedora glibc but I have it > > reproducible with FSF glibc build: > > ./gdb -ex r --args $HOME/glibc-root/lib/ld-linux-x86-64.so.2 --library-path $HOME/glibc-root/lib /bin/true > > Starting program: /home/.../glibc-root/lib/ld-linux-x86-64.so.2 --library-path /home/.../glibc-root/lib /bin/true > > warning: Could not load shared library symbols for linux-vdso.so.1. > > Do you need "set solib-search-path" or "set sysroot"? > > [Inferior 1 (process 31807) exited normally] > > > > So there is no testcase as I do not know a real OS where it fails (it probably > > fails on Ubuntu AFAIK). > > > > No regressions on {x86_64,x86_64-m32,i686}-fedora18-linux-gnu. > > > > > > Won't real file based DSOs in the loader list _always_ be full paths, > never relative paths? I doubt it.