Date: Tue, 28 May 2019 20:32:52 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 238082] graphics/mesa-dri: clang 8 (from head@r347549) crashes during build on powerpc64 (WITH_CLANG_IS_CC) Message-ID: <bug-238082-29464-pLsYqYBS8x@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-238082-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-238082-29464@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=3D238082 --- Comment #8 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (In reply to Mark Millard from comment #6) Looks like possible operator error in that a retry did not fail. (I re-went through establishing the patch to what the poudriere bulk sees as the system-clang-8.) But in trying to see what might be going on I notice there is logic like: # need LLVM for libEGL wherever possible, but mixing GCC and LLVM breaks Gallium .if ${CHOSEN_COMPILER_TYPE} =3D=3D clang \ || (${COMPONENT} =3D=3D libs && ${ARCH} !=3D sparc64) # no working = LLVM MESA_LLVM_VER?=3D 60 .endif .if "${MESA_LLVM_VER}" !=3D "" BUILD_DEPENDS+=3D llvm${MESA_LLVM_VER}>=3D3.9.0_4:devel/llvm${MESA_LLVM_VER} .if ${COMPONENT} !=3D libs RUN_DEPENDS+=3D llvm${MESA_LLVM_VER}>=3D3.9.0_4:devel/llvm${MESA_LLVM_VER} .endif CONFIGURE_ENV+=3D LLVM_CONFIG=3D${LOCALBASE}/bin/llvm-config${MESA_LLVM_VER} LDFLAGS+=3D -Wl,-rpath=3D${LOCALBASE}/llvm${MESA_LLVM_VER}/lib CONFIGURE_ARGS+=3D --enable-llvm .else CONFIGURE_ARGS+=3D --disable-llvm .endif So it may be that devel/llvm60 ( or devel/llvm* ) needs to be patched in order to work for contexts that would use it. It seems that devel/llvm60 got its pkg added but mesa-dri actually used what poudriere bulk saw as the system cc (system-clang-8 in my context). As for my 2nd test: [00:01:44] [01] [00:00:00] Building graphics/mesa-dri | mesa-dri-18.3.2_2 [00:23:45] [01] [00:22:01] Finished graphics/mesa-dri | mesa-dri-18.3.2_2: Success So I guess I somehow had the context for poudriere bulk messed up relative the the system cc that it saw. --=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-238082-29464-pLsYqYBS8x>