
#14261: ghc stopped recognizing some arm triplets that used to work: Failed to lookup the datalayout for armv7a-hardfloat-linux-gnueabi; available targets: -------------------------------------+------------------------------------- Reporter: slyfox | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by slyfox): It looks like armv7a-unknown-linux-gnueabi still does not compile current ghc-HEAD as a shared library: {{{ "inplace/bin/ghc-stage1" -this-unit-id rts -shared -dynamic -dynload deploy -no-auto-link-packages -Lrts/dist/build -lffi -optl-Wl,-rpath -optl-Wl,'$ORIGIN' ... -o rts/dist/build/libHSrts_thr- ghc8.3.20171017.so /usr/libexec/gcc/armv7a-unknown-linux-gnueabi/ld: error: rts/dist/build /libHSrts-ghc8.3.20171017.so uses VFP register arguments, rts/dist/build/StgStartup.dyn_o does not /usr/libexec/gcc/armv7a-unknown-linux-gnueabi/ld: failed to merge target specific data of file rts/dist/build/StgStartup.dyn_o }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14261#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler