From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 5A9713858028; Thu, 9 Feb 2023 19:53:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5A9713858028 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1675972393; bh=77zWrv8hhRTvCaF6nu2pE/aeyKVkYjz1AspCu7b1X54=; h=From:To:Subject:Date:From; b=XIjQeWhOp9aBwBdb6aqF0xSatyhfBsu0xxgmYZWG1GAC4/Ejm4gEhIPROgkEo9ADU 6A/NkERP+cqbM7BZzeBG0chc4L0UoonHvlqn8b53amgYxJ6jZDd0hGVlo/mRhokUnV wddeiRyaENeDoTHJC7I7sofOEUG5AxU41DtYuKBY= 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: b78b0eab4407ab73fc84b1d51a1ab5f840ccf218 X-Git-Newrev: 5bf43363c9c60e46c7fc6878236901450fdffc94 Message-Id: <20230209195313.5A9713858028@sourceware.org> Date: Thu, 9 Feb 2023 19:53:13 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5bf43363c9c60e46c7fc6878236901450fdffc94 commit 5bf43363c9c60e46c7fc6878236901450fdffc94 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 a1b42509af..9136be025f 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)) @@ -928,6 +932,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 \ @@ -945,13 +958,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)) \