From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 751583858C3A; Thu, 14 Mar 2024 14:01:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 751583858C3A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1710424914; bh=sapFV1Nc7Pom5YpybTs/D8UeeOpatPKACyCPhqgqlXE=; h=From:To:Subject:Date:From; b=VLhVyt86UC3wMCmQNqiuB+6DKcb0MfOCyFJnb7Kt7HJ0OBCmtYCH97WlKVYxWMpjy QXjPg87YQazZMlP8q9RK+++JMn66i3BqH3oZ1aP9xdKjMYOPCcTJZDMcmn+SRuQAzb PdD8+5SMaClRUs5+qeA4VA81YKRKtf7QFueAR/+M= From: "akhilesh.k at samsung dot com" To: glibc-bugs@sourceware.org Subject: [Bug math/31488] New: undefined reference to `fmod'" error for i586 Date: Thu, 14 Mar 2024 14:01:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.38 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: akhilesh.k at samsung dot com X-Bugzilla-Status: NEW 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 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31488 Bug ID: 31488 Summary: undefined reference to `fmod'" error for i586 Product: glibc Version: 2.38 Status: NEW Severity: normal Priority: P2 Component: math Assignee: unassigned at sourceware dot org Reporter: akhilesh.k at samsung dot com Target Milestone: --- Hi=20 I am using glibc 2.38, while Some of external module compilation I observed= =20 "undefined reference to `fmod'" error.=20 I observed this only in x586 for risc-v working fine.=20 Reason, for i586 no "fmod" week symbol in libm.so, but same symbol is avail= able in risc-v compiled libm.so=20=20 Looks this behaviour is due to below changes.=20 https://sourceware.org/git/?p=3Dglibc.git;a=3Dcommitdiff;h=3D16439f419b2701= 84ec501c531bf20d83b6745fb0 i586 (no fmod week symbol) khilesh.k@DELL-BUILD01:~source/build$ nm lib/libm.so.6 | grep fmod 00000000000252a0 t __fmod 0000000000010af0 t __fmod_compat 00000000000143f0 t __fmod_compatf 0000000000038010 t __fmodf 0000000000063fb0 t __fmodf128 0000000000063fb0 W fmodf128 00000000000476e0 T __fmodf128_finite@GLIBC_2.26 0000000000038010 W fmodf32 00000000000252a0 W fmodf32x 00000000000252a0 W fmodf64 000000000000f320 W fmodf64x 0000000000038010 T __fmodf_finite@GLIBC_2.15 00000000000143f0 T fmodf@GLIBC_2.2.5 0000000000038010 T fmodf@@GLIBC_2.38 00000000000252a0 T __fmod_finite@GLIBC_2.15 0000000000010af0 T fmod@GLIBC_2.2.5 00000000000252a0 T fmod@@GLIBC_2.38 000000000000f320 t __fmodl 000000000000f320 W fmodl 0000000000015950 T __fmodl_finite@GLIBC_2.15 00000000000252a0 t __ieee754_fmod 0000000000038010 t __ieee754_fmodf 00000000000476e0 t __ieee754_fmodf128 0000000000015950 t __ieee754_fmodl 00000000000252a0 t __SI__fmod_1 0000000000010af0 t __SI__fmod_compat_0 00000000000143f0 t __SI__fmod_compatf_0 0000000000038010 t __SI__fmodf_0 00000000000252a0 t __SI__ieee754_fmod_0 0000000000038010 t __SI__ieee754_fmodf_1 00000000000476e0 t __SI__ieee754_fmodf128_0 0000000000015950 t __SI__ieee754_fmodl_0 Risc-v result (W fmod) khilesh.k@DELL-BUILD01:~$ nm ./riscv64-none-linux-gnu/sys-root/lib64/lp64d/libm.so.6 | grep fmod 0000000000026c12 t __fmod 0000000000026c12 W fmod 00000000000346f2 t __fmodf 00000000000346f2 W fmodf 00000000000237e0 W fmodf128 00000000000346f2 W fmodf32 0000000000026c12 W fmodf32x 0000000000026c12 W fmodf64 00000000000237e0 W fmodf64x Thanks=20 Akhilesh --=20 You are receiving this mail because: You are on the CC list for the bug.=