Bug 129712 - Headers are not completely compatible with the i386 headers
Summary: Headers are not completely compatible with the i386 headers
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: rawhide
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-08-11 23:55 UTC by Miloslav Trmač
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-03-01 12:40:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Sourceware 632 0 None None None Never

Description Miloslav Trmač 2004-08-11 23:55:29 UTC
Version-Release number of selected component (if applicable):
2.3.3-39

While most header files protect differences between x86_64 and
i386 by #if... __WORDSIZE == 64 (to preserver binary compatibility
with i386 when compiled with gcc -m32), there are a few exceptions:

bits/fenv.h: x86_64 has an added __mxcsr member in fenv_t
bits/mathdef.h: x86_64 has float_t, double_t == float, double,
        should be long double for i386
bits/wchar.h: __WCHAR_MIN and WCHAR_MAX have type int even for 32-bit
        mode

gnu/lib-names.h: several differences
gnu/stubs.h: several differences
sys/elf.h: completely missing on x86_64
sys/procfs.h: several differences
sys/vm86.h: completely missing on x86_64

Comment 1 Bill Nottingham 2004-08-12 00:59:29 UTC
32 bit vm86() doesn't work in 64-bit mode, so not sure having
sys/vm86.h there helps. :)

Comment 3 Jakub Jelinek 2005-03-01 12:40:30 UTC
Together with the recent changes for e.g. gnu/lib-names.h and gnu/stubs.h,
I think all that is needed is fixed by now.


Note You need to log in before you can comment on or make changes to this bug.