[GHC] #10593: compilation failure on OpenBSD

#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

#10593: compilation failure on OpenBSD -------------------------------------+------------------------------------- Reporter: kgardas | Owner: simonmar Type: bug | Status: patch Priority: normal | Milestone: Component: Runtime System | Version: 7.11 Resolution: | Keywords: Operating System: OpenBSD | Architecture: x86_64 Type of failure: Building GHC | (amd64) failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by kgardas): * status: new => patch Comment: Fixed in Phab:D1023 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10593#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10593: compilation failure on OpenBSD -------------------------------------+------------------------------------- Reporter: kgardas | Owner: simonmar Type: bug | Status: patch Priority: normal | Milestone: 7.10.3 Component: Runtime System | Version: 7.11 Resolution: | Keywords: Operating System: OpenBSD | Architecture: x86_64 Type of failure: Building GHC | (amd64) failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: Phab:1023 -------------------------------------+------------------------------------- Changes (by thoughtpolice): * differential: => Phab:1023 * milestone: => 7.10.3 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10593#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10593: compilation failure on OpenBSD -------------------------------------+------------------------------------- Reporter: kgardas | Owner: simonmar Type: bug | Status: closed Priority: normal | Milestone: 7.12.1 Component: Runtime System | Version: 7.11 Resolution: fixed | Keywords: Operating System: OpenBSD | Architecture: x86_64 Type of failure: Building GHC | (amd64) failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: Phab:1023 -------------------------------------+------------------------------------- Changes (by thomie): * status: patch => closed * resolution: => fixed * milestone: 7.10.3 => 7.12.1 Comment: Fixed in bbf607865323f7d8dbd37dbfa2ae705fafb22417: {{{ Author: Karel Gardas <> Date: Wed Jul 1 00:02:52 2015 +0200 disable check for .init_array section on OpenBSD Summary: The patch disables check for .init_array section on OpenBSD. It is provided in OpenBSD ports tree and was done by Matthias Kilian. Reviewers: austin Subscribers: thomie, bgamari Differential Revision: https://phabricator.haskell.org/D1023 }}} Please set milestone back to 7.10.3 and status=merge if this needs to go to the 7.10 branch as well. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10593#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC