build system does not pass selected gcc when configuring unix package
The build system's top level ./configure
has a flag --with-gcc=
. All the library packages except the unix package use the same gcc. The unix package either does not get passed the selected location of gcc, or it ignores it. The ./configure for the unix package picks up the gcc from the $PATH.
This can be reproduced by putting a dummy gcc in your $PATH that is just a symlink to /bin/false
and using a top level ./configure --with-gcc=
When it gets to building the unix package it picks up the gcc from the $PATH:
Configuring unix-2.4.0.0...
configure: WARNING: unrecognized options: --with-compiler, --with-cc
checking for gcc... gcc
checking whether the C compiler works... no
This bug is platform independent but it's most relevant on Solaris where the default gcc is not usable by ghc.
Trac metadata
Trac field | Value |
---|---|
Version | 6.12.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Build System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |