RC2 build failures on Debian: mips

Joachim Breitner mail at joachim-breitner.de
Tue Mar 4 15:29:12 UTC 2014


Hi,

building RC2 right now, and the failures have changed. Reporting as the
come in:

Am Donnerstag, den 06.02.2014, 13:36 +0000 schrieb Joachim Breitner:
> mips (https://buildd.debian.org/status/fetch.php?pkg=ghc&arch=mips&ver=7.8.20140130-1&stamp=1391631539)
> mipsel (https://buildd.debian.org/status/fetch.php?pkg=ghc&arch=mipsel&ver=7.8.20140130-1&stamp=1391660280)
> In file included from rts/sm/Evac.c:21:0:
> rts/sm/GCTDecl.h:139:2: error: #error Cannot find a way to declare the thread-local gc variable!
>  #error Cannot find a way to declare the thread-local gc variable!
>   ^
> make[2]: *** [rts/dist/build/.depend-v-p-dyn-l-debug-thr-thr_debug-thr_l-thr_p-debug_dyn-thr_dyn-thr_debug_dyn-l_dyn-thr_l_dyn-thr_debug_p.c_asm] Error 1
> make[2]: *** Waiting for unfinished jobs....
> echo "compiler_stage2_depfile_haskell_EXISTS = YES" >> compiler/stage2/build/.depend-v-p-dyn.haskell.tmp
> for dir in compiler/stage2/build/./ compiler/stage2/build/CodeGen/ compiler/stage2/build/CodeGen/Platform/ compiler/stage2/build/Hoopl/ compiler/stage2/build/Llvm/ compiler/stage2/build/LlvmCodeGen/ compiler/stage2/build/PPC/ compiler/stage2/build/RegAlloc/ compiler/stage2/build/RegAlloc/Graph/ compiler/stage2/build/RegAlloc/Linear/ compiler/stage2/build/RegAlloc/Linear/PPC/ compiler/stage2/build/RegAlloc/Linear/SPARC/ compiler/stage2/build/RegAlloc/Linear/X86/ compiler/stage2/build/RegAlloc/Linear/X86_64/ compiler/stage2/build/SPARC/ compiler/stage2/build/SPARC/CodeGen/ compiler/stage2/build/Vectorise/ compiler/stage2/build/Vectorise/Builtins/ compiler/stage2/build/Vectorise/Generic/ compiler/stage2/build/Vectorise/Monad/ compiler/stage2/build/Vectorise/Type/ compiler/stage2/build/Vectorise/Utils/ compiler/stage2/build/X86/; do if test ! -d $dir; then mkdir -p $dir; fi done
> grep -v ' : [a-zA-Z]:/' compiler/stage2/build/.depend-v-p-dyn.haskell.tmp > compiler/stage2/build/.depend-v-p-dyn.haskell.tmp2
> sed '/hs$/ p                                      ; /hs$/ s/o /hi /g                             ; /hs$/ s/:/ : %hi: %o /                       ; /hs$/ s/^/$(eval $(call hi-rule,/      ; /hs$/ s/$/))/                             ; /hs-boot$/ p                                 ; /hs-boot$/ s/o-boot /hi-boot /g              ; /hs-boot$/ s/:/ : %hi-boot: %o-boot /        ; /hs-boot$/ s/^/$(eval $(call hi-rule,/ ; /hs-boot$/ s/$/))/' compiler/stage2/build/.depend-v-p-dyn.haskell.tmp2 > compiler/stage2/build/.depend-v-p-dyn.haskell
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/«PKGBUILDDIR»'
> make: *** [build-stamp] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> 

Is now:

https://buildd.debian.org/status/fetch.php?pkg=ghc&arch=mipsel&ver=7.8.20140228-1&stamp=1393940600
"rm" -f rts/dist/build/libHSrts.a
echo rts/dist/build/Adjustor.o rts/dist/build/Arena.o rts/dist/build/Capability.o rts/dist/build/CheckUnload.o rts/dist/build/ClosureFlags.o rts/dist/build/Disassembler.o rts/dist/build/FileLock.o rts/dist/build/Globals.o rts/dist/build/Hash.o rts/dist/build/Hpc.o rts/dist/build/HsFFI.o rts/dist/build/Inlines.o rts/dist/build/Interpreter.o rts/dist/build/LdvProfile.o rts/dist/build/Linker.o rts/dist/build/Messages.o rts/dist/build/OldARMAtomic.o rts/dist/build/Papi.o rts/dist/build/Printer.o rts/dist/build/ProfHeap.o rts/dist/build/Profiling.o rts/dist/build/Proftimer.o rts/dist/build/RaiseAsync.o rts/dist/build/RetainerProfile.o rts/dist/build/RetainerSet.o rts/dist/build/RtsAPI.o rts/dist/build/RtsDllMain.o rts/dist/build/RtsFlags.o rts/dist/build/RtsMain.o rts/dist/build/RtsMessages.o rts/dist/build/RtsStartup.o rts/dist/build/RtsUtils.o rts/dist/build/STM.o rts/dist/build/Schedule.o rts/dist/build/Sparks.o rts/dist/build/Stable.o rts/dist/build/Stats.o rts/dist/build/StgCRun.o rts/dist/build/StgPrimFloat.o rts/dist/build/Task.o rts/dist/build/ThreadLabels.o rts/dist/build/ThreadPaused.o rts/dist/build/Threads.o rts/dist/build/Ticky.o rts/dist/build/Timer.o rts/dist/build/Trace.o rts/dist/build/WSDeque.o rts/dist/build/Weak.o rts/dist/build/hooks/FlagDefaults.o rts/dist/build/hooks/MallocFail.o rts/dist/build/hooks/OnExit.o rts/dist/build/hooks/OutOfHeap.o rts/dist/build/hooks/StackOverflow.o rts/dist/build/sm/BlockAlloc.o rts/dist/build/sm/Compact.o rts/dist/build/sm/Evac.o rts/dist/build/sm/GC.o rts/dist/build/sm/GCAux.o rts/dist/build/sm/GCUtils.o rts/dist/build/sm/MBlock.o rts/dist/build/sm/MarkWeak.o rts/dist/build/sm/Sanity.o rts/dist/build/sm/Scav.o rts/dist/build/sm/Storage.o rts/dist/build/sm/Sweep.o rts/dist/build/eventlog/EventLog.o rts/dist/build/posix/GetEnv.o rts/dist/build/posix/GetTime.o rts/dist/build/posix/Itimer.o rts/dist/build/posix/OSMem.o rts/dist/build/posix/OSThreads.o rts/dist/build/posix/Select.o rts/dist/build/posix/Signals.o rts/dist/build/posix/TTY.o   rts/dist/build/Apply.o rts/dist/build/Exception.o rts/dist/build/HeapStackCheck.o rts/dist/build/PrimOps.o rts/dist/build/StgMiscClosures.o rts/dist/build/StgStartup.o rts/dist/build/StgStdThunks.o rts/dist/build/Updates.o rts/dist/build/AutoApply.o  | "xargs"  "/usr/bin/ar" q  rts/dist/build/libHSrts.a
/usr/bin/ar: creating rts/dist/build/libHSrts.a
"rm" -f rts/dist/build/libHSrts_p.a
echo rts/dist/build/Adjustor.p_o rts/dist/build/Arena.p_o rts/dist/build/Capability.p_o rts/dist/build/CheckUnload.p_o rts/dist/build/ClosureFlags.p_o rts/dist/build/Disassembler.p_o rts/dist/build/FileLock.p_o rts/dist/build/Globals.p_o rts/dist/build/Hash.p_o rts/dist/build/Hpc.p_o rts/dist/build/HsFFI.p_o rts/dist/build/Inlines.p_o rts/dist/build/Interpreter.p_o rts/dist/build/LdvProfile.p_o rts/dist/build/Linker.p_o rts/dist/build/Messages.p_o rts/dist/build/OldARMAtomic.p_o rts/dist/build/Papi.p_o rts/dist/build/Printer.p_o rts/dist/build/ProfHeap.p_o rts/dist/build/Profiling.p_o rts/dist/build/Proftimer.p_o rts/dist/build/RaiseAsync.p_o rts/dist/build/RetainerProfile.p_o rts/dist/build/RetainerSet.p_o rts/dist/build/RtsAPI.p_o rts/dist/build/RtsDllMain.p_o rts/dist/build/RtsFlags.p_o rts/dist/build/RtsMain.p_o rts/dist/build/RtsMessages.p_o rts/dist/build/RtsStartup.p_o rts/dist/build/RtsUtils.p_o rts/dist/build/STM.p_o rts/dist/build/Schedule.p_o rts/dist/build/Sparks.p_o rts/dist/build/Stable.p_o rts/dist/build/Stats.p_o rts/dist/build/StgCRun.p_o rts/dist/build/StgPrimFloat.p_o rts/dist/build/Task.p_o rts/dist/build/ThreadLabels.p_o rts/dist/build/ThreadPaused.p_o rts/dist/build/Threads.p_o rts/dist/build/Ticky.p_o rts/dist/build/Timer.p_o rts/dist/build/Trace.p_o rts/dist/build/WSDeque.p_o rts/dist/build/Weak.p_o rts/dist/build/hooks/FlagDefaults.p_o rts/dist/build/hooks/MallocFail.p_o rts/dist/build/hooks/OnExit.p_o rts/dist/build/hooks/OutOfHeap.p_o rts/dist/build/hooks/StackOverflow.p_o rts/dist/build/sm/BlockAlloc.p_o rts/dist/build/sm/Compact.p_o rts/dist/build/sm/Evac.p_o rts/dist/build/sm/GC.p_o rts/dist/build/sm/GCAux.p_o rts/dist/build/sm/GCUtils.p_o rts/dist/build/sm/MBlock.p_o rts/dist/build/sm/MarkWeak.p_o rts/dist/build/sm/Sanity.p_o rts/dist/build/sm/Scav.p_o rts/dist/build/sm/Storage.p_o rts/dist/build/sm/Sweep.p_o rts/dist/build/eventlog/EventLog.p_o rts/dist/build/posix/GetEnv.p_o rts/dist/build/posix/GetTime.p_o rts/dist/build/posix/Itimer.p_o rts/dist/build/posix/OSMem.p_o rts/dist/build/posix/OSThreads.p_o rts/dist/build/posix/Select.p_o rts/dist/build/posix/Signals.p_o rts/dist/build/posix/TTY.p_o   rts/dist/build/Apply.p_o rts/dist/build/Exception.p_o rts/dist/build/HeapStackCheck.p_o rts/dist/build/PrimOps.p_o rts/dist/build/StgMiscClosures.p_o rts/dist/build/StgStartup.p_o rts/dist/build/StgStdThunks.p_o rts/dist/build/Updates.p_o rts/dist/build/AutoApply.p_o  | "xargs"  "/usr/bin/ar" q  rts/dist/build/libHSrts_p.a
/usr/bin/ar: creating rts/dist/build/libHSrts_p.a
"rm" -f rts/dist/build/libHSrts-ghc7.8.0.20140228.so
"inplace/bin/ghc-stage1" -package-name rts -shared -dynamic -dynload deploy -no-auto-link-packages  `cat rts/dist/libs.depend` rts/dist/build/Adjustor.dyn_o rts/dist/build/Arena.dyn_o rts/dist/build/Capability.dyn_o rts/dist/build/CheckUnload.dyn_o rts/dist/build/ClosureFlags.dyn_o rts/dist/build/Disassembler.dyn_o rts/dist/build/FileLock.dyn_o rts/dist/build/Globals.dyn_o rts/dist/build/Hash.dyn_o rts/dist/build/Hpc.dyn_o rts/dist/build/HsFFI.dyn_o rts/dist/build/Inlines.dyn_o rts/dist/build/Interpreter.dyn_o rts/dist/build/LdvProfile.dyn_o rts/dist/build/Linker.dyn_o rts/dist/build/Messages.dyn_o rts/dist/build/OldARMAtomic.dyn_o rts/dist/build/Papi.dyn_o rts/dist/build/Printer.dyn_o rts/dist/build/ProfHeap.dyn_o rts/dist/build/Profiling.dyn_o rts/dist/build/Proftimer.dyn_o rts/dist/build/RaiseAsync.dyn_o rts/dist/build/RetainerProfile.dyn_o rts/dist/build/RetainerSet.dyn_o rts/dist/build/RtsAPI.dyn_o rts/dist/build/RtsDllMain.dyn_o rts/dist/build/RtsFlags.dyn_o rts/dist/build/RtsMain.dyn_o rts/dist/build/RtsMessages.dyn_o rts/dist/build/RtsStartup.dyn_o rts/dist/build/RtsUtils.dyn_o rts/dist/build/STM.dyn_o rts/dist/build/Schedule.dyn_o rts/dist/build/Sparks.dyn_o rts/dist/build/Stable.dyn_o rts/dist/build/Stats.dyn_o rts/dist/build/StgCRun.dyn_o rts/dist/build/StgPrimFloat.dyn_o rts/dist/build/Task.dyn_o rts/dist/build/ThreadLabels.dyn_o rts/dist/build/ThreadPaused.dyn_o rts/dist/build/Threads.dyn_o rts/dist/build/Ticky.dyn_o rts/dist/build/Timer.dyn_o rts/dist/build/Trace.dyn_o rts/dist/build/WSDeque.dyn_o rts/dist/build/Weak.dyn_o rts/dist/build/hooks/FlagDefaults.dyn_o rts/dist/build/hooks/MallocFail.dyn_o rts/dist/build/hooks/OnExit.dyn_o rts/dist/build/hooks/OutOfHeap.dyn_o rts/dist/build/hooks/StackOverflow.dyn_o rts/dist/build/sm/BlockAlloc.dyn_o rts/dist/build/sm/Compact.dyn_o rts/dist/build/sm/Evac.dyn_o rts/dist/build/sm/GC.dyn_o rts/dist/build/sm/GCAux.dyn_o rts/dist/build/sm/GCUtils.dyn_o rts/dist/build/sm/MBlock.dyn_o rts/dist/build/sm/MarkWeak.dyn_o rts/dist/build/sm/Sanity.dyn_o rts/dist/build/sm/Scav.dyn_o rts/dist/build/sm/Storage.dyn_o rts/dist/build/sm/Sweep.dyn_o rts/dist/build/eventlog/EventLog.dyn_o rts/dist/build/posix/GetEnv.dyn_o rts/dist/build/posix/GetTime.dyn_o rts/dist/build/posix/Itimer.dyn_o rts/dist/build/posix/OSMem.dyn_o rts/dist/build/posix/OSThreads.dyn_o rts/dist/build/posix/Select.dyn_o rts/dist/build/posix/Signals.dyn_o rts/dist/build/posix/TTY.dyn_o   rts/dist/build/Apply.dyn_o rts/dist/build/Exception.dyn_o rts/dist/build/HeapStackCheck.dyn_o rts/dist/build/PrimOps.dyn_o rts/dist/build/StgMiscClosures.dyn_o rts/dist/build/StgStartup.dyn_o rts/dist/build/StgStdThunks.dyn_o rts/dist/build/Updates.dyn_o rts/dist/build/AutoApply.dyn_o  -o rts/dist/build/libHSrts-ghc7.8.0.20140228.so
/usr/bin/ld: rts/dist/build/Adjustor.dyn_o: relocation R_MIPS_HI16 against `__gnu_local_gp' can not be used when making a shared object; recompile with -fPIC
rts/dist/build/Adjustor.dyn_o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [rts/dist/build/libHSrts-ghc7.8.0.20140228.so] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-stamp] Error 2

Does anyone feel responsible for exotic architectures?

Greetings,
Joachim

-- 
Joachim “nomeata” Breitner
  mail at joachim-breitner.dehttp://www.joachim-breitner.de/
  Jabber: nomeata at joachim-breitner.de  • GPG-Key: 0x4743206C
  Debian Developer: nomeata at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20140304/68388b6b/attachment.sig>


More information about the Glasgow-haskell-users mailing list