Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Nov 2017 13:58:11 -0800
From:      Mark Millard <markmi@dsl-only.net>
To:        Pedro Giffuni <pfg@FreeBSD.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>
Subject:   Re: ARM broken since a while
Message-ID:  <1A30D197-8194-4596-BC10-09F748C9915C@dsl-only.net>
In-Reply-To: <96795c0d-5b7f-2ebc-ac39-59061a57aeec@FreeBSD.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

=3D=3D=3D
Mark Millard
markmi at dsl-only.net

On 2017-Nov-25, at 1:10 PM, Pedro Giffuni <pfg at FreeBSD.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1A30D197-8194-4596-BC10-09F748C9915C>