Summary: | graphics/rawstudio: fails to build with clang 4.0 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | dim, samm | ||||
Priority: | --- | Keywords: | needs-patch | ||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(samm) |
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 216008 | ||||||
Attachments: |
|
Description
Jan Beich
![]() ![]() devel/llvm40 or CC=clang40 is unaffected, so you may need full environment to reproduce: $ poudriere jail -cj clang40 -v projects/clang400-import -m svn $ poudriere bulk -Ctj clang40 lang/julia Created attachment 179618 [details]
Use anonymous labels in inline asm
The problem is that FFTWindow::applyAnalysisWindowSSE() contains named asm labels, and this gives trouble when inlining into the previous function.
It can be fixed easily by using anonymous labels, as in the attached patch.
Comment on attachment 179618 [details]
Use anonymous labels in inline asm
Looks OK. Can you land it?
Approved by: maintainer timeout (8 months)
Approved by: jbeich
MFH: 2017Q4
A commit references this bug: Author: dim Date: Thu Dec 21 20:30:35 UTC 2017 New revision: 456945 URL: https://svnweb.freebsd.org/changeset/ports/456945 Log: Fix build of graphics/rawstudio with clang (or any recent optimizing compiler), by using anonymous labels in asm fragments. PR: 216771 Approved by: maintainer timeout (8 months) Approved by: jbeich MFH: 2017Q4 Changes: head/graphics/rawstudio/files/patch-plugins_denoise_fftwindow.cpp |