Re: ARM broken since a while

2017-11-25 Thread Mark Millard

===
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:
>> 
>> ...
>> 
>> 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
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: ARM broken since a while

2017-11-25 Thread Dimitry Andric
On 25 Nov 2017, at 22:10, Pedro Giffuni  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)

This is probably after the most recent zstd import, see also:

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

and

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

No progress at all upstream, though. :-/

-Dimitry



signature.asc
Description: Message signed with OpenPGP


ARM broken since a while

2017-11-25 Thread Pedro Giffuni



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



Pedro.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"