Date: Sat, 19 Aug 2017 01:44:54 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 221029] AMD Ryzen: strange compilation failures using poudriere or plain buildkernel/buildworld Message-ID: <bug-221029-8-5VlLvvdxCx@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-221029-8@https.bugs.freebsd.org/bugzilla/> References: <bug-221029-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221029 --- Comment #72 from Mark Millard <markmi@dsl-only.net> --- (In reply to Mark Millard from comment #71) I've done a few runs recovering the ghc.*.core files and took a quick comparison/contrast: info reg shows a few registers that seem to be usually the same or very similar in value: rbp 0x8053f17c8 0x8053f17c8 rbp 0x8053f17c8 0x8053f17c8 rbp 0x8053f17f8 0x8053f17f8 rbp 0x8053f17b8 0x8053f17b8 rsp 0x7fffffff8a08 0x7fffffff8a08 rsp 0x7fffffff8a08 0x7fffffff8a08 rsp 0x7fffffff8a08 0x7fffffff8a08 rsp 0x7fffffff8a08 0x7fffffff8a08 r13 0x3861ad8 59120344 r13 0x3861ad8 59120344 r13 0x3861ad8 59120344 r13 0x3861ad8 59120344 cs 0x43 67 cs 0x43 67 cs 0x43 67 cs 0x43 67 ss 0x3b 59 ss 0x3b 59 ss 0x3b 59 ss 0x3b 59 By contrast rip can vary some but the values have the status: "Cannot access memory at" rip 0x646b7c 0x646b7c rip 0x2db9b54 0x2db9b54 rip 0x646b7c 0x646b7c rip 0x2db9b62 0x2db9b62 So it jumped to an address that can not be accessed in each case. For reference for these 4 runs: [34 of 95] Compiling Language.Haskell.Extension ( libraries/Cabal/Cabal/Language/Haskell/Extension.hs, bootstrapping/Language/Haskell/Extension.o ) ghc/ghc.mk:111: ghc/stage1/package-data.mk: No such file or directory gmake[2]: *** [utils/ghc-cabal/ghc.mk:48: utils/ghc-cabal/dist/build/tmp/ghc-cabal] Bus error (core dumped) gmake[1]: *** [Makefile:130: all] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/ghc/work/ghc-8.0.2' *** Error code 1 [35 of 95] Compiling Distribution.Compiler ( libraries/Cabal/Cabal/Distribution/Compiler.hs, bootstrapping/Distribution/Compiler.o ) ghc/ghc.mk:111: ghc/stage1/package-data.mk: No such file or directory gmake[2]: *** [utils/ghc-cabal/ghc.mk:48: utils/ghc-cabal/dist/build/tmp/ghc-cabal] Bus error (core dumped) gmake[1]: *** [Makefile:130: all] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/ghc/work/ghc-8.0.2' *** Error code 1 [34 of 95] Compiling Language.Haskell.Extension ( libraries/Cabal/Cabal/Language/Haskell/Extension.hs, bootstrapping/Language/Haskell/Extension.o ) ghc/ghc.mk:111: ghc/stage1/package-data.mk: No such file or directory gmake[2]: *** [utils/ghc-cabal/ghc.mk:48: utils/ghc-cabal/dist/build/tmp/ghc-cabal] Bus error (core dumped) gmake[1]: *** [Makefile:130: all] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/ghc/work/ghc-8.0.2' *** Error code 1 [11 of 95] Compiling Data.Binary.Class ( libraries/binary/src/Data/Binary/Class.hs, bootstrapping/Data/Binary/Class.= o ) ghc/ghc.mk:111: ghc/stage1/package-data.mk: No such file or directory gmake[2]: *** [utils/ghc-cabal/ghc.mk:48: utils/ghc-cabal/dist/build/tmp/ghc-cabal] Bus error (core dumped) gmake[1]: *** [Makefile:130: all] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/ghc/work/ghc-8.0.2' *** Error code 1 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221029-8-5VlLvvdxCx>