Skip to content

check if GNU nm is really needed and if so let configure detect gnm

building ghc-7.8.20140130 under Solaris fails with a non-GNU nm as follows:

inplace/bin/deriveConstants --gen-header -o includes/dist-derivedconstants/header/DerivedConstants.h --tmpdir includes/dist-derivedconstants/header/ --gcc-program "/opt/csw/bin/gcc" --gcc-flag -U__i686 --gcc-flag -fno-stack-protector --gcc-flag -Iincludes --gcc-flag -Iincludes/dist --gcc-flag -Iincludes/dist-derivedconstants/header --gcc-flag -Iincludes/dist-ghcconstants/header --gcc-flag -Irts --gcc-flag -fcommon --nm-program "/usr/ccs/bin/nm"
Can't find "STD_HDR_SIZE"
gmake[1]: *** [includes/dist-derivedconstants/header/DerivedConstants.h]
Trac metadata
Trac field Value
Version 7.8.1-rc1
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC kgardas
Operating system
Architecture
Edited by Christian Maeder
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information