Re: ARM broken since a while

From: Mark Millard <markmi_at_dsl-only.net>
Date: Sat, 25 Nov 2017 13:58:11 -0800
===
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:
>> 
>> ...
>> 
>> I have seen problems on arm with zstd though.
>> 
> For the record:
> arm.armv6 buildworld failed, check _.arm.armv6.buildworld for details
> ....
> ===> 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:
> ********************
> 
> 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:
> 
> ********************
> --- zstd_compress.o ---
> *** [zstd_compress.o] Error code 254
> 
> make[7]: stopped in /scratch/tmp/pfg/head/lib/libzstd
> ....

For this there is:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223072

and:

https://bugs.llvm.org/show_bug.cgi?id=35023

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=cortex-a7 explicitly. (For aarch64:
-mcpu=cortex-a53 .)


===
Mark Millard
markmi at dsl-only.net
Received on Sat Nov 25 2017 - 20:58:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:13 UTC