[GHC] #11205: Validation on ARM fails to due Corex-A8 erratum check

#11205: Validation on ARM fails to due Corex-A8 erratum check --------------------------------+--------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.11 Keywords: | Operating System: Linux Architecture: arm | Type of failure: Compile-time crash Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: --------------------------------+--------------------------------------- Numerous tests fail during validation on ARM due to linking issues. All seem to be of the flavor, {{{ =====> RolesIArray(normal) 74 of 4859 [0, 18, 1] --- /dev/null 2015-12-11 10:17:52.480000000 +0100 +++ ./warnings/should_compile/T10890/T10890.comp.stderr.normalised 2015-12-11 22:25:38.453251095 +0100 @@ -0,0 +1,174 @@ +/usr/bin/ld.gold: warning: cannot scan executable section 1 of /mnt/work/arm/ghc/ghc/bindisttest/install dir/lib/ghc-7.11.20151211/base-4.9.0.0/libHSbase-4.9.0.0.a(Base.o) for Cortex-A8 erratum because it has no mapping symbols. +/usr/bin/ld.gold: warning: cannot scan executable section 1 of /mnt/work/arm/ghc/ghc/bindisttest/install dir/lib/ghc-7.11.20151211/base-4.9.0.0/libHSbase-4.9.0.0.a(Either.o) for Cortex-A8 erratum because it has no mapping symbols. +/usr/bin/ld.gold: warning: cannot scan executable section 1 of /mnt/work/arm/ghc/ghc/bindisttest/install dir/lib/ghc-7.11.20151211/base-4.9.0.0/libHSbase-4.9.0.0.a(Typeable.o) for Cortex-A8 erratum because it has no mapping symbols. +/usr/bin/ld.gold: warning: cannot scan executable section 1 of /mnt/work/arm/ghc/ghc/bindisttest/install dir/lib/ghc-7.11.20151211/base-4.9.0.0/libHSbase-4.9.0.0.a(Internal.o) for Cortex-A8 erratum because it has no mapping symbols. +/usr/bin/ld.gold: warning: cannot scan executable section 1 of /mnt/work/arm/ghc/ghc/bindisttest/install dir/lib/ghc-7.11.20151211/base-4.9.0.0/libHSbase-4.9.0.0.a(Base.o) for Cortex-A8 erratum because it has no mapping symbols. +/usr/bin/ld.gold: warning: cannot scan executable section 1 of /mnt/work/arm/ghc/ghc/bindisttest/install dir/lib/ghc-7.11.20151211/base-4.9.0.0/libHSbase-4.9.0.0.a(IO.o) for Cortex-A8 erratum because it has no mapping symbols. +/usr/bin/ld.gold: warning: cannot scan executable section 1 of /mnt/work/arm/ghc/ghc/bindisttest/install dir/lib/ghc-7.11.20151211/base-4.9.0.0/libHSbase-4.9.0.0.a(Signal.o) for Cortex-A8 erratum because it has no mapping symbols. +/usr/bin/ld.gold: warning: cannot scan executable section 1 of /mnt/work/arm/ghc/ghc/bindisttest/install dir/lib/ghc-7.11.20151211/base-4.9.0.0/libHSbase-4.9.0.0.a(Sync.o) for Cortex-A8 erratum because it has no mapping symbols. +/usr/bin/ld.gold: warning: cannot scan executable section 1 of /mnt/work/arm/ghc/ghc/bindisttest/install dir/lib/ghc-7.11.20151211/base-4.9.0.0/libHSbase-4.9.0.0.a(Err.o) for Cortex-A8 erratum because it has no mapping symbols. +/usr/bin/ld.gold: warning: cannot scan executable section 1 of /mnt/work/arm/ghc/ghc/bindisttest/install dir/lib/ghc-7.11.20151211/base-4.9.0.0/libHSbase-4.9.0.0.a(Exception.o) for Cortex-A8 erratum because it has no mapping symbols. }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11205 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11205: Validation on ARM fails to due Corex-A8 erratum check ---------------------------------------+---------------------------------- Reporter: bgamari | Owner: Type: bug | Status: patch Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.11 Resolution: | Keywords: Operating System: Linux | Architecture: arm Type of failure: Compile-time crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1599 Wiki Page: | ---------------------------------------+---------------------------------- Changes (by bgamari): * status: new => patch * differential: => Phab:D1599 Comment: This appears to be the same issue as #10376 and #10464. This bug will track the issue with respect to testsuite validation failure in particular. My attempt at fixing this was Phab:D1599 but sadly this doesn't appear to be sufficient. In particular it appears that bindist preparation strips binaryies. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11205#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11205: Validation on ARM fails to due Corex-A8 erratum check ---------------------------------------+---------------------------------- Reporter: bgamari | Owner: Type: bug | Status: patch Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.11 Resolution: | Keywords: Operating System: Linux | Architecture: arm Type of failure: Compile-time crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1599 Wiki Page: | ---------------------------------------+---------------------------------- Comment (by thomie): bindist preparation does not strip binaries. If you find that it does, then that is a bug, and I'd like to know which file in `bindistprep/` is stripped. validate also tries to **install** the binary distribution, by running 'make install'. Since it doesn't run 'make install-strip', it won't strip the installed executables (ghc, ghc-pkg, haddock, etc.). Whether it strips libraries (.a and .so files) should depend on the setting of STRIP_CMD. There could be a bug here, maybe in Cabal. It would help to know which file in `bindisttest/` is stripped after running `./validate`, when `STRIP_CMD=:`. Make sure you're using HEAD, not ghc-7.10. Stripping was broken before (see ticket:1851#comment:16). ticket:10601#comment:4 is also relevant. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11205#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11205: Validation on ARM fails to due Corex-A8 erratum check
---------------------------------------+----------------------------------
Reporter: bgamari | Owner:
Type: bug | Status: patch
Priority: normal | Milestone: 8.0.1
Component: Compiler | Version: 7.11
Resolution: | Keywords:
Operating System: Linux | Architecture: arm
Type of failure: Compile-time crash | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D1599
Wiki Page: |
---------------------------------------+----------------------------------
Comment (by bgamari):
Hi Thomie; I am quite certain I am on `master`. In particular, with
b02838405b00bcdeebb44da0a7a9562cd7fda66b with Phab:D1599 I am seeing this
issue despite,
{{{
$ git show
commit c625506556698a9d695c720ca87cefab4a1f018d
Author: Ben Gamari

#11205: Validation on ARM fails to due Corex-A8 erratum check ---------------------------------------+---------------------------------- Reporter: bgamari | Owner: Type: bug | Status: closed Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.11 Resolution: fixed | Keywords: Operating System: Linux | Architecture: arm Type of failure: Compile-time crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1599 Wiki Page: | ---------------------------------------+---------------------------------- Changes (by bgamari): * status: patch => closed * resolution: => fixed Comment: This was closed with Phab:D1599. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11205#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC