From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 676B13827999; Thu, 28 Sep 2023 17:57:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 676B13827999 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1695923869; bh=u/K+CeSLztl0tlOM77m963F28/Q4+jv3qigqn4b3m54=; h=From:To:Subject:Date:From; b=qDlSK521Oq3Wo0ydu4O3eAwThAed9qYf6lAqzK6PoDd5JCb5+WS1OPUSo+W20zHZU 2SC8Lq4kFXU01MV+CLMhkHO4ccS6YI775MMfzGk26+z7AVGEUDfJBypqxpWKqDlnuN FFm8F7cPDPFMhog0rRALnVFUVwti05SAfrtdB51M= 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 unload4 test on clang X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/azanella/clang X-Git-Oldrev: c8aaadc449112a9f276a4c7eac84d47360a5ee5a X-Git-Newrev: a32a314b6e7f02e762de2fae40fa5fe54fda83e8 Message-Id: <20230928175749.676B13827999@sourceware.org> Date: Thu, 28 Sep 2023 17:57:49 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a32a314b6e7f02e762de2fae40fa5fe54fda83e8 commit a32a314b6e7f02e762de2fae40fa5fe54fda83e8 Author: Adhemerval Zanella Date: Fri Aug 26 09:24:25 2022 -0300 elf: Disable unload4 test on clang It triggers and infintie loop. Diff: --- elf/unload4.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/elf/unload4.c b/elf/unload4.c index 6e171a22e0..97ab6dafcc 100644 --- a/elf/unload4.c +++ b/elf/unload4.c @@ -5,6 +5,10 @@ int main (void) { +#ifdef __clang__ + /* It triggers an infinite loop on clang. */ + return 77; +#else #ifdef M_PERTURB mallopt (M_PERTURB, 0xaa); #endif @@ -45,4 +49,5 @@ main (void) } dlclose (h); return 0; +#endif }