Summary: | splay-tree doesn't support 64bit value on 32bit host | ||
---|---|---|---|
Product: | binutils | Reporter: | H.J. Lu <hjl.tools> |
Component: | ld | Assignee: | unassigned |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | bug-binutils |
Priority: | P1 | ||
Version: | 2.19 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: | ||
Bug Depends on: | |||
Bug Blocks: | 5755 | ||
Attachments: | This patch works for me. |
Description
H.J. Lu
2007-11-09 20:26:06 UTC
Created attachment 2083 [details]
This patch works for me.
One way to fix it is to provide both long and long long interfaces for splay-tree with the old interface as default. Applications can choose which one to use. We can skip the long long one if compiler doesn't support long long. A patch is posted at http://sourceware.org/ml/binutils/2007-11/msg00135.html 2 patches are posted at http://sourceware.org/ml/binutils/2007-11/msg00145.html http://sourceware.org/ml/binutils/2007-11/msg00158.html A patch is posted at http://sourceware.org/ml/binutils/2008-02/msg00068.html As of http://sourceware.org/ml/binutils-cvs/2008-02/msg00052.html http://sourceware.org/ml/binutils-cvs/2008-02/msg00053.html BFD no longer uses splay-tree.c, so this is no longer a ld bug. |