Skip to content

Host's C info ending up in .hc files while cross-bootstrapping

hsc2hs does not seem to have access to the target's info, or at least not enough of it, at least in the posix package. I was able to hack around a differently-layout struct stat by hand which fixes obvious symptoms, and I'm strongly suspecting this also to be the cause of other strange behaviour that renders the compiled stage2 useless (it can't locate its builtin packages)

Trac metadata
Trac field Value
Version 6.12.1 RC1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information