Dimitry Andric
2016-Oct-16 11:34 UTC
Building FreeBSD 11.0-stable on FreeBSD 10.1-stable fails
On 16 Oct 2016, at 12:20, Torfinn Ingolfsen <torfinn.ingolfsen at getmail.no> wrote:> I am trying to build FreeBSD 11.0-stable on a machine which runs: > tingo at kg-v7$ uname -a > FreeBSD kg-v7.kg4.no 10.1-STABLE FreeBSD 10.1-STABLE #0 r278322: Fri Feb 6 21:36:01 CET 2015 > root at kg-v7.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 > > I have emptied /usr/src and /usr/obj and fetched the latest stable/11 via subversion: > tingo at kg-v7$ egrep "^BRANCH|^REVISION" /usr/src/sys/conf/newvers.sh > REVISION="11.0" > BRANCH="STABLE" > > But building it (per the procedure in the handbook) fails at the buildworld stage. Both 'make -j5 buildworld' and 'make buildworld' fails, like this: > > c++: error: unable to execute command: Segmentation fault (core dumped) > c++: error: clang frontend command failed due to signal (use -v to see invocation) > FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 > Target: x86_64-unknown-freebsd10.1 > Thread model: posix > c++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script. > c++: note: diagnostic msg: > ******************** > > PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: > Preprocessed source(s) and associated run script(s) are located at: > c++: note: diagnostic msg: /tmp/CGBlocks-abcdc1.cpp > c++: note: diagnostic msg: /tmp/CGBlocks-abcdc1.shPlease make sure your stable/10 is at least r286033. -Dimitry -------------- 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.freebsd.org/pipermail/freebsd-stable/attachments/20161016/3e69332e/attachment.sig>
Warner Losh
2016-Oct-16 15:22 UTC
Building FreeBSD 11.0-stable on FreeBSD 10.1-stable fails
On Sun, Oct 16, 2016 at 5:34 AM, Dimitry Andric <dim at freebsd.org> wrote:> On 16 Oct 2016, at 12:20, Torfinn Ingolfsen <torfinn.ingolfsen at getmail.no> wrote: >> I am trying to build FreeBSD 11.0-stable on a machine which runs: >> tingo at kg-v7$ uname -a >> FreeBSD kg-v7.kg4.no 10.1-STABLE FreeBSD 10.1-STABLE #0 r278322: Fri Feb 6 21:36:01 CET 2015 >> root at kg-v7.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 >> >> I have emptied /usr/src and /usr/obj and fetched the latest stable/11 via subversion: >> tingo at kg-v7$ egrep "^BRANCH|^REVISION" /usr/src/sys/conf/newvers.sh >> REVISION="11.0" >> BRANCH="STABLE" >> >> But building it (per the procedure in the handbook) fails at the buildworld stage. Both 'make -j5 buildworld' and 'make buildworld' fails, like this: >> >> c++: error: unable to execute command: Segmentation fault (core dumped) >> c++: error: clang frontend command failed due to signal (use -v to see invocation) >> FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 >> Target: x86_64-unknown-freebsd10.1 >> Thread model: posix >> c++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script. >> c++: note: diagnostic msg: >> ******************** >> >> PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: >> Preprocessed source(s) and associated run script(s) are located at: >> c++: note: diagnostic msg: /tmp/CGBlocks-abcdc1.cpp >> c++: note: diagnostic msg: /tmp/CGBlocks-abcdc1.sh > > Please make sure your stable/10 is at least r286033.What's the issue this fixes? Right now we have safeties in place in buildworld that indicate we 'support' back to 9 sometime. If that's not really the case, we need to fix something (either fix so we don't need this specific revision, or fix the Makefile to indicate we don't support back that far). Warner