Date: Fri, 18 Aug 2017 23:22:40 +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-ldSUNCggA2@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 #71 from Mark Millard <markmi@dsl-only.net> --- Has anyone tried doing a bunch of lang/ghc builds on Ryzen to see the failure rate but for the type of context indicated below (specifying via a poudriere context's techniques): PARALLEL_JOBS=3D1 ALLOW_MAKE_JOBS=3Dno and ALLOW_MAKE_JOBS_PACKAGES not having a match for lang/ghc ? In other words: avoiding parallel builds during lang/ghc's build? If not, is someone willing to try such? Doing this from: # uname -apKU FreeBSD FreeBSDx64OPC 12.0-CURRENT FreeBSD 12.0-CURRENT r322596M amd64 am= d64 1200040 1200040 that is a VirtualBox guest under Windows 10 Pro has failed for me so far. Showing 2 separate attempts in my context: [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 vs. (getting well past 11 of 95) [32 of 95] Compiling Distribution.Version ( libraries/Cabal/Cabal/Distribution/Version.hs, bootstrapping/Distribution/Version.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 FYI: # svnlite info /usr/ports/ | grep "Re[plv]" Relative URL: ^/head Repository Root: svn://svn.freebsd.org/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 448068 Last Changed Rev: 448068 This is the vintage of /usr/ports that is being used. I cause ports to build based on: CFLAGS:=3D ${CFLAGS} ${DEBUG_FLAGS} instead of: CFLAGS:=3D ${CFLAGS:N-O*:N-fno-strict*} ${DEBUG_FLAGS} (So optimized with with debug information for WITH_DEBUG.) In my context WITH_DEBUG happens to be in use. # more /usr/local/etc/poudriere.d/make.conf WANT_QT_VERBOSE_CONFIGURE=3D1 # DEFAULT_VERSIONS+=3Dperl5=3D5.24 gcc=3D7 # # From a local /usr/ports/Mk/bsd.port.mk extension: ALLOW_OPTIMIZATIONS_FOR_WITH_DEBUG=3D # .if ${.CURDIR:M*/devel/llvm*} #WITH_DEBUG=3D .elif ${.CURDIR:M*/www/webkit-qt5*} #WITH_DEBUG=3D .else WITH_DEBUG=3D .endif WITH_DEBUG_FILES=3D MALLOC_PRODUCTION=3D and I use in /usr/ports/Mk/bsd.port.mk: STRIP_CMD=3D ${TRUE} .endif DEBUG_FLAGS?=3D -g +.if defined(ALLOW_OPTIMIZATIONS_FOR_WITH_DEBUG) +CFLAGS:=3D ${CFLAGS} ${DEBUG_FLAGS} +.else CFLAGS:=3D ${CFLAGS:N-O*:N-fno-strict*} ${DEBUG_FLAGS} +.endif .if defined(INSTALL_TARGET) INSTALL_TARGET:=3D ${INSTALL_TARGET:S/^install-strip$/install/g} .endif In my context the builds were attempted with: /usr/bin/nohup poudriere bulk -j zrFBSDx64Cjail -w lang/ghc & This was after a prior parallel attempt had built the prerequisite packages (but for which lang/ghc failed). So the non-parallel commands only tried to build lang/ghc . --=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-ldSUNCggA2>