[Bug 238082] graphics/mesa-dri: clang 8 (from head@r347549) crashes during build on powerpc64 (WITH_CLANG_IS_CC)

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238082

--- Comment #8 from Mark Millard <[email protected]> ---
(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} == clang \
 || (${COMPONENT} == libs && ${ARCH} != sparc64)        # no working LLVM
MESA_LLVM_VER?= 60
.endif

.if "${MESA_LLVM_VER}" != ""
BUILD_DEPENDS+= llvm${MESA_LLVM_VER}>=3.9.0_4:devel/llvm${MESA_LLVM_VER}
.if ${COMPONENT} != libs
RUN_DEPENDS+=   llvm${MESA_LLVM_VER}>=3.9.0_4:devel/llvm${MESA_LLVM_VER}
.endif
CONFIGURE_ENV+= LLVM_CONFIG=${LOCALBASE}/bin/llvm-config${MESA_LLVM_VER}
LDFLAGS+=       -Wl,-rpath=${LOCALBASE}/llvm${MESA_LLVM_VER}/lib
CONFIGURE_ARGS+=        --enable-llvm
.else
CONFIGURE_ARGS+=        --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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.