Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Aug 2017 17:55:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 221836] cad/stepcode Workaround for clang 5.0 regression
Message-ID:  <bug-221836-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 221836
           Summary: cad/stepcode Workaround for clang 5.0 regression
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: fernando.apesteguia@gmail.com

Created attachment 185788
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185788&action=
=3Dedit
patch to the ports tree

There's a regression in clang 5.0 that was detected thanks to this port been
marked as a runaway process when being built in -CURRENT. On i386 with clang
5.0, big compilation units take huge times to compile compared to previous
clang versions.

The bug has been reported upstream. In the meantime, fall back to use clang=
38
if the conditions for the bug are met. With this patch it takes under 17
minutes to build the port in a fully virtualized environment.

Please note that when the fix is imported into FreeBSD, this patch won't be
necessary so this should not be MFH'd.

For details, see:
https://lists.freebsd.org/pipermail/freebsd-hackers/2017-August/051361.html

Q/A:
 - portlint -AC: OK
 - poudriere builds for {10.3,11.0,11.1}{amd64,i386}: OK
 - build in 12-CURRENT i386: OK (less than 17 minutes)

--=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-221836-13>