binary package wants uncheckedShift functions to be exported from base
darcs get http://darcs.haskell.org/binary
cd binary
ghc --make Setup.lhs
./Setup configure --ghc [--with-compiler=/home/isaac/install/ghc-6.6.20070415/bin/ghc]
- /Setup build # 6.6
Preprocessing library binary-0.3...
Building binary-0.3...
[1 of 4] Compiling Data.Binary.Builder ( src/Data/Binary/Builder.hs, dist/build/Data/Binary/Builder.o )
[2 of 4] Compiling Data.Binary.Get ( src/Data/Binary/Get.hs, dist/build/Data/Binary/Get.o )
[3 of 4] Compiling Data.Binary.Put ( src/Data/Binary/Put.hs, dist/build/Data/Binary/Put.o )
[4 of 4] Compiling Data.Binary ( src/Data/Binary.hs, dist/build/Data/Binary.o )
...
- /Setup build # 6.6.20070415
Preprocessing library binary-0.3...
Building binary-0.3...
[1 of 4] Compiling Data.Binary.Builder ( src/Data/Binary/Builder.hs, dist/build/Data/Binary/Builder.o )
/tmp/ghc3685_0/ghc3685_0.hc: In function ‘s3cf_ret’:
/tmp/ghc3685_0/ghc3685_0.hc:1568:0:
warning: implicit declaration of function ‘stg_uncheckedShiftRL64’
[2 of 4] Compiling Data.Binary.Get ( src/Data/Binary/Get.hs, dist/build/Data/Binary/Get.o )
/tmp/ghc3685_0/ghc3685_0.hc: In function ‘s5Cn_ret’:
/tmp/ghc3685_0/ghc3685_0.hc:609:0:
warning: implicit declaration of function ‘stg_uncheckedShiftL64’
[3 of 4] Compiling Data.Binary.Put ( src/Data/Binary/Put.hs, dist/build/Data/Binary/Put.o )
[4 of 4] Compiling Data.Binary ( src/Data/Binary.hs, dist/build/Data/Binary.o )
/tmp/ghc3685_0/ghc3685_0.hc: In function ‘sdYB_ret’:
/tmp/ghc3685_0/ghc3685_0.hc:1142:0:
warning: implicit declaration of function ‘stg_uncheckedShiftRL64’
/tmp/ghc3685_0/ghc3685_0.hc: In function ‘rbKZ_entry’:
/tmp/ghc3685_0/ghc3685_0.hc:2759:0:
warning: implicit declaration of function ‘stg_uncheckedShiftL64’
/usr/bin/ar: creating dist/build/libHSbinary-0.3.a
See <http://www.indiegigs.co.uk:8010/linux_ppc/builds/111/step-yhc/0> errors at the end from ghc-6.6.20070415 on the same "binary" library for the Yhc buildbot. I don't know if this error is a regression versus 6.6 and I can't figure out how to reproduce it outside my Yhc-buildbot (I tried building the library with a wrapper shell script ghc-6.6.20070415 "$@" -O0 -fasm, and it succeeded building the Binary library without any warnings OR errors, so I don't know what's going on...)
(I'm not entirely sure, since Ubuntu 7.04 packagers build my 6.6, so maybe they did something to it that made it work better -- made it unregisterised, at least, and unable to use ghci or produce -fasm output. But the ghc-6.6.20070415 warning messages above, from the .hc look to be -fvia-C, and produced by the C compiler before any mangler starts on the produced assembly...)
Trac metadata
Trac field | Value |
---|---|
Version | 6.6 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Linux |
Architecture | powerpc |