Bug 464 - IA64 math functions aren't weak
Summary: IA64 math functions aren't weak
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: math (show other bugs)
Version: 2.3.3
: P2 critical
Target Milestone: ---
Assignee: Andreas Jaeger
URL:
Keywords:
Depends on: 592
Blocks:
  Show dependency treegraph
 
Reported: 2004-10-21 18:03 UTC by H.J. Lu
Modified: 2019-04-10 12:04 UTC (History)
1 user (show)

See Also:
Host: ia64-unknown-linux-gnu
Target: ia64-unknown-linux-gnu
Build: ia64-unknown-linux-gnu
Last reconfirmed:
Project(s) to access:
ssh public key:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2004-10-21 18:03:47 UTC
There are

[hjl@gnu-20 hjl]$ readelf -s /usr/lib/libm.a | grep " coshf"
     5: 00000000   145 FUNC    WEAK   DEFAULT    1 coshf

on ia32 and x86_64, but

[hjl@gnu-2 kernel]$ readelf -s /usr/lib/libm.a | grep " coshf"
    13: 0000000000000000  1616 FUNC    GLOBAL DEFAULT    1 coshf

on ia64. As the result, people can't override math functions in libm.a on
ia64 since other internal math functions in libm.a, like __ieee754_coshf,
are needed by glibc, which leads to symbol multiple definition error.
Comment 1 H.J. Lu 2004-10-26 20:37:05 UTC
A patch is posted at

http://sources.redhat.com/ml/libc-alpha/2004-10/msg00158.html
Comment 2 Andreas Schwab 2004-11-30 11:09:46 UTC
Bug 592 has a better fix. 
Comment 3 Andreas Jaeger 2005-01-07 06:38:28 UTC
This should be fixed as part of #592.