[GHC] #15094: unknown symbol `___divmoddi4' error with clock on 32-bit windows
GHC
ghc-devs at haskell.org
Fri Apr 27 17:31:46 UTC 2018
#15094: unknown symbol `___divmoddi4' error with clock on 32-bit windows
--------------------------------+---------------------------------
Reporter: simonmic | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.6.1
Component: Compiler | Version: 8.4.2
Keywords: | Operating System: Windows
Architecture: x86 | Type of failure: None/Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
--------------------------------+---------------------------------
I got this error when building with 32-bit ghc 8.4.2 on appveyor:
{{{
-- While building custom Setup.hs for package hledger-lib-1.9.99 using:
C:\sr\setup-exe-cache\i386-windows\Cabal-
simple_Z6RU0evB_2.2.0.1_ghc-8.4.2.exe --builddir=.stack-work\dist\ba067387
build lib:hledger-lib --ghc-options " -ddump-hi -ddump-to-file"
Process exited with code: ExitFailure 1
Logs have been written to: C:\pr\.stack-work\logs\hledger-
lib-1.9.99.log
Configuring hledger-lib-1.9.99...
Preprocessing library for hledger-lib-1.9.99..
Building library for hledger-lib-1.9.99..
[ 1 of 48] Compiling Hledger.Utils.Color ( Hledger\Utils\Color.hs,
.stack-work\dist\ba067387\build\Hledger\Utils\Color.o )
[ 2 of 48] Compiling Hledger.Utils.Test ( Hledger\Utils\Test.hs,
.stack-work\dist\ba067387\build\Hledger\Utils\Test.o )
[ 3 of 48] Compiling Hledger.Utils.UTF8IOCompat (
Hledger\Utils\UTF8IOCompat.hs, .stack-
work\dist\ba067387\build\Hledger\Utils\UTF8IOCompat.o )
[ 4 of 48] Compiling Hledger.Utils.Regex ( Hledger\Utils\Regex.hs,
.stack-work\dist\ba067387\build\Hledger\Utils\Regex.o )
[ 5 of 48] Compiling Hledger.Utils.Tree ( Hledger\Utils\Tree.hs,
.stack-work\dist\ba067387\build\Hledger\Utils\Tree.o )
[ 6 of 48] Compiling Hledger.Data.Types ( Hledger\Data\Types.hs,
.stack-work\dist\ba067387\build\Hledger\Data\Types.o )
ghc.EXE: unable to load package `clock-0.7.2'
ghc.EXE: | C:\sr\snapshots\673e3da0\lib\i386-windows-
ghc-8.4.2\clock-0.7.2-Cf9UTsaN2AjEpBnoMpmgkU\HSclock-0.7.2-Cf9UTsaN2AjEpBnoMpmgkU.o:
unknown symbol `___divmoddi4'
Command exited with code 1
APPVEYOR_SAVE_CACHE_ON_ERROR is set to 'true' - cache will be updated
}}}
https://ci.appveyor.com/project/simonmichael/hledger/build/master-404
We think this is related: https://github.com/zfsonlinux/zfs/issues/6417
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15094>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list