From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 7098A385840F; Fri, 9 Feb 2024 17:37:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7098A385840F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1707500259; bh=xODSnT+v+vYdGw+Nw5Vv0WqgTP895B5Ds9tZVYMY4v4=; h=From:To:Subject:Date:From; b=Mo2ZArUxFkGCVpZTcvryEw0IZoeJ6aRikLsuZC9mmSpGsD5YkyET6vaUtAOVbnljY jgy33Z9OHuNfxMIOIw2j3yZo8PqoPrgRG3nUmMI4gB7imMk0/xGFNTxORaPrkS9Nr3 lU2hqK+oKgiWF1tbL25/T4J6e5Sy4O1JVJ6kKLNI= 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: 0974bec8f4835d84933399a914fb18e71cfa2efc X-Git-Newrev: d1b5fdd9292292444976d51a2014934021ed25b9 Message-Id: <20240209173739.7098A385840F@sourceware.org> Date: Fri, 9 Feb 2024 17:37:38 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d1b5fdd9292292444976d51a2014934021ed25b9 commit d1b5fdd9292292444976d51a2014934021ed25b9 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 }