ghc.5.00.2 for i386/Solaris2.6 build err
I am trying to compile ghc.5.00.2 from source for
i386/Solaris 2.6
The initial build used ghc.4.08.2 to compile and was
apparently successful.
A rebuild with ghc.5.00.2 (to create ghci) gives the
following error:
../../ghc/compiler/ghc-inplace -optc-O -optc-O2
-optc-fomit-frame-pointer -optc-Wall -optc-W
-optc-Wstrict-prototypes -optc-Wmissing-prototypes
-optc-Wmissing-declarations -optc-Winline
-optc-Waggregate-return -optc-Wbad-function-cast -optc
-DCOMPILING_RTS -optc-DELF_TARGET_386 -ldl
-I../includes -I. -Iparallel -O2 -DCOMPILING_RTS
-static -c Adjustor.c -o Adjustor.o
ghc-5.00.2: Can't find package.conf in
/tmp_amd/glass/import/1/s0tanyaw/ghc5-sol-ghci/ghc/compiler/../driver/package.conf.inplace
make[2]: *** [Adjustor.o] Error
make[1]: *** [all] Error 1
make[1]: Leaving directory
`/tmp_amd/glass/import/1/s0tanyaw/ghc5-sol-ghci/ghc'
make: *** [all] Error 1
A truss of this compile command shows stat returning
EOVERFLOW:
<snip>
stat("/tmp_amd/glass/import/1/s0tanyaw/ghc5-sol-ghci/ghc/compiler/../driver/package.conf.inplace",0x0873D178)
Err#79 EOVERFLOW
A truss of an 'ls' shows it uses lstat64
% truss ls -ld
/tmp_amd/glass/import/1/s0tanyaw/ghc5-sol-ghci/ghc/compiler/../dr
iver/package.conf.inplace
...
lstat64("/tmp_amd/glass/import/1/s0tanyaw/ghc5-sol-ghci/ghc/compiler/../driver/package.conf.inplace",0x080477C0)
= 0
Any help appreciated.
Tanya. (tanyaw@cse.unsw.edu.au)
Trac metadata
Trac field |
Value |
Version |
5.0 |
Type |
Bug |
TypeOfFailure |
OtherFailure |
Priority |
normal |
Resolution |
ResolvedNoReason |
Component |
Compiler |
Test case |
|
Differential revisions |
|
BlockedBy |
|
Related |
|
Blocking |
|
CC |
|
Operating system |
|
Architecture |
|