Date: Mon, 29 Apr 2019 22:47:34 -0700 From: Jim Long <stable@umpquanet.com> To: freebsd-stable@freebsd.org Subject: Buildworld error: use of undeclared identifier '__fnclex' Message-ID: <20190430054734.GA96884@g5.umpquanet.com>
next in thread | raw e-mail | index | archive | help
I'm upgrading from source from 11.1-STABLE r321596 to 11-STABLE #346941. Nothing in make.conf or src.conf. I believe I am following the procedure at https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html but I keep hitting an error: --snip c++ -O2 -pipe -I/usr/obj/usr/src/tmp/usr/src/lib/clang/libllvm -I/usr/src/= contrib/llvm/lib/Target/AArch64 -I/usr/src/contrib/llvm/lib/Target/ARM -I/u= sr/src/contrib/llvm/lib/Target/Mips -I/usr/src/contrib/llvm/lib/Target/Powe= rPC -I/usr/src/contrib/llvm/lib/Target/Sparc -I/usr/src/contrib/llvm/lib/Ta= rget/X86 -I/usr/src/lib/clang/include -I/usr/src/contrib/llvm/include -DLLV= M_BUILD_GLOBAL_ISEL -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG= -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"x86_64-unknown-freebsd11.2\" -DLLVM_HOST_= TRIPLE=3D\"x86_64-unknown-freebsd11.2\" -DDEFAULT_SYSROOT=3D\"/usr/obj/usr/= src/tmp\" -DLLVM_TARGET_ENABLE_AARCH64 -DLLVM_TARGET_ENABLE_ARM -DLLVM_TARG= ET_ENABLE_MIPS -DLLVM_TARGET_ENABLE_POWERPC -DLLVM_TARGET_ENABLE_SPARC -DLL= VM_TARGET_ENABLE_X86 -DLLVM_NATIVE_ASMPARSER=3DLLVMInitializeX86AsmParser -= DLLVM_NATIVE_ASMPRINTER=3DLLVMInitializeX86AsmPrinter -DLLVM_NATIVE_DISASSE= MBLER=3DLLVMInitializeX86Disassembler -DLLVM_NATIVE_TARGET=3DLLVMInitialize= X86Target -DLLVM_NATIVE_TARGETINFO=3DLLVMInitializeX86TargetInfo -DLLVM_NAT= IVE_TARGETMC=3DLLVMInitializeX86TargetMC -ffunction-sections -fdata-section= s -MD -MF.depend.Analysis_CodeMetrics.o -MTAnalysis/CodeMetrics.o -Qunused-= arguments -I/usr/obj/usr/src/tmp/legacy/usr/include -std=3Dc++11 -fno-exce= ptions -fno-rtti -stdlib=3Dlibc++ -Wno-c++11-extensions -c /usr/src/contri= b/llvm/lib/Analysis/CodeMetrics.cpp -o Analysis/CodeMetrics.o c++ -O2 -pipe -I/usr/obj/usr/src/tmp/usr/src/lib/clang/libllvm -I/usr/src/= contrib/llvm/lib/Target/AArch64 -I/usr/src/contrib/llvm/lib/Target/ARM -I/u= sr/src/contrib/llvm/lib/Target/Mips -I/usr/src/contrib/llvm/lib/Target/Powe= rPC -I/usr/src/contrib/llvm/lib/Target/Sparc -I/usr/src/contrib/llvm/lib/Ta= rget/X86 -I/usr/src/lib/clang/include -I/usr/src/contrib/llvm/include -DLLV= M_BUILD_GLOBAL_ISEL -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG= -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"x86_64-unknown-freebsd11.2\" -DLLVM_HOST_= TRIPLE=3D\"x86_64-unknown-freebsd11.2\" -DDEFAULT_SYSROOT=3D\"/usr/obj/usr/= src/tmp\" -DLLVM_TARGET_ENABLE_AARCH64 -DLLVM_TARGET_ENABLE_ARM -DLLVM_TARG= ET_ENABLE_MIPS -DLLVM_TARGET_ENABLE_POWERPC -DLLVM_TARGET_ENABLE_SPARC -DLL= VM_TARGET_ENABLE_X86 -DLLVM_NATIVE_ASMPARSER=3DLLVMInitializeX86AsmParser -= DLLVM_NATIVE_ASMPRINTER=3DLLVMInitializeX86AsmPrinter -DLLVM_NATIVE_DISASSE= MBLER=3DLLVMInitializeX86Disassembler -DLLVM_NATIVE_TARGET=3DLLVMInitialize= X86Target -DLLVM_NATIVE_TARGETINFO=3DLLVMInitializeX86TargetInfo -DLLVM_NAT= IVE_TARGETMC=3DLLVMInitializeX86TargetMC -ffunction-sections -fdata-section= s -MD -MF.depend.Analysis_ConstantFolding.o -MTAnalysis/ConstantFolding.o -= Qunused-arguments -I/usr/obj/usr/src/tmp/legacy/usr/include -std=3Dc++11 -= fno-exceptions -fno-rtti -stdlib=3Dlibc++ -Wno-c++11-extensions -c /usr/sr= c/contrib/llvm/lib/Analysis/ConstantFolding.cpp -o Analysis/ConstantFolding= =2Eo In file included from /usr/src/contrib/llvm/lib/Analysis/ConstantFolding.cp= p:49: In file included from /usr/include/c++/v1/cfenv:57: /usr/include/fenv.h:270:3: error: use of undeclared identifier '__fnclex' __fnclex(); ^ 1 error generated. *** Error code 1 Stop. make[4]: stopped in /usr/src/lib/clang/libllvm *** Error code 1 Stop. make[3]: stopped in /usr/src/lib/clang *** Error code 1 Stop. make[2]: stopped in /usr/src *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src --snip How can I get past this to upgrade to 11.2 and then on to 12.0? I'm happy to provide additional info on request. Thank you! Jim My build environment: # uname -a FreeBSD diatom2.smate.wwu.edu 11.1-STABLE FreeBSD 11.1-STABLE #0 r321596: W= ed Jul 26 18:21:47 PDT 2017 root@jimsdesk:/usr/obj/usr/src/sys/GENERIC = amd64 # svn info /usr/src Path: /usr/src Working Copy Root Path: /usr/src URL: svn://svn.freebsd.org/base/stable/11 Relative URL: ^/stable/11 Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 346941 Node Kind: directory Schedule: normal Last Changed Author: np Last Changed Rev: 346940 Last Changed Date: 2019-04-29 18:25:02 -0700 (Mon, 29 Apr 2019) # cat /etc/make.conf /etc/src.conf cat: /etc/make.conf: No such file or directory cat: /etc/src.conf: No such file or directory # find /usr/obj /usr/obj # cd /usr/src # make buildworld > /tmp/mbw-20190429-222910.out 2>&1 # tail -28 /tmp/mbw-20190429-222910.out=20 c++ -O2 -pipe -I/usr/obj/usr/src/tmp/usr/src/lib/clang/libllvm -I/usr/src/= contrib/llvm/lib/Target/AArch64 -I/usr/src/contrib/llvm/lib/Target/ARM -I/u= sr/src/contrib/llvm/lib/Target/Mips -I/usr/src/contrib/llvm/lib/Target/Powe= rPC -I/usr/src/contrib/llvm/lib/Target/Sparc -I/usr/src/contrib/llvm/lib/Ta= rget/X86 -I/usr/src/lib/clang/include -I/usr/src/contrib/llvm/include -DLLV= M_BUILD_GLOBAL_ISEL -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG= -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"x86_64-unknown-freebsd11.2\" -DLLVM_HOST_= TRIPLE=3D\"x86_64-unknown-freebsd11.2\" -DDEFAULT_SYSROOT=3D\"/usr/obj/usr/= src/tmp\" -DLLVM_TARGET_ENABLE_AARCH64 -DLLVM_TARGET_ENABLE_ARM -DLLVM_TARG= ET_ENABLE_MIPS -DLLVM_TARGET_ENABLE_POWERPC -DLLVM_TARGET_ENABLE_SPARC -DLL= VM_TARGET_ENABLE_X86 -DLLVM_NATIVE_ASMPARSER=3DLLVMInitializeX86AsmParser -= DLLVM_NATIVE_ASMPRINTER=3DLLVMInitializeX86AsmPrinter -DLLVM_NATIVE_DISASSE= MBLER=3DLLVMInitializeX86Disassembler -DLLVM_NATIVE_TARGET=3DLLVMInitialize= X86Target -DLLVM_NATIVE_TARGETINFO=3DLLVMInitializeX86TargetInfo -DLLVM_NAT= IVE_TARGETMC=3DLLVMInitializeX86TargetMC -ffunction-sections -fdata-section= s -MD -MF.depend.Analysis_CodeMetrics.o -MTAnalysis/CodeMetrics.o -Qunused-= arguments -I/usr/obj/usr/src/tmp/legacy/usr/include -std=3Dc++11 -fno-exce= ptions -fno-rtti -stdlib=3Dlibc++ -Wno-c++11-extensions -c /usr/src/contri= b/llvm/lib/Analysis/CodeMetrics.cpp -o Analysis/CodeMetrics.o c++ -O2 -pipe -I/usr/obj/usr/src/tmp/usr/src/lib/clang/libllvm -I/usr/src/= contrib/llvm/lib/Target/AArch64 -I/usr/src/contrib/llvm/lib/Target/ARM -I/u= sr/src/contrib/llvm/lib/Target/Mips -I/usr/src/contrib/llvm/lib/Target/Powe= rPC -I/usr/src/contrib/llvm/lib/Target/Sparc -I/usr/src/contrib/llvm/lib/Ta= rget/X86 -I/usr/src/lib/clang/include -I/usr/src/contrib/llvm/include -DLLV= M_BUILD_GLOBAL_ISEL -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG= -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"x86_64-unknown-freebsd11.2\" -DLLVM_HOST_= TRIPLE=3D\"x86_64-unknown-freebsd11.2\" -DDEFAULT_SYSROOT=3D\"/usr/obj/usr/= src/tmp\" -DLLVM_TARGET_ENABLE_AARCH64 -DLLVM_TARGET_ENABLE_ARM -DLLVM_TARG= ET_ENABLE_MIPS -DLLVM_TARGET_ENABLE_POWERPC -DLLVM_TARGET_ENABLE_SPARC -DLL= VM_TARGET_ENABLE_X86 -DLLVM_NATIVE_ASMPARSER=3DLLVMInitializeX86AsmParser -= DLLVM_NATIVE_ASMPRINTER=3DLLVMInitializeX86AsmPrinter -DLLVM_NATIVE_DISASSE= MBLER=3DLLVMInitializeX86Disassembler -DLLVM_NATIVE_TARGET=3DLLVMInitialize= X86Target -DLLVM_NATIVE_TARGETINFO=3DLLVMInitializeX86TargetInfo -DLLVM_NAT= IVE_TARGETMC=3DLLVMInitializeX86TargetMC -ffunction-sections -fdata-section= s -MD -MF.depend.Analysis_ConstantFolding.o -MTAnalysis/ConstantFolding.o -= Qunused-arguments -I/usr/obj/usr/src/tmp/legacy/usr/include -std=3Dc++11 -= fno-exceptions -fno-rtti -stdlib=3Dlibc++ -Wno-c++11-extensions -c /usr/sr= c/contrib/llvm/lib/Analysis/ConstantFolding.cpp -o Analysis/ConstantFolding= =2Eo In file included from /usr/src/contrib/llvm/lib/Analysis/ConstantFolding.cp= p:49: In file included from /usr/include/c++/v1/cfenv:57: /usr/include/fenv.h:270:3: error: use of undeclared identifier '__fnclex' __fnclex(); ^ 1 error generated. *** Error code 1 Stop. make[4]: stopped in /usr/src/lib/clang/libllvm *** Error code 1 Stop. make[3]: stopped in /usr/src/lib/clang *** Error code 1 Stop. make[2]: stopped in /usr/src *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190430054734.GA96884>