[Bug 212703] Clang segmentation fault

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Sep 16 04:33:53 UTC 2016


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

--- Comment #1 from Jason Bacon <bacon4000 at gmail.com> ---

I worked around the issue by removing their OptimizeForArchitecture CMake
module.

post-patch:
        ${REINPLACE_CMD} \
                -e '/OptimizeForArchitecture/d' \
                -e 's|-O3|-O2|g' \
                ${WRKSRC}/src/CMakeLists.txt

The port is building successfully with vanilla compiler flags.

If you want to reproduce the problem, look at graphics/openmvg here:

https://github.com/outpaddling/freebsd-ports-wip

Disable the patch shown above and the issue should appear.  I was able to
reproduce it on 10.1 and 10.3 amd64.

   Jason

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


More information about the freebsd-toolchain mailing list