[GHC] #8498: gcc hardcoded in build scripts! (ignores the --with-gcc= flag in configure)

GHC ghc-devs at haskell.org
Thu Mar 13 09:24:11 UTC 2014


#8498: gcc hardcoded in build scripts! (ignores the --with-gcc= flag in configure)
---------------------------------+------------------------------------
        Reporter:  carter        |            Owner:
            Type:  bug           |           Status:  new
        Priority:  high          |        Milestone:  7.8.1
       Component:  Compiler      |          Version:  7.7
      Resolution:                |         Keywords:
Operating System:  MacOS X       |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |       Difficulty:  Unknown
       Test Case:                |       Blocked By:
        Blocking:                |  Related Tickets:
---------------------------------+------------------------------------
Changes (by tibbe):

 * cc: simonmar (added)


Comment:

 Using `make -d` it seems like the RTS is indeed to blame:

 {{{
  Must remake target `rts/dist/build/.depend-v-dyn-l-debug-thr-thr_debug-
 thr_l-debug_dyn-thr_dyn-thr_debug_dyn-l_dyn-thr_l_dyn.c_asm'.
 "rm" -f rts/dist/build/.depend-v-dyn-l-debug-thr-thr_debug-thr_l-
 debug_dyn-thr_dyn-thr_debug_dyn-l_dyn-thr_l_dyn.c_asm.tmp
 Putting child 0x7fc32f874ae0 (rts/dist/build/.depend-v-dyn-l-debug-thr-
 thr_debug-thr_l-debug_dyn-thr_dyn-thr_debug_dyn-l_dyn-thr_l_dyn.c_asm) PID
 46072 on the chain.
 Live child 0x7fc32f874ae0 (rts/dist/build/.depend-v-dyn-l-debug-thr-
 thr_debug-thr_l-debug_dyn-thr_dyn-thr_debug_dyn-l_dyn-thr_l_dyn.c_asm) PID
 46072
 Reaping winning child 0x7fc32f874ae0 PID 46072
 gcc -E  -m64 -DPROFILING -DTHREADED_RTS -DDEBUG -Irts/dist/build  -m64
 -fno-stack-protector  -Wall -Wextra -Wstrict-prototypes  -Wmissing-
 prototypes  -Wmissing-declarations -Winline -Waggregate-return -Wpointer-
 arith -Wmissing-noreturn -Wnested-externs -Wredundant-decls  -Iincludes
 -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-
 ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -fno-strict-
 aliasing -fno-common -DDTRACE        -O2 -fomit-frame-pointer
 -DRtsWay=\"rts_v\" -Wno-strict-prototypes    -Wno-strict-prototypes  -MM
 -x c rts/Adjustor.c -MF rts/dist/build/.depend-v-dyn-l-debug-thr-
 thr_debug-thr_l-debug_dyn-thr_dyn-thr_debug_dyn-l_dyn-thr_l_dyn.c_asm.bit
 Live child 0x7fc32f874ae0 (rts/dist/build/.depend-v-dyn-l-debug-thr-
 thr_debug-thr_l-debug_dyn-thr_dyn-thr_debug_dyn-l_dyn-thr_l_dyn.c_asm) PID
 46074
 }}}

 Do we have anyone who understands the build system now when Ian isn't
 working at GHC HQ anymore? Simon M?

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


More information about the ghc-tickets mailing list