Summary: | multimedia/ffmpeg: clang 4.0 crashes with -O3 -march=native | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> | ||||||
Component: | Individual Port(s) | Assignee: | freebsd-multimedia (Nobody) <multimedia> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | dim, w.schwarzenfeld | ||||||
Priority: | --- | Keywords: | needs-patch | ||||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(multimedia) |
||||||
Hardware: | i386 | ||||||||
OS: | Any | ||||||||
See Also: | https://llvm.org/bugs/show_bug.cgi?id=31847 | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 216008 | ||||||||
Attachments: |
|
Description
Jan Beich
2017-02-02 07:49:20 UTC
Created attachment 179517 [details]
libavfilter/vf_waveform.c (preprocessed, compressed)
Created attachment 179518 [details]
command line args (for clang 4.0)
Alternatively, one can do the following:
$ cd /usr/ports/multimedia/ffmpeg
$ make configure
$ cd $(make -V WRKSRC)
$ cc -m32 -O3 -march=haswell -I. -c libavfilter/vf_waveform.c
Reproduced with llvm trunk r293557. I submitted an upstream bug report here: https://llvm.org/bugs/show_bug.cgi?id=31847 If I understand this right https://bugs.llvm.org/show_bug.cgi?id=31847 it seems done, and could be closed. Agree, I can't reproduce the crash on either FreeBSD 11.1 or via devel/llvm40 using either the attached sample or building the port on i386 with CPUTYPE set. |