From nobody Mon May 06 08:36:33 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VXvry2DTGz5JfWf for ; Mon, 06 May 2024 08:36:34 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VXvrx5Nh8z4vqP for ; Mon, 6 May 2024 08:36:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714984593; a=rsa-sha256; cv=none; b=MomgX9V9MD1QU92ovYPyy0p9j0QBKyIL1ZKP0ocWhvdRKToGh8K9PUFZPyJWpO8cwem6a5 nr28k32glRxB2D4x3xsHwPUddrvK+ZMBpZoNSttf50YNEnuipj5isDLT+iyxnXIw/52cM0 N3Q9eojndZ2ka9rpOqPmJnOpTgKde562VzYNdQvtfC5Z5aF0PzJzIKkBqFpzJYI2vIU+fN VZcd6CUE3gF9tiDXqOpDIOjqhGd5jL+zdr8s8Hp2FeN3VgROoY9YWKxZ8vYTUyOW9OHQWj 2lYUtBpWQqNksCiP+sYaR5tg7pyEY/wTpeIGyaEixB+A71nris4VfZJLDPcvEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714984593; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=U5B/SxR7h/x7rwR/eYh5/5fQc4c1LTU05fwyE1Yho1M=; b=SzWJk/wMRcMbNAVVHniEynKKCeMViKyTvPam6YCUkj93hXKfiZY8rUJGO6neBuUD+Zimvf LTDlc2cSjZ9CxTQB3Ux+0pX+K2u4e/Mp1690hNUiypL1ZK1wc2Fwd6tFkcpXepfCilk58q XerdtRjAqX/mBSh7bEPhJs5RxpuUTZ3rvxtq8cgBFyBQQy2wq74zEhPPNPUjotlNqa9Mz3 Xt0qGAm0DeFG61ppc9zhM89FLT7q7cP9n/lmOaY/1H8uwKZ8nGk7UKdN5DF26exhek7f3z fcYyE/Fjfhhr6E9LdJ7WNVaavqmpCB6dXAicHSr+0lv8ppYkdODZFETIy31L9A== 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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VXvrx506rzqL0 for ; Mon, 6 May 2024 08:36:33 +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 4468aXPp065802 for ; Mon, 6 May 2024 08:36:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4468aXKU065801 for bugs@FreeBSD.org; Mon, 6 May 2024 08:36:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 278810] clang crashes: fatal error: error in backend: Cannot select: 0x27fbea00: v4f32 = fmaxnum 0x27178550, 0x26481eb0 (on the port misc/llama-cpp version 2619) Date: Mon, 06 May 2024 08:36:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yuri@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278810 Bug ID: 278810 Summary: clang crashes: fatal error: error in backend: Cannot select: 0x27fbea00: v4f32 =3D fmaxnum 0x27178550, 0x26481eb0 (on the port misc/llama-cpp version 2619) Product: Base System Version: 14.0-RELEASE Hardware: arm OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: yuri@freebsd.org fatal error: error in backend: Cannot select: 0x27fbea00: v4f32 =3D fmaxnum 0x27178550, 0x26481eb0 0x27178550: v4f32,i32,ch =3D ARMISD::VLD1_UPD<(load (s128) from %ir.522, = align 4)> 0x2649f67c, 0x264819b0, Constant:i32<16>, Constant:i32<1> 0x264819b0: i32,ch =3D CopyFromReg 0x2649f67c, Register:i32 %191 0x27fbe0a0: i32 =3D Register %191 0x27fbe870: i32 =3D Constant<16> 0x26480500: i32 =3D Constant<1> 0x26481eb0: v4f32 =3D bitcast 0x27fff320 0x27fff320: v4i32 =3D ARMISD::VMOVIMM TargetConstant:i32<0> 0x28029140: i32 =3D TargetConstant<0> In function: ggml_compute_forward_unary PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include = the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/cc -DGGML_SCHED_MAX_COPIES=3D4 -D_XOPEN_SOURCE=3D600 -D__BSD_VISIBLE -I/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=3Dgnu11 -fPIC -Wshadow -Wstrict-prototypes -Wpointer-arith -Wmissing-prototypes -Werror=3Dimplicit-int -Werror=3Dimplicit-function-declaration -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wdouble-promotion -mfpu=3Dneon-fp-armv8 -mno-unaligned-access -funsafe-math-optimizations -pthread -MD -MT CMakeFiles/ggml.dir/ggml.c.o -MF CMakeFiles/ggml.dir/ggml.c.o.d -o CMakeFiles/ggml.dir/ggml.c.o -c /wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/ggml.c 1. parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module '/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/ggml.c'. 4. Running pass 'ARM Instruction Selection' on function '@ggml_compute_forward_unary' #0 0x042b3f6c (/usr/bin/cc+0x42b3f6c) #1 0x042b1eb4 (/usr/bin/cc+0x42b1eb4) #2 0x0425f764 (/usr/bin/cc+0x425f764) #3 0x0425f720 (/usr/bin/cc+0x425f720) #4 0x042a25e4 (/usr/bin/cc+0x42a25e4) #5 0x0173ec28 (/usr/bin/cc+0x173ec28) #6 0x04265e20 (/usr/bin/cc+0x4265e20) #7 0x045c5b4c (/usr/bin/cc+0x45c5b4c) #8 0x045c50e0 (/usr/bin/cc+0x45c50e0) #9 0x04a54fc0 (/usr/bin/cc+0x4a54fc0) #10 0x045bd490 (/usr/bin/cc+0x45bd490) #11 0x045bccd0 (/usr/bin/cc+0x45bccd0) #12 0x045bc924 (/usr/bin/cc+0x45bc924) #13 0x045bc338 (/usr/bin/cc+0x45bc338) #14 0x045ba5a4 (/usr/bin/cc+0x45ba5a4) #15 0x04a503f4 (/usr/bin/cc+0x4a503f4) #16 0x03ad62a0 (/usr/bin/cc+0x3ad62a0) #17 0x03f04898 (/usr/bin/cc+0x3f04898) #18 0x03f0a468 (/usr/bin/cc+0x3f0a468) #19 0x03f04e84 (/usr/bin/cc+0x3f04e84) #20 0x01f9da9c (/usr/bin/cc+0x1f9da9c) #21 0x022850bc (/usr/bin/cc+0x22850bc) #22 0x02797710 (/usr/bin/cc+0x2797710) #23 0x021ca634 (/usr/bin/cc+0x21ca634) #24 0x0215e480 (/usr/bin/cc+0x215e480) #25 0x0227ed24 (/usr/bin/cc+0x227ed24) #26 0x0173e488 (/usr/bin/cc+0x173e488) #27 0x0174ba70 (/usr/bin/cc+0x174ba70) #28 0x0201a678 (/usr/bin/cc+0x201a678) #29 0x0425f6fc (/usr/bin/cc+0x425f6fc) #30 0x0201a140 (/usr/bin/cc+0x201a140) #31 0x01fe78e8 (/usr/bin/cc+0x1fe78e8) #32 0x01fe7b70 (/usr/bin/cc+0x1fe7b70) #33 0x01ffe958 (/usr/bin/cc+0x1ffe958) #34 0x0174b1a0 (/usr/bin/cc+0x174b1a0) #35 0x25ce86c0 __libc_start1 (/lib/libc.so.7+0x576c0) cc: error: clang frontend command failed with exit code 70 (use -v to see invocation) FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin cc: note: diagnostic msg:=20 ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: cc: note: diagnostic msg: /tmp/ggml-555a7f.c cc: note: diagnostic msg: /tmp/ggml-555a7f.sh cc: note: diagnostic msg:=20 ******************** --=20 You are receiving this mail because: You are the assignee for the bug.=