[GHC] #13696: rts/linker/ElfTypes.h does not compile on most of UNREG arches (and some registerised arches)
GHC
ghc-devs at haskell.org
Sun May 14 09:01:10 UTC 2017
#13696: rts/linker/ElfTypes.h does not compile on most of UNREG arches (and some
registerised arches)
-------------------------------------+-------------------------------------
Reporter: slyfox | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by slyfox):
Example output for toolchains I have (note mips64 is an ELFCLASS32 aka N32
ABI):
{{{
for gcc in /usr/bin/*gcc /usr/bin/*clang; do echo "$gcc :"; $gcc -dM -E -x
c /dev/null | egrep LP64; done
}}}
{{{
/usr/bin/aarch64-unknown-linux-gnu-gcc :
#define __LP64__ 1
#define _LP64 1
/usr/bin/afl-gcc :
afl-cc 2.39b by <lcamtuf at google.com>
#define __LP64__ 1
#define _LP64 1
/usr/bin/alpha-unknown-linux-gnu-gcc :
#define __LP64__ 1
#define _LP64 1
/usr/bin/armv5tel-softfloat-linux-gnueabi-gcc :
/usr/bin/armv7a-hardfloat-linux-gnueabi-gcc :
/usr/bin/armv7a-unknown-linux-gnueabi-gcc :
/usr/bin/gcc :
#define __LP64__ 1
#define _LP64 1
/usr/bin/hppa-unknown-linux-gnu-gcc :
/usr/bin/i686-w64-mingw32-gcc :
/usr/bin/ia64-unknown-linux-gnu-gcc :
#define __LP64__ 1
#define _LP64 1
/usr/bin/m68k-unknown-linux-gnu-gcc :
/usr/bin/mips64-unknown-linux-gnu-gcc :
/usr/bin/powerpc-unknown-linux-gnu-gcc :
/usr/bin/powerpc64-unknown-linux-gnu-gcc :
#define __LP64__ 1
#define _LP64 1
/usr/bin/powerpc64le-unknown-linux-gnu-gcc :
#define __LP64__ 1
#define _LP64 1
/usr/bin/s390x-unknown-linux-gnu-gcc :
#define __LP64__ 1
#define _LP64 1
/usr/bin/sparc-unknown-linux-gnu-gcc :
/usr/bin/sparc64-unknown-linux-gnu-gcc :
#define __LP64__ 1
#define _LP64 1
/usr/bin/winegcc :
/usr/bin/x86_64-pc-linux-gnu-gcc :
#define __LP64__ 1
#define _LP64 1
/usr/bin/x86_64-w64-mingw32-gcc :
/usr/bin/afl-clang :
afl-cc 2.39b by <lcamtuf at google.com>
#define _LP64 1
#define __LP64__ 1
/usr/bin/clang :
#define _LP64 1
#define __LP64__ 1
/usr/bin/i686-pc-linux-gnu-clang :
/usr/bin/x86_64-pc-linux-gnu-clang :
#define _LP64 1
#define __LP64__ 1
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13696#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list