From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 6803D384F703 for ; Tue, 13 Dec 2022 09:35:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6803D384F703 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1670924104; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type; bh=V0NE0tu67nkKGVQw6wB2Uq2r73CEcRWj3TPULSng9oQ=; b=SHRFr1ic/m5f3Kp4hNtY4U708IIVFAtDMcBbACvt/IWfFZrNxRfkXI4U04bhfbBBdIVO3n iMsMXtciOXajjQZxQYWPOBoeSz/0ojNHrWg0gvDj3Mj+YU7SrmLkrc5Vu62/wd22K5vuG9 hcdRGUgzn7zgtth6cMxtvypoZulQ9K8= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-440-ToiIP_mdNJKDTA1cc18rNg-1; Tue, 13 Dec 2022 04:35:02 -0500 X-MC-Unique: ToiIP_mdNJKDTA1cc18rNg-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6A4AE8038E6 for ; Tue, 13 Dec 2022 09:35:02 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.195.114]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0D3F61121314 for ; Tue, 13 Dec 2022 09:35:01 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 2BD9YvaM1939285 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Tue, 13 Dec 2022 10:34:57 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 2BD9Yua71939284 for gcc-patches@gcc.gnu.org; Tue, 13 Dec 2022 10:34:56 +0100 Date: Tue, 13 Dec 2022 10:34:56 +0100 From: Jakub Jelinek To: gcc-patches@gcc.gnu.org Subject: [committed] libsanitizer: Fix up libbacktrace build after r13-4547 [PR108072] Message-ID: Reply-To: Jakub Jelinek MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi! The r13-4547 commit added new non-static function to libbacktrace: backtrace_uncompress_zstd but for the libsanitizer use we need to rename it, so that it is in __asan_* namespace and doesn't clash with other copies of libbacktrace. Bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk as obvious. 2022-12-13 Jakub Jelinek PR sanitizer/108072 * libbacktrace/backtrace-rename.h (backtrace_uncompress_zstd): Define. --- libsanitizer/libbacktrace/backtrace-rename.h.jj 2020-09-22 09:49:22.532137619 +0200 +++ libsanitizer/libbacktrace/backtrace-rename.h 2022-12-12 14:09:01.681819952 +0100 @@ -13,6 +13,7 @@ #define backtrace_syminfo __asan_backtrace_syminfo #define backtrace_uncompress_lzma __asan_backtrace_uncompress_lzma #define backtrace_uncompress_zdebug __asan_backtrace_uncompress_zdebug +#define backtrace_uncompress_zstd __asan_backtrace_uncompress_zstd #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