[GHC] #10593: compilation failure on OpenBSD
GHC
ghc-devs at haskell.org
Wed Jul 1 08:27:32 UTC 2015
#10593: compilation failure on OpenBSD
-------------------------------------+-------------------------------------
Reporter: kgardas | Owner: simonmar
Type: bug | Status: new
Priority: normal | Milestone:
Component: Runtime | Version: 7.11
System | Operating System: OpenBSD
Keywords: | Type of failure: Building GHC
Architecture: x86_64 | failed
(amd64) | Blocked By:
Test Case: | Related Tickets:
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
GHC HEAD as of June 30 2015 fails to compile on OpenBSD 5.7/5.8-beta with
following error (I've cut off all warnings there):
{{{
"inplace/bin/ghc-stage1" -optc-fno-stack-protector -optc-Wall -optc-Wall
-optc-Wextra -optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-
Wmissing-declarations -optc-Winline -optc-Waggregate
-return -optc-Wpointer-arith -optc-Wmissing-noreturn -optc-Wnested-externs
-optc-Wredundant-decls -optc-Iincludes -optc-Iincludes/dist -optc-
Iincludes/dist-derivedconstants/header -optc-Iincludes
/dist-ghcconstants/header -optc-Irts -optc-Irts/dist/build -optc-
DCOMPILING_RTS -optc-fno-strict-aliasing -optc-fno-common -optc-
Irts/dist/build/autogen -optc-O2 -optc-fomit-frame-pointer -optc-g
-optc-DRtsWay=\"rts_v\" -static -H64m -O0 -Iincludes -Iincludes/dist
-Iincludes/dist-derivedconstants/header -Iincludes/dist-
ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -this-pa
ckage-key rts -dcmm-lint -i -irts -irts/dist/build
-irts/dist/build/autogen -Irts/dist/build -Irts/dist/build/autogen
-O2 -c rts/Linker.c -o rts/dist/build/Linker.o
In file included from rts/Linker.c:92:0: error:
[...]
rts/Linker.c: In function 'getSectionKind_ELF':
rts/Linker.c:5308:0: error:
error: 'SHT_INIT_ARRAY' undeclared (first use in this function)
rts/Linker.c:5308:0: error:
error: (Each undeclared identifier is reported only once
rts/Linker.c:5308:0: error:
error: for each function it appears in.)
rts/ghc.mk:243: recipe for target 'rts/dist/build/Linker.o' failed
gmake[1]: *** [rts/dist/build/Linker.o] Error 1
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10593>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list