[GHC] #12997: Build broken on OpenBSD

#12997: Build broken on OpenBSD ----------------------------------------+--------------------------------- Reporter: bgamari | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.2 Component: Compiler | Version: 8.0.2-rc2 Keywords: | Operating System: OpenBSD Architecture: Unknown/Multiple | Type of failure: None/Unknown Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: ----------------------------------------+--------------------------------- Karel says, {{{ "/usr/local/bin/ghc" -o utils/hsc2hs/dist/build/tmp/hsc2hs -hisuf hi -osuf o -hcsuf hc -static -H32m -O -Wall -package-db libraries/bootstrapping.conf -hide-all-packages -i -iutils/hsc2hs/. -iutils/hsc2hs/dist/build -iutils/hsc2hs/dist/build/autogen -Iutils/hsc2hs/dist/build -Iutils/hsc2hs/dist/build/autogen -optP-include -optPutils/hsc2hs/dist/build/autogen/cabal_macros.h -package-id base-4.8.2.0-8dd7859ce039df9f3d3f4ff9dbf4bb93 -package-id containers-0.5.6.2-59326c33e30ec8f6afd574cbac625bbb -package-id directory-1.2.2.0-de5c44596f448d2b2988d8588c5afdef -package-id filepath-1.4.0.0-f97d1e4aebfd7a03be6980454fe31d6e -package-id process-1.2.3.0-ca3fff48cdf67a08d7e3f92817538395 -XHaskell2010 -no-user-package-db -rtsopts -odir utils/hsc2hs/dist/build -hidir utils/hsc2hs/dist/build -stubdir utils/hsc2hs/dist/build -optl-z -optlwxneeded -static -H32m -O -Wall -package-db libraries/bootstrapping.conf -hide-all-packages -i -iutils/hsc2hs/. -iutils/hsc2hs/dist/build -iutils/hsc2hs/dist/build/autogen -Iutils/hsc2hs/dist/build -Iutils/hsc2hs/dist/build/autogen -optP-include -optPutils/hsc2hs/dist/build/autogen/cabal_macros.h -package-id base-4.8.2.0-8dd7859ce039df9f3d3f4ff9dbf4bb93 -package-id containers-0.5.6.2-59326c33e30ec8f6afd574cbac625bbb -package-id directory-1.2.2.0-de5c44596f448d2b2988d8588c5afdef -package-id filepath-1.4.0.0-f97d1e4aebfd7a03be6980454fe31d6e -package-id process-1.2.3.0-ca3fff48cdf67a08d7e3f92817538395 -XHaskell2010 -no-user-package-db -rtsopts utils/hsc2hs/dist/build/Main.o utils/hsc2hs/dist/build/C.o utils/hsc2hs/dist/build/Common.o utils/hsc2hs/dist/build/CrossCodegen.o utils/hsc2hs/dist/build/DirectCodegen.o utils/hsc2hs/dist/build/Flags.o utils/hsc2hs/dist/build/HSCParser.o utils/hsc2hs/dist/build/UtilsCodegen.o utils/hsc2hs/dist/build/Paths_hsc2hs.o <no location info>: Warning: Couldn't figure out linker information! Make sure you're using GNU ld, GNU gold or the built in OS X linker, etc. gcc: wxneeded: No such file or directory compiler/ghc.mk:584: compiler/stage1/build/.depend-v.haskell: No such file or directory gmake[1]: *** [utils/hsc2hs/ghc.mk:15: utils/hsc2hs/dist/build/tmp/hsc2hs] Error 1 gmake: *** [Makefile:132: all] Error 2 }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12997 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12997: Build broken on OpenBSD -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.2 Component: Compiler | Version: 8.0.2-rc2 Resolution: | Keywords: Operating System: OpenBSD | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * failure: None/Unknown => Building GHC failed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12997#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12997: Build broken on OpenBSD -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: merge Priority: normal | Milestone: 8.0.2 Component: Compiler | Version: 8.0.2-rc2 Resolution: | Keywords: Operating System: OpenBSD | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => merge Comment: This was fixed by f48f5a9ebf384e1e157b7b413e1d779f4289ddd2 but unfortunately I forgot to create a ticket to ensure this was merged back to `ghc-8.0`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12997#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12997: Build broken on OpenBSD -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: merge Priority: normal | Milestone: 8.0.2 Component: Compiler | Version: 8.0.2-rc2 Resolution: | Keywords: Operating System: OpenBSD | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by slyfox): * cc: slyfox (added) Comment: In HEAD I had to revert changeset:f48f5a9ebf384e1e157b7b413e1d779f4289ddd2 as changeset:a6657bd0d6b9949098021d89ed3cd8a943bdd3b6 (it's a full clean revert) to restore SRC_LD_OPTS handling. This fix should be enough for ghc-8.0 branch for OpenBSD: changeset:87c3b1d4395c3d4fc7a5272717c48f3f525da959 I only tested ghc-HEAD on OpenBSD-6.0. Hope it's not too confusing. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12997#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12997: Build broken on OpenBSD -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: closed Priority: normal | Milestone: 8.0.2 Component: Compiler | Version: 8.0.2-rc2 Resolution: fixed | Keywords: Operating System: OpenBSD | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: merge => closed * resolution: => fixed Comment: Merged to `ghc-8.0` as c5f375c53671130c79713800b13a1da53d070b84. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12997#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12997: Build broken on OpenBSD -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.2 Component: Compiler | Version: 8.0.2-rc2 Resolution: | Keywords: Operating System: OpenBSD | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by hvr): * status: closed => new * resolution: fixed => -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12997#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12997: Build broken on OpenBSD -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.2 Component: Compiler | Version: 8.0.2-rc2 Resolution: | Keywords: Operating System: OpenBSD | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by hvr): When trying to build GHC 8.0.2rc2 on AIX, I ran into {{{ gcc: error: unrecognized command line option '-Wl-optl-Wl,-bnotextro' }}} when the build was trying to build `hsc2hs` early on. @slyfox suggested cherry-picking a6657bd0d6b9949098021d89ed3cd8a943bdd3b6, which I did, and it fixed that issue for me. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12997#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12997: Build broken on OpenBSD -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: closed Priority: normal | Milestone: 8.0.2 Component: Compiler | Version: 8.0.2-rc2 Resolution: fixed | Keywords: Operating System: OpenBSD | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => closed * resolution: => fixed Comment: This was merged to `ghc-8.0` as f6e8d45d6860996e7db9dcd4b440eabac710fa5e. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12997#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC