From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 82BF03858414; Wed, 30 Aug 2023 12:41:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 82BF03858414 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1693399277; bh=Chbq1Ny30ND4c/YE/2HYR8M8Qp9EsnnQ8I+recIVpXM=; h=From:To:Subject:Date:From; b=wp+Ns0c4H7RcqWC1VPuDfIgdPCqndY2G45GJg2/8jC5hnk1JMoMampHVKmWpuXxFu ADNLLRO9owfTFAOIvtlVhJcSKXkcD5S90anL8mR5gvz5ebv811n+Q+VQ0+3DPyPCl8 WxIpkLQJhVs5Q3bI+aKndjhV7UKVK0JiqTw3h5k4= 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: 15a3fce607ddac79daf74f1c9282f749c4a6e3d9 X-Git-Newrev: cdce7c70aeab1a16b92027f9890a4a13fbc3d2c4 Message-Id: <20230830124117.82BF03858414@sourceware.org> Date: Wed, 30 Aug 2023 12:41:17 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=cdce7c70aeab1a16b92027f9890a4a13fbc3d2c4 commit cdce7c70aeab1a16b92027f9890a4a13fbc3d2c4 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 | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/elf/Makefile b/elf/Makefile index a8d933ef43..77db83dfb2 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -472,11 +472,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)) @@ -935,6 +939,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-mod2 \ tst-dlopen-nodelete-reloc-mod3 \ @@ -944,21 +957,8 @@ modules-names-cxx = \ tst-dlopen-nodelete-reloc-mod7 \ tst-dlopen-nodelete-reloc-mod8 \ tst-dlopen-nodelete-reloc-mod9 \ - tst-dlopen-nodelete-reloc-mod10 \ - tst-dlopen-nodelete-reloc-mod11 \ - tst-dlopen-nodelete-reloc-mod12 \ - tst-dlopen-nodelete-reloc-mod13 \ - tst-dlopen-nodelete-reloc-mod14 \ - tst-dlopen-nodelete-reloc-mod15 \ - tst-dlopen-nodelete-reloc-mod16 \ - tst-dlopen-nodelete-reloc-mod17 \ - 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)) \