Hello,
I have just upgraded my system from 12.2-Release to 13.0-Release without any problems. I had a custom kernel set up before and wanted to compile one for the upgraded install too. Obtained relevant /usr/src from git with branch releng/13.0 and configured it using a copy of GENERIC. I then started the build but shortly an error similar to this one popped up:
I fiddled around but with every config I tried (even bog standard GENERIC) i get the same type of error but different file/state. This made me try with aslr and stackgap disabled for both /usr/bin/clang and /usr/bin/clang++ and while that fixes the error, the compilation then just fails on random errors (i.e. "unterminated conditional directive" and so on) in random files.
- compiling from/for x86_64
- unmodified source tree
- freshly upgraded system
If anything else is needed, please do not refrain from asking.
Thank you for your time
I have just upgraded my system from 12.2-Release to 13.0-Release without any problems. I had a custom kernel set up before and wanted to compile one for the upgraded install too. Obtained relevant /usr/src from git with branch releng/13.0 and configured it using a copy of GENERIC. I then started the build but shortly an error similar to this one popped up:
Code:
1. ./pci_if.h:101:2: current parser token 'return'
2. ./pci_if.h:96:1: parsing function body 'PCI_GET_VPD_IDENT'
3. ./pci_if.h:96:1: in compound statement ('{}')
#0 0x0000000003b24fae (/usr/bin/cc+0x3b24fae)
#1 0x0000000003b23355 (/usr/bin/cc+0x3b23355)
#2 0x0000000003ac9061 (/usr/bin/cc+0x3ac9061)
#3 0x0000000806e73e00 (/lib/libthr.so.3+0x19e00)
cc: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 11.0.1 ([email]git@github.com[/email]:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: x86_64-unknown-freebsd13.0
Thread model: posix Installed
Dir: /usr/bin cc: note: diagnostic msg:
- compiling from/for x86_64
- unmodified source tree
- freshly upgraded system
If anything else is needed, please do not refrain from asking.
Thank you for your time