Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Sep 2016 04:33:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-toolchain@FreeBSD.org
Subject:   [Bug 212703] Clang segmentation fault
Message-ID:  <bug-212703-29464-MDlCBROrvK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-212703-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-212703-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212703

--- Comment #1 from Jason Bacon <bacon4000@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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212703-29464-MDlCBROrvK>