From owner-freebsd-ports-bugs@freebsd.org Tue Feb 4 10:30:00 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 520FF242433 for ; Tue, 4 Feb 2020 10:30:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48Bgtc1ZGwz3Dd9 for ; Tue, 4 Feb 2020 10:30:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 35CF5242432; Tue, 4 Feb 2020 10:30:00 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 358EB242431 for ; Tue, 4 Feb 2020 10:30:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48Bgtc0cyPz3Dd7 for ; Tue, 4 Feb 2020 10:30:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0DE891843D for ; Tue, 4 Feb 2020 10:30:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 014ATxPQ009347 for ; Tue, 4 Feb 2020 10:29:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 014ATxJI009346 for ports-bugs@FreeBSD.org; Tue, 4 Feb 2020 10:29:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 243855] devel/raylib: fix build on powerpc64 elfv2 Date: Tue, 04 Feb 2020 10:30:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Feb 2020 10:30:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243855 --- Comment #1 from commit-hook@freebsd.org --- A commit references this bug: Author: pkubaj Date: Tue Feb 4 10:28:59 UTC 2020 New revision: 525140 URL: https://svnweb.freebsd.org/changeset/ports/525140 Log: devel/raylib: fix build on powerpc64 elfv2 Clang has issues compiling this port on powerpc64 elfv2: Assertion failed: ((Op.getOpcode() =3D=3D ISD::FP_TO_SINT || Subtarget.hasFPCVT()) && "i64 FP_TO_UINT is supported only with FPCVT"), function LowerFP_TO_INTForReuse, file /poudriere/jails/powerpc64-elfv2-pkubaj/usr/src/contrib/llvm-project/llvm/l= ib/Target/PowerPC/PPCISelLowering.cpp, line 7281. Stack dump: 0. Program arguments: /usr/bin/cc -cc1 -triple powerpc64-unknown-freebsd13.0 -emit-obj -disable-free -main-file-name raudi= o.c -mrelocation-model pic -pic-level 2 -mthread-model posix -relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu ppc64 -target-feature +secure-plt -mfloat-abi hard -dwarf-column-info -debugger-tuning=3Dgdb -momit-leaf-frame-pointer -coverage-notes-file /wrkdirs/usr/ports/devel/raylib/work/.build/src/CMakeFiles/raylib.dir/raudi= o.c.gcno -resource-dir /usr/lib/clang/9.0.1 -dependency-file src/CMakeFiles/raylib.dir/raudio.c.o.d -sys-header-deps -MT src/CMakeFiles/raylib.dir/raudio.c.o -isystem /usr/local/include -isystem /usr/local/include -D GLFW_DLL -D GRAPHICS_API_OPENGL_33 -D PLATFORM_DESKTO= P -D RAYLIB_CMAKE=3D1 -D raylib_EXPORTS -I . -I /wrkdirs/usr/ports/devel/raylib/work/raylib-2.5.0/src/. -O2 -Werror=3Dimplicit-function-declaration -Werror=3Dpointer-arith -std=3Dgnu99 -fdebug-compilation-dir /wrkdirs/usr/ports/devel/rayli b/work/.build -ferror-limit 19 -fmessage-length 0 -stack-protector 2 -fno-signed-char -fobjc-runtime=3Dgnustep -fdiagnostics-show-option -vectorize-loops -vectorize-slp -faddrsig -o src/CMakeFiles/raylib.dir/raudio.c.o -x c /wrkdirs/usr/ports/devel/raylib/work/raylib-2.5.0/src/raudio.c 1. parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module '/wrkdirs/usr/ports/devel/raylib/work/raylib-2.5.0/src/raudio.c'. 4. Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on function '@ma_calculate_frame_count_after_src' #0 0x000000001371e818 (/usr/bin/cc+0x1371e818) #1 0x000000001371ee94 (/usr/bin/cc+0x1371ee94) #2 0x000000001371c158 (/usr/bin/cc+0x1371c158) #3 0x000000001371f60c (/usr/bin/cc+0x1371f60c) #4 0x000000081520176c (/lib/libthr.so.3+0x1b76c) cc: error: unable to execute command: Abort trap (core dumped) cc: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 9.0.1 (git@github.com:llvm/llvm-project.git c1a0a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1) Target: powerpc64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin Use GCC instead. The issue with Clang has been reported upstream. PR: 243855 Approved by: freebsd@sysctl.cz (maintainer) Changes: head/devel/raylib/Makefile --=20 You are receiving this mail because: You are the assignee for the bug.=