bootstrap openbsd powerpc - continues

Jake L lambda at
Tue Apr 14 03:40:33 EDT 2009

Okay, I worked through the .h issue(it was late at night), but wasn't 
able to make headway with 6.6.1(exception type ambiguities), so I switched 
platforms and downgraded to earlier versions:

take 2
target = powerpc-unknown-openbsd
host   = i386-unknown-linux with a running ghc 6.4.2

following the instruction here:

it finished the compiler phase's make boot && make (it didn't build RTS as 
the instruction fortold)

however, it now fails in the phase
$ cd H/libraries
$ make boot && make

==fptools== make boot -r;
  in /j/ghc-6.4.2/libraries/unix
../../ghc/utils/hsc2hs/hsc2hs-inplace -Iinclude -I../../mk/  -I. 
In file included from DynamicLinker.hsc:48:
include/HsUnix.h: In function '__hsunix_rtldNext':
include/HsUnix.h:103: error: 'RTLD_NEXT' undeclared (first use in this 
include/HsUnix.h:103: error: (Each undeclared identifier is reported only 
include/HsUnix.h:103: error: for each function it appears in.)
include/HsUnix.h: In function '__hsunix_rtldDefault':
include/HsUnix.h:107: error: 'RTLD_DEFAULT' undeclared (first use in this 
make[1]: *** [System/Posix/DynamicLinker.hs] Error 1
make: *** [boot] Error 1

some digging appears what I have ran into this bug:

any suggestions?


More information about the Glasgow-haskell-users mailing list