From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 110671 invoked by alias); 2 Oct 2017 14:01:34 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 110607 invoked by uid 89); 2 Oct 2017 14:01:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-9.1 required=5.0 tests=BAYES_00,GIT_PATCH_2,GIT_PATCH_3,RP_MATCHES_RCVD,SPF_HELO_PASS,UNWANTED_LANGUAGE_BODY autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 02 Oct 2017 14:01:27 +0000 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id EF9F181E16; Mon, 2 Oct 2017 14:01:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com EF9F181E16 Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=jakub@redhat.com Received: from tucnak.zalov.cz (ovpn-116-41.ams2.redhat.com [10.36.116.41]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5EBE56F984; Mon, 2 Oct 2017 14:01:25 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id v92E1MrL014278; Mon, 2 Oct 2017 16:01:22 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id v92E1Kek014277; Mon, 2 Oct 2017 16:01:20 +0200 Date: Mon, 02 Oct 2017 14:01:00 -0000 From: Jakub Jelinek To: Martin =?utf-8?B?TGnFoWth?= Cc: Ian Lance Taylor , Denis Khalikov , GCC Patches Subject: Re: [PATCH][PR sanitizer/77631] Support separate debug info in libbacktrace Message-ID: <20171002140120.GZ1701@tucnak> Reply-To: Jakub Jelinek References: <2b505c8c-a836-6079-f744-3e9f8acf9356@partner.samsung.com> <9396366a-47ab-899c-cbcb-e79af1338869@partner.samsung.com> <20171002113201.GV1701@tucnak> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171002113201.GV1701@tucnak> User-Agent: Mutt/1.7.1 (2016-10-04) X-IsSubscribed: yes X-SW-Source: 2017-10/txt/msg00060.txt.bz2 On Mon, Oct 02, 2017 at 01:32:01PM +0200, Jakub Jelinek wrote: > On Mon, Oct 02, 2017 at 01:12:24PM +0200, Martin Liška wrote: > > Hi. > > > > Currently I see with --with-build-config=bootstrap-ubsan: > > > > /home/marxin/BIG/buildbot/slave/gcc-master-bootstrap-ubsan/build/builddir/prev-x86_64-pc-linux-gnu/libsanitizer/ubsan/.libs/libubsan.a(elf.o): In function `backtrace_uncompress_zdebug': > > /home/marxin/BIG/buildbot/slave/gcc-master-bootstrap-ubsan/build/builddir/x86_64-pc-linux-gnu/libsanitizer/libbacktrace/../../.././../libsanitizer/libbacktrace/../../libbacktrace/elf.c:2489: multiple definition of `backtrace_uncompress_zdebug' > > ../libbacktrace/.libs/libbacktrace.a(elf.o):/home/marxin/BIG/buildbot/slave/gcc-master-bootstrap-ubsan/build/builddir/libbacktrace/.././../libbacktrace/elf.c:2489: first defined here > > collect2: error: ld returned 1 exit status > > make[3]: *** [Makefile:2904: gcov] Error 1 > > make[3]: *** Waiting for unfinished jobs.... > > I think this should fix it, I'm going to bootstrap/regtest this now (though > not --with-build-config=bootstrap-ubsan). > > 2017-10-02 Jakub Jelinek > > * libbacktrace/backtrace-rename.h (backtrace_uncompress_zdebug): > Define. Committed as obvious after bootstrap/regtest on x86_64-linux and i686-linux. > > --- libsanitizer/libbacktrace/backtrace-rename.h.jj 2014-09-25 15:01:25.000000000 +0200 > +++ libsanitizer/libbacktrace/backtrace-rename.h 2017-10-02 13:30:23.096271411 +0200 > @@ -11,6 +11,7 @@ > #define backtrace_qsort __asan_backtrace_qsort > #define backtrace_release_view __asan_backtrace_release_view > #define backtrace_syminfo __asan_backtrace_syminfo > +#define backtrace_uncompress_zdebug __asan_backtrace_uncompress_zdebug > #define backtrace_vector_finish __asan_backtrace_vector_finish > #define backtrace_vector_grow __asan_backtrace_vector_grow > #define backtrace_vector_release __asan_backtrace_vector_release Jakub