1 Nov 2007 02:17
Re: [GHC] #1717: ghc-6.8 configure does not recognise 32bit userland on ppc64
GHC <trac <at> galois.com>
2007-11-01 01:17:13 GMT
2007-11-01 01:17:13 GMT
#1717: ghc-6.8 configure does not recognise 32bit userland on ppc64
-------------------------------------+--------------------------------------
Reporter: kahl <at> cas.mcmaster.ca | Owner:
Type: bug | Status: new
Priority: low | Milestone: 6.8 branch
Component: Build System | Version: 6.8
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Linux | Testcase: normal build
Architecture: powerpc64 |
-------------------------------------+--------------------------------------
Comment (by guest):
> This clearly isn't a serious problem
agreed.
> `uname -m` on your system claims `ppc64`, so that's what GHC uses as its
target by default
I would argue that `uname -m` is the the wrong source of information for
determining the target.
Since GHC produces assembly code (either directly or via C) that is
intended to link against at least certain libraries, it should take care
that it is compatible with those.
For example, compiling some floating-point primitives cbits together with
some dummy `main()` will link against `libm`; then one could use `ldd` to
find out which `libm` is used, and `file` to find out more about that:
(Continue reading)
RSS Feed