From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 41752385781A; Mon, 23 Nov 2020 01:45:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 41752385781A From: "glaubitz at physik dot fu-berlin.de" To: glibc-bugs@sourceware.org Subject: [Bug ports/26932] New: sh: Multiple floating point functions defined as stubs only since 2.31 Date: Mon, 23 Nov 2020 01:45:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: ports X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: glaubitz at physik dot fu-berlin.de 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: 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 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Nov 2020 01:45:13 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26932 Bug ID: 26932 Summary: sh: Multiple floating point functions defined as stubs only since 2.31 Product: glibc Version: 2.31 Status: UNCONFIRMED Severity: normal Priority: P2 Component: ports Assignee: unassigned at sourceware dot org Reporter: glaubitz at physik dot fu-berlin.de CC: adhemerval.zanella at linaro dot org, aurelien at aurel= 32 dot net, carlos at redhat dot com, sourceware-bugzilla at mkarcher dot dialup.fu-berlin.de Target Milestone: --- Recently firebird3.0 started to fail to build from source on sh4 [1]. After some debugging, it turned out that the problem is that with glibc 2.3= 1, multiple floating point functions, including fegetenv() are no longer avail= able and are hence defined as __stub_ macros. The complete list of missing functions can be seen by diffing the stubs.h header: --- stubs-2.30.h 2020-03-20 14:24:22.000000000 +0100 +++ stubs-2.31.h 2020-10-19 16:37:57.000000000 +0200 @@ -12,10 +12,25 @@ #define __stub___compat_query_module #define __stub_chflags #define __stub_fchflags +#define __stub_feclearexcept +#define __stub_fedisableexcept +#define __stub_feenableexcept +#define __stub_fegetenv +#define __stub_fegetexcept +#define __stub_fegetexceptflag +#define __stub_fegetmode +#define __stub_fegetround +#define __stub_feholdexcept +#define __stub_feraiseexcept +#define __stub_fesetenv +#define __stub_fesetexcept +#define __stub_fesetexceptflag +#define __stub_fesetmode +#define __stub_fesetround +#define __stub_fetestexcept +#define __stub_feupdateenv #define __stub_gtty #define __stub_lchmod -#define __stub_pkey_alloc -#define __stub_pkey_free #define __stub_revoke #define __stub_setlogin #define __stub_sigreturn Bisecting led me to this commit as the culprit: commit 605f38177dba31fe0d0183abb67e25a28fd37d15 (refs/bisect/bad) Author: Adhemerval Zanella Date: Tue Jul 23 17:25:57 2019 -0300 sh: Split BE/LE abilist The fix for BZ#18231 requires new symbols only for sh4eb. This patch adds the required folder and files for both BE and LE abilist. No semantic changes are expected. Checked with check-abi for sh4eb-linux-gnu and sh4-linux-gnu. * sysdeps/sh/preconfigure.ac: New file. * sysdeps/sh/preconfigure: Regenerate. * sysdeps/sh/be/sh3/Implies: New file. * sysdeps/sh/be/sh4/Implies: Likewise. * sysdeps/sh/le/sh3/Implies: Likewise. * sysdeps/sh/le/sh4/Implies: Likewise. * sysdeps/unix/sysv/linux/sh/le/sh3/Implies: Likewise. * sysdeps/unix/sysv/linux/sh/le/sh4/Implies: Likewise. * sysdeps/unix/sysv/linux/sh/*.abilist: Move to sysdeps/unix/sysv/linux/sh/le/*.abilist. * sysdeps/unix/sysv/linux/sh/be/*.abilist: New files. It looks like the files sysdeps/sh/{le,be}/Implies are missing, I added them with the content "sh" but that didn't help but chances are I did something wrong as I don't fully understand the mechanism. Since this affects 2.31 and higher, it would be nice if the fix could get backported to the 2.31 branch. > [1] https://buildd.debian.org/status/fetch.php?pkg=3Dfirebird3.0&arch=3Ds= h4&ver=3D3.0.7.33374.ds4-1&stamp=3D1603219363&raw=3D0 --=20 You are receiving this mail because: You are on the CC list for the bug.=