[cfe-dev] [llvm-dev] [3.8 Release] RC1 has been tagged

Dimitry Andric via cfe-dev cfe-dev at lists.llvm.org
Thu Jan 21 11:00:20 PST 2016


On 20 Jan 2016, at 21:18, Dimitry Andric via llvm-dev <llvm-dev at lists.llvm.org> wrote:
...
>>> * Last but not least: the host compiler on FreeBSD 10.x is clang 3.4.1 (the last version that can build without C++11 support), and it crashes with a segfault during building of CGBlocks.cpp.  I'll need to find some way to work around this failure, since we cannot upgrade the compiler easily on FreeBSD 10.x.
>> 
>> This sounds like the biggest problem. Is there a PR for the crash? I
>> suppose the alternatives are either to try not to tickle the crash in
>> our source, or fixing the 3.4.1 compiler?
> 
> There is no PR, but I did a bisection, and the crash turns out to be fixed by r210467 ("[DAG] Expose NoSignedWrap, NoUnsignedWrap and Exact flags to SelectionDAG.") by Andrea DiBiagio.

And I finally found out this was a red herring, and I had already solved this issue before, in July 2015 [1], with excellent help from Andrea!  This was originally known as PR24249, and eventually turned out to be solved by llvm r219009.

However, the two build VMs I have been using for LLVM release testing were never updated to include the fix, and were still at the version of FreeBSD from roughly May 2015.

I have now been able to do a successful build of the llvm, clang and (for amd64) openmp.  Uploaded the following tarballs:

SHA256 (clang+llvm-3.8.0-rc1-amd64-unknown-freebsd10.tar.xz) = 28b8f7758736dab181da9e5e445eb734b134a579ed79bcf8b040d4a7d5c9d31d
SHA256 (clang+llvm-3.8.0-rc1-i386-unknown-freebsd10.tar.xz) = ba9712964c56bcc9ba50f511f2a98757d321d5cd1c7989790029dd64c3db6db4

I will now spend some time to see if I can get more components to build for the next release candidate.

-Dimitry

[1] https://svnweb.freebsd.org/base?view=revision&revision=286033
[2] https://llvm.org/bugs/show_bug.cgi?id=24249
[3] http://llvm.org/viewvc/llvm-project?view=revision&revision=219009

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160121/fe45a9a7/attachment.sig>


More information about the cfe-dev mailing list