Project

General

Profile

Bug #12384

update to GCC 7.5.0

Added by John Levon 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

History

#1

Updated by John Levon 3 months ago

We can take the opportunity to update to GCC 7.5.0 instead of 7.4, and also pull in a couple more patches from Andy. This now basically has us level with both illumos-extra from Joyent and OmniOS's GCC. pkgsrc and OI are an unknown state at this point.

The tree is here:

https://github.com/joyent/gcc/tree/il-7_5_0

I ran the test suite, and compared it to a GCC 7.4-il1 run:

https://us-east.manta.joyent.com//jlevon/public/gcc/gcc-7.5.0-il-1/mail-report.diff

which afaict, looks good, or at least as good as 7.4

Full results are:

https://us-east.manta.joyent.com/jlevon/public/gcc/gcc-7.5.0-il-1/check.out

#2

Updated by John Levon 3 months ago

Note: the only patch changes were the two new ones at the top of the stack

#3

Updated by John Levon 3 months ago

So far I've built an illumos-gate with this compiler, and booted a test system for running util-tests, os-tests, elf-tests, and crypto-tests. I also built SmartOS with the compiler and ran it on a headnode with some basic smoke testing.

DTrace+CTF testing underway.

#4

Updated by John Levon 3 months ago

I compared against oi-userland's 7.5.0. Aside from Andy's two most recent patches, they also have:

https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/components/developer/gcc-7/patches/1001-values.patch

That's something we should probably look at bringing in later; I don't think it's needed right now.

#5

Updated by John Levon 3 months ago

A SmartOS ctf diff all comparison:

https://us-east.manta.joyent.com//jlevon/public/gcc/gcc-7.5.0-il-1/ctf-versus-7.4-build.diff

just a little bit of noise.

#6

Updated by John Levon 3 months ago

I ran the DTrace test suite without any failures attributable to the gcc change.

Also available in: Atom PDF