Date: Wed, 18 Mar 2020 15:24:42 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r528653 - head/x11/babl Message-ID: <202003181524.02IFOguL006478@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Wed Mar 18 15:24:42 2020 New Revision: 528653 URL: https://svnweb.freebsd.org/changeset/ports/528653 Log: x11/babl: fix build on powerpc64 elfv2 Clang 10 hits assertion error: Assertion failed: (!IsStrict && "Don't know how to expand for strict nodes."), function ExpandNode, file /poudriere/jails/powerpc64-head/usr/src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp, line 3638. Stack dump: 0. Program arguments: cc -Ibabl/4170c83@@babl-0.1@sha -Ibabl -I../babl -I. -I../ -Ibabl/base -I../babl/base -I/usr/local/include -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -Ofast -fno-unsafe-math-optimizations -Wdeclaration-after-statement -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -O2 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -DLIBDIR="/usr/local/lib" -MD -MQ babl/4170c83@@babl-0.1@sha/babl-model.c.o -MF babl/4170c83@@babl-0.1@sha/babl-model.c.o.d -o babl/4170c83@@babl-0.1@sha/babl-model.c.o -c ../babl/babl-model.c 1. <eof> parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module '../babl/babl-model.c'. 4. Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on function '@babl_model_is_symmetric' #0 0x0000000013bba6c8 (/usr/bin/cc+0x13bba6c8) #1 0x0000000013bb7d90 (/usr/bin/cc+0x13bb7d90) #2 0x0000000013bbd738 (/usr/bin/cc+0x13bbd738) #3 0x0000000013bbd9ac (/usr/bin/cc+0x13bbd9ac) #4 0x0000000815740838 (/lib/libthr.so.3+0x27838) cc: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 10.0.0 (git@github.com:llvm/llvm-project.git llvmorg-10.0.0-rc3-1-gc290cb61fdc) Target: powerpc64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin Use GCC for now. Modified: head/x11/babl/Makefile Modified: head/x11/babl/Makefile ============================================================================== --- head/x11/babl/Makefile Wed Mar 18 15:18:42 2020 (r528652) +++ head/x11/babl/Makefile Wed Mar 18 15:24:42 2020 (r528653) @@ -27,4 +27,10 @@ SIMD_MESON_OFF= -Denable-mmx=false -Denable-sse=false -Denable-sse4_1=false -Denable-avx2=false \ -Denable-f16c=false -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${ARCH} == powerpc64 +USE_GCC= yes +.endif + +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003181524.02IFOguL006478>