[GHC] #7652: Testing freezes on FreeBSD 9.1.

GHC cvs-ghc at haskell.org
Sun Apr 21 02:04:53 CEST 2013


#7652: Testing freezes on FreeBSD 9.1.
---------------------------------+------------------------------------------
    Reporter:  kazu-yamamoto     |       Owner:  pgj         
        Type:  bug               |      Status:  new         
    Priority:  high              |   Milestone:  7.8.1       
   Component:  Compiler          |     Version:  7.7         
    Keywords:                    |          Os:  FreeBSD     
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown
  Difficulty:  Unknown           |    Testcase:              
   Blockedby:                    |    Blocking:              
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by kazu-yamamoto):

 Thank you for your effort.

 I have installed python 2.7 with pth. Unfortunately, "validate" stops when
 configuring the terminfo library:

 {{{
 % config_args="--prefix=/ghc-head --with-iconv-includes=/usr/local/include
 --with-iconv-libraries=/usr/local/lib --with-gmp-
 includes=/usr/local/include --with-gmp-libraries=/usr/local/lib --with-
 gcc=/usr/local/bin/gcc47 --with-gcc-4.2=/usr/local/bin/gcc47 --with-
 system-libffi  --with-ffi-includes=/usr/local/include --with-ffi-
 libraries=/usr/local/lib" THREADS=10 sh validate
 "inplace/bin/ghc-cabalghc-cabal" configure --with-ghc="/usr/local/bin/ghc"
 --wit
 h-ghc-pkg="/usr/local/bin/ghc-pkg"  --package-
 db=/usr/home/kazu/work/ghc/librari
 es/bootstrapping.conf --disable-library-for-ghci --enable-library-vanilla
 --disa
 ble-library-profiling --disable-shared --configure-option=CFLAGS="-Wall
 -fno-sta
 ck-protector    -Werror=unused-but-set-variable -Wno-error=inline"
 --configure-o
 ption=LDFLAGS=" -Wl,--hash-size=31 -Wl,--reduce-memory-overheads  "
 --configure-
 option=CPPFLAGS="   " --configure-option=--with-iconv-
 includes="/usr/local/inclu
 de" --configure-option=--with-iconv-libraries="/usr/local/lib"
 --configure-optio
 n=--with-gmp-includes="/usr/local/include" --configure-option=--with-gmp-
 librari
 es="/usr/local/lib"   --constraint "Cabal == 1.17.0"   --constraint "hpc
 == 0.6.
 0.1"   --constraint "bin-package-db == 0.0.0.0"   --constraint "hoopl ==
 3.10.0.
 0"   --constraint "transformers == 0.3.0.0"   --constraint "terminfo ==
 0.3.2.5"
  --with-gcc="cc" --configure-option=--with-cc="cc" --with-ar="/usr/bin/ar"
 --wit
 h-ranlib="true" --with-alex="/usr/local/bin/alex" --with-
 happy="/usr/local/bin/h
 appy" -- dist-boot libraries/terminfo
 Configuring terminfo-0.3.2.5...
 configure: WARNING: unrecognized options: --with-compiler, --with-iconv-
 includes
 , --with-iconv-libraries, --with-gmp-includes, --with-gmp-libraries,
 --with-gcc
 checking for gcc... cc
 checking whether the C compiler works... no
 configure: error: in `/usr/home/kazu/work/ghc/libraries/terminfo':
 configure: error: C compiler cannot create executables
 configure: error: in `/usr/home/kazu/work/ghc/libraries/terminfo':
 configure: error: C compiler cannot create executables
 See `config.log' for more details
 gmake[1]: *** [libraries/terminfo/dist-boot/package-data.mk] Error 77
 gmake: *** [all] Error 2
 }}}

 gcc47 is not inherited to terminfo. This is strange. Before DLL, these
 configuration options works fine to "validate".

 Note that "build" works fine with these configuration options.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7652#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list