Re: "make buildworld" fails for r360785?

From: Chris <bsd-lists_at_BSDforge.com>
Date: Thu, 07 May 2020 20:35:42 -0700
On Thu, 7 May 2020 23:11:22 -0400 Robert Huff roberthuff_at_rcn.com said

> Hello:
> 	On a system running:
> 
> FreeBSD 13.0-CURRENT #0 r354131: Mon Oct 28 17:27:33 EDT 2019  amd64
> 
> 	Today around noon I downloaded a fresh copy of the source tree
> (for base/head) to r360785.
> 	make.conf:
> 
> #WITH_DEBUG=yes
> 
> SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
> SENDMAIL_LDFLAGS=-L/usr/local/lib
> SENDMAIL_LDADD=-lsasl2
> 
> #DEFAULT_VERSIONS+=linux=c6_64 samba=4.4 python=3.5 python3=3.5
> DEFAULT_VERSIONS+=linux=c7 samba=4.10
> 
> # Possible values: 2.7, 3.4, 3.5, 3.6
> DEFAULT_VERSIONS+=python=3.7
> 
> # Possible values: 2.7
> DEFAULT_VERSIONS+=python2=2.7
> 
> # Possible values: 3.4, 3.5, 3.6
> DEFAULT_VERSIONS+=python3=3.7
> 
> DEFAULT_VERSIONS+=perl5=5.30
> 
> DEFAULT_VERSIONS+=java=12
> 
> DEFAULT_VERSIONS+=samba=4.10
> 
> #WITH_CCACHE_BUILD=yes
> #CCACHE_DIR=/var/tmp
> 
> 	src.conf:
> 
> WITHOUT_PROFILE=yes
> WITHOUT_TESTS=yes
> WITH_DEBUG=yes
> WITHOUT_DEBUG_FILES=yes
> #WITH_CCACHE_BUILD=yes
> #CCACHE_DIR=/var/tmp
> 
> #PORTS_MODULES=sysutils/lsof graphics/drm-legacy-kmod
> graphics/gpu-firmware-kmod
> #PORTS_MODULES += 
> PORTS_MODULES += graphics/drm-legacy-kmod
> PORTS_MODULES += graphics/gpu-firmware-kmod
> PORTS_MODULES += sysutils/lsof
> 
> 	"make buildowrld" fails with:
> 
> >  c++  -O2 -pipe -fno-common
> >  -I/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libclang
> >  -I/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvm
> >  -I/usr/src/contrib/llvm-project/clang/lib/Basic
> >  -I/usr/src/contrib/llvm-project/clang/lib/Driver
> >  -I/usr/src/contrib/llvm-project/clang/include -I/usr/src/lib/clang/include
...
> >  -DLLVM_NATIVE_TARGETMC=LLVMInitializeX86TargetMC -ffunction-sections
> >  -fdata-sectio
> ns -MD -MF.depend.Basic_SourceManager.o -MTBasic/SourceManager.o
> -Wno-format-zero-length -Qunused-arguments
> -I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include  -fno-exceptions
> -fno-rtti -std=c++14 -stdlib=libc++ -Wno-c++11-extensions   -c
> /usr/src/contrib/llvm-project/clang/lib/Basic/SourceManager.cpp -o
> Basic/SourceManager.o
> >  /usr/src/contrib/llvm-project/clang/lib/Basic/SourceManager.cpp:1228:10:
> >  fatal error: 'emmintrin.h' file not found
> >  #include <emmintrin.h>
> >           ^~~~~~~~~~~~~
> >  1 error generated.
> >  *** Error code 1
I ran ionto this awhile back, and I think the way I was able to solve it with a
make kernel-toolchain

and then building world && kernel

Best wishes.

--Chris
> 
> 	Have I screwed something up?  Nothing in UPDATING seems
> appropriate.
> 	Help, please?
> 
> 
> 			Respectfully,
> 
> 
> 				Robert Huff
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Fri May 08 2020 - 01:35:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:23 UTC