From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 9811B3858C62; Wed, 17 Apr 2024 20:12:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9811B3858C62 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1713384734; bh=Wg24Lo2szyeitBwCptlj0bB3ESZpaR3Lc73uBCtgw2g=; h=From:To:Subject:Date:From; b=hyi8EI/z4gO+pV0q/tgBVkDvN6S4vLUESEyKScSncgH/ITmCnvb+JCZ1nSpmIID0O A3mamuZBqU4gSUxWm65dOPR5pXfMNM1YsLhnLl0E9eCTv5PsASWL5y48K+HZpL7vEr n9i9SVrrfjaxB/rdZYnL9OCta2qmqjK4uLd4RzBk= 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: 250a53976c41fd52dabf56044ec4721b8ec331a5 X-Git-Newrev: e2aecf83252b829fa3704123e8c975938c0faeb5 Message-Id: <20240417201214.9811B3858C62@sourceware.org> Date: Wed, 17 Apr 2024 20:12:14 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e2aecf83252b829fa3704123e8c975938c0faeb5 commit e2aecf83252b829fa3704123e8c975938c0faeb5 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 42450f9453..0a901aef6a 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -486,11 +486,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)) @@ -965,6 +969,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 \ @@ -974,21 +987,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)) \