From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A4A423858000; Tue, 13 Feb 2024 17:48:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A4A423858000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1707846512; bh=kXi0/lW7XNIbnOppBX8LHvXMx4huDreQeaKOHmXj9Aw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Su6d3ROZ4Uy30XYYcisKOoiC0e5JMCtaTYzuY13hE/UVwtDOyuiHs0mOFrfZglX5m lcgqA/8dY8r+1CemS6QhBWusz1cyRKgbSj0XBQFN8SZGpvFah2CemeJCa8qqweBOIX du+VYAGRgY2SckqMX7U4kRVkrycauE6/NMEbajmc= From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug build/31316] Fails test misc/tst-dirname "Didn't expect signal from child: got `Illegal instruction'" on non SSE CPUs Date: Tue, 13 Feb 2024 17:48:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: 2.38 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31316 --- Comment #7 from Florian Weimer --- These diagnostics look fine. I think the issue is that in sysdeps/i386/i686/multiarch/memrchr-sse2.S, we have strong_alias (__memrchr_sse2, __GI___memrchr) under #if IS_IN (libc). This unconditionally sets the default implementation for libc.so.6 to the SSE2 one. That should probably be in sysdeps/i386/i686/multiarch/memrchr-c.c, for __memrchr_ia32. Completely untested: diff --git a/sysdeps/i386/i686/multiarch/memrchr-c.c b/sysdeps/i386/i686/multiarch/memrchr-c.c index ef7bbbe792..20bfdf3af3 100644 --- a/sysdeps/i386/i686/multiarch/memrchr-c.c +++ b/sysdeps/i386/i686/multiarch/memrchr-c.c @@ -5,3 +5,4 @@ extern void *__memrchr_ia32 (const void *, int, size_t); #endif #include "string/memrchr.c" +strong_alias (__memrchr_ia32, __GI___memrchr) diff --git a/sysdeps/i386/i686/multiarch/memrchr-sse2.S b/sysdeps/i386/i686/multiarch/memrchr-sse2.S index d9dae04171..e123f87435 100644 --- a/sysdeps/i386/i686/multiarch/memrchr-sse2.S +++ b/sysdeps/i386/i686/multiarch/memrchr-sse2.S @@ -720,5 +720,4 @@ L(ret_null): ret END (__memrchr_sse2) -strong_alias (__memrchr_sse2, __GI___memrchr) #endif --=20 You are receiving this mail because: You are on the CC list for the bug.=