[Bug 225488] clang-6.0.0 crashes building multimedia/libvpx

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 27 13:02:32 UTC 2018


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

Jan Beich <jbeich at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|freebsd-bugs at FreeBSD.org    |freebsd-toolchain at FreeBSD.o
                   |                            |rg
                 CC|                            |jbeich at FreeBSD.org

--- Comment #2 from Jan Beich <jbeich at FreeBSD.org> ---
(In reply to Pawel Pekala from comment #0)
> vpx_dsp/x86/variance_sse2.c

A few lines below it says vpx_dsp/x86/sad4d_avx512.c. After playing a bit with
attachment 190105 the issue seems to be -march=native injecting -mno-sse4.1
which isn't reverted by -mavx* e.g.,

$ cd /usr/ports/multimedia/libvpx
$ make clean configure
$ cd `make -V WRKSRC`
$ gmake vpx_dsp_rtcd.h
$ cc -mno-sse4.1 -mavx512bw -I. -c -o vpx_dsp/x86/sad4d_avx512.c.o
vpx_dsp/x86/sad4d_avx512.c

(In reply to Pawel Pekala from comment #1)
> sad4d_avx512-2e4c36.c is 2.4MB and cannot be attached.

Compressing with xz(1) should've worked as well e.g., bug 225086 has one 8.5MB
large if uncompressed.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list