From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 3C3A93858C52; Tue, 4 Oct 2022 13:04:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3C3A93858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1664888650; bh=SibdyD8XDSKGaOn8/76sYaAy5a55pTe41p61AwvGQoA=; h=From:To:Subject:Date:From; b=PGjdRMi2Z6vJau9ML5M49psuA73Gn0pR1LBuEDNfmVI+b7pbBRFN2PkIBGWjq4F/0 GbOJDuYDYAYwKGUQuJ2QXHGC8e1mf/CxEZMucVyliMlNXcYjWpReQBZ5LQUxZre41M EIUqKrzOK4Dn47XutZoTp8PgalvZ+bvm8HBQKiGM= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc/azanella/clang] elf: Disable tst-dlopen-nodelete-reloc if compiler does not generate STB_GNU_UNIQUE X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/azanella/clang X-Git-Oldrev: 8cb4a6840dad81abf9d71a6ac4dba4fd30a79808 X-Git-Newrev: 29e993bdffa157b71629a8e008e8bf86274bc5ea Message-Id: <20221004130410.3C3A93858C52@sourceware.org> Date: Tue, 4 Oct 2022 13:04:10 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=29e993bdffa157b71629a8e008e8bf86274bc5ea commit 29e993bdffa157b71629a8e008e8bf86274bc5ea Author: Adhemerval Zanella Date: Thu May 12 15:36:01 2022 -0300 elf: Disable tst-dlopen-nodelete-reloc if compiler does not generate STB_GNU_UNIQUE The test requires STB_GNU_UNIQUE symbols so NODELETE is propagated by do_lookup_unique. Diff: --- elf/Makefile | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/elf/Makefile b/elf/Makefile index 396e84becc..e6707bd544 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -474,11 +474,15 @@ tests += \ valgrind-test \ # tests tests-cxx = \ - tst-dlopen-nodelete-reloc \ tst-nodelete \ tst-unique3 \ tst-unique4 \ # tests-cxx +ifeq (yes,$(config-gnu-unique-object)) +tests-cxx += \ + tst-dlopen-nodelete-reloc \ + # tests-cxx +endif tests += $(if $(CXX),$(tests-cxx)) @@ -944,6 +948,15 @@ modules-names += \ # modules-names modules-names-cxx = \ + tst-nodelete-rtldmod \ + tst-nodelete-uniquemod \ + tst-nodelete-zmod \ + tst-unique3lib \ + tst-unique3lib2 \ + tst-unique4lib \ + # modules-names-cxx +ifeq (yes,$(config-gnu-unique-object)) +modules-names-cxx += \ tst-dlopen-nodelete-reloc-mod1 \ tst-dlopen-nodelete-reloc-mod10 \ tst-dlopen-nodelete-reloc-mod11 \ @@ -961,13 +974,8 @@ modules-names-cxx = \ tst-dlopen-nodelete-reloc-mod7 \ tst-dlopen-nodelete-reloc-mod8 \ tst-dlopen-nodelete-reloc-mod9 \ - tst-nodelete-rtldmod \ - tst-nodelete-uniquemod \ - tst-nodelete-zmod \ - tst-unique3lib \ - tst-unique3lib2 \ - tst-unique4lib \ # modules-names-cxx +endif modules-names += \ $(if $(CXX),$(modules-names-cxx)) \