From owner-freebsd-toolchain@freebsd.org Sat Nov 25 21:58:20 2017 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9A039DF1258 for ; Sat, 25 Nov 2017 21:58:20 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-161.reflexion.net [208.70.210.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 458D8701E5 for ; Sat, 25 Nov 2017 21:58:19 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 13268 invoked from network); 25 Nov 2017 21:58:13 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 25 Nov 2017 21:58:13 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Sat, 25 Nov 2017 16:58:13 -0500 (EST) Received: (qmail 6783 invoked from network); 25 Nov 2017 21:58:12 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 25 Nov 2017 21:58:12 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 1E56DEC8B7B; Sat, 25 Nov 2017 13:58:12 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: ARM broken since a while From: Mark Millard In-Reply-To: <96795c0d-5b7f-2ebc-ac39-59061a57aeec@FreeBSD.org> Date: Sat, 25 Nov 2017 13:58:11 -0800 Cc: FreeBSD Current , FreeBSD Toolchain Content-Transfer-Encoding: quoted-printable Message-Id: <1A30D197-8194-4596-BC10-09F748C9915C@dsl-only.net> References: <5E1C6F4E-C573-4B99-AF96-FCB756B0A75B@dsl-only.net> <5D3C8011-1B5F-45CB-8390-9A6E9862FB47@dsl-only.net> <79bca8ee-7961-8e51-10bd-a65154ecd430@FreeBSD.org> <96795c0d-5b7f-2ebc-ac39-59061a57aeec@FreeBSD.org> To: Pedro Giffuni X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Nov 2017 21:58:20 -0000 =3D=3D=3D Mark Millard markmi at dsl-only.net On 2017-Nov-25, at 1:10 PM, Pedro Giffuni wrote: > On 11/25/17 15:28, Pedro Giffuni wrote: >>=20 >> ... >>=20 >> I have seen problems on arm with zstd though. >>=20 > For the record: > arm.armv6 buildworld failed, check _.arm.armv6.buildworld for details > .... > =3D=3D=3D> lib/libzstd (all) > Assertion failed: (LiveCPSR && "CPSR liveness tracking is wrong!"), = function UpdateCPSRUse, file = /usr/src/contrib/llvm/lib/Target/ARM/Thumb2SizeReduction.cpp, line 961. > 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 5.0.0 (tags/RELEASE_500/final 312559) (based on = LLVM 5.0.0svn) > Target: armv6--freebsd12.0-gnueabihf > Thread model: posix > InstalledDir: /usr/bin > cc: note: diagnostic msg: PLEASE submit a bug report to = https://bugs.freebsd.org/submit/ and include the crash backtrace, = preprocessed source, and associated run script. > 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/zstd_compress-3f783c.c > cc: note: diagnostic msg: /tmp/zstd_compress-3f783c.sh > cc: note: diagnostic msg: >=20 > ******************** > --- zstd_compress.o --- > *** [zstd_compress.o] Error code 254 >=20 > make[7]: stopped in /scratch/tmp/pfg/head/lib/libzstd > .... For this there is: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223072 and: https://bugs.llvm.org/show_bug.cgi?id=3D35023 The detailed error message has changed over time but the above tracks that. I've not seen this problem (before armv7 or after I switched), possibly because I use -mcpu=3Dcortex-a7 explicitly. (For aarch64: -mcpu=3Dcortex-a53 .) =3D=3D=3D Mark Millard markmi at dsl-only.net