Re: Build error: 'emmintrin.h' file not found
Hi, indeed, `emmintrin.h` was missing. Along with everything else in `/usr/lib/clang`. I copied its contents from a recent snapshot release and the build went fine. I just don't know how I managed to mess that up. Thank you for the pointer! Regards flo Am 2018-01-24 um 19:54 schrieb Peter Jeremy: > On 2018-Jan-24 17:34:33 +0100, Florian Limberger >wrote: >> since a few days I can't build 12-CURRENT anymore, due to the 'emmintrin.h' >> header missing. > > I ran into a similar problem about a month ago. First of all, does > your host system have emmintrin.h? E.g. what is the output of "find > /usr/lib/clang -name emmintrin.h" ? > ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Build error: 'emmintrin.h' file not found
On 2018-Jan-24 17:34:33 +0100, Florian Limbergerwrote: >since a few days I can't build 12-CURRENT anymore, due to the 'emmintrin.h' >header missing. I ran into a similar problem about a month ago. First of all, does your host system have emmintrin.h? E.g. what is the output of "find /usr/lib/clang -name emmintrin.h" ? -- Peter Jeremy signature.asc Description: PGP signature
Build error: 'emmintrin.h' file not found
Hi, since a few days I can't build 12-CURRENT anymore, due to the 'emmintrin.h' header missing. I hope this is all relevant information: uname -a: FreeBSD $HOSTNAME 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r327931: Sat Jan 13 23:47:34 CET 2018 root@$HOSTNAME:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 Build log (make buildworld, using meta mode): -- >>> stage 3: cross tools -- cd /usr/src; INSTALL="sh /usr/src/tools/install.sh" TOOLS_PREFIX=/usr/obj/usr/src/amd64.amd64/tmp PATH=/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/$ sr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/sbin:/bin:/usr/sbin:/usr/bin WORLDTMP=/usr/obj/usr/src/amd64.amd64/tmp MAKEFLAGS="-m /usr/src/tools/build/mk -m /usr/src/share/mk" make -f Makefile.inc1 DE$ TDIR= OBJTOP='/usr/obj/usr/src/amd64.amd64/tmp/obj-tools' OBJROOT='${OBJTOP}/' MAKEOBJDIRPREFIX= BOOTSTRAPPING=1200055 BWPHASE=cross-tools SSP_CFLAGS= MK_HTML=no NO_LINT=yes MK_MAN=no -DNO_PIC MK$ PROFILE=no -DNO_SHARED -DNO_CPU_CFLAGS MK_WARNS=no MK_CTF=no MK_CLANG_EXTRAS=no MK_CLANG_FULL=no MK_LLDB=no MK_TESTS=no MK_LLD=yes MK_INCLUDES=yes TARGET=amd64 TARGET_ARCH=amd64 MK_GDB=no MK_LLD_I$ _LD=yes MK_TESTS=no cross-tools ===> lib/clang (obj,all,install) ===> lib/clang/libllvm (all) ===> lib/clang/libclang (all) Building /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libclang/Basic/SourceManager.o /usr/src/contrib/llvm/tools/clang/lib/Basic/SourceManager.cpp:1175:10: fatal error: 'emmintrin.h' file not found #include ^ 1 error generated. *** Error code 1 Stop. make[4]: stopped in /usr/src/lib/clang/libclang .ERROR_TARGET='Basic/SourceManager.o' .ERROR_META_FILE='/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libclang/Basic_SourceManager.o.meta' .MAKE.LEVEL='4' MAKEFILE='' .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose' _ERROR_CMD='c++ -O2 -pipe -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/tools/clang/lib/Basic -I/$ sr/src/contrib/llvm/tools/clang/lib/Driver -I/usr/src/contrib/llvm/tools/clang/include -I/usr/src/lib/clang/include -I/usr/src/contrib/llvm/include -DLLVM_BUILD_GLOBAL_ISEL -D__STDC_LIMIT_MACROS -D__STDC$ CONSTANT_MACROS -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd12.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd12.0\" -DDEFAULT_SYSROOT=\"/usr/obj/usr/src/amd64.amd64/tmp\" -ffunction-sections -f$ ata-sections -Qunused-arguments -I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions -c /usr/src/contrib/llvm/tools/clang/lib/$ asic/SourceManager.cpp -o Basic/SourceManager.o;' .CURDIR='/usr/src/lib/clang/libclang' .MAKE='make' .OBJDIR='/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libclang' .TARGETS='all' DESTDIR='' LD_LIBRARY_PATH='' MACHINE='amd64' MACHINE_ARCH='amd64' MAKEOBJDIRPREFIX='' MAKESYSPATH='/usr/src/share/mk' MAKE_VERSION='20171028' PATH='/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/sbin:/bin:/usr/sbin:/usr/bin' SRCTOP='/usr/src' OBJTOP='/usr/obj/usr/src/amd64.amd64/tmp/obj-tools' .MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk /etc/src-env.conf /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/src.sys.obj.mk /usr/src/sha re/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/src.conf /usr/src/lib/clang/libclang/Makefile /usr/src/share/mk/src.opts.mk /usr/src/sh are/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.linker.mk /usr/src/lib/clang/clang.pre.mk /usr/src/lib/clang/llvm.pre.m k /usr/src/lib/clang/clang.build.mk /usr/src/lib/clang/llvm.build.mk /usr/src/tools/build/mk/bsd.lib.mk /usr/src/share/mk/bsd.lib.mk /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk /usr/src/ share/mk/src.init.mk /usr/src/lib/clang/libclang/../Makefile.inc /usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk /usr/src/share/mk/bsd.symver.mk /usr/src/share/mk/bsd.nls.mk /usr/src/s hare/mk/bsd.files.mk /usr/src/share/mk/bsd.incs.mk /usr/src/share/mk/bsd.confs.mk /usr/src/share/mk/bsd.links.mk /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk /usr/src/share/mk/bsd.o bj.mk /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.sys.mk /usr/src/tools/build/mk/Makefile.boot' .PATH='. /usr/src/lib/clang/libclang /usr/src/contrib/llvm/tools/clang/lib' *** Error code 1 Stop. make[3]: stopped in /usr/src/lib/clang .ERROR_TARGET='all_subdir_lib/clang/libclang' .ERROR_META_FILE='' .MAKE.LEVEL='3' MAKEFILE=''
Re: Error compiling isboot-kmod
On Wed, Jan 24, 2018 at 3:12 AM, Maurizio Vairaniwrote: > On this CURRENT snapshot > # uname -a > FreeBSD freebsd12 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r327788: Wed Jan 10 > 22:55:40 UTC 2018 > r...@releng3.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC > amd64 > > I can't compile the kernel module isboot-kmod: > # cd /usr/ports/net/isboot-kmod && make > ===> License BSD2CLAUSE accepted by the > user > > ===> isboot-kmod-0.2.13_1 depends on file: /usr/local/sbin/pkg - found > ===> Fetching all distfiles required by isboot-kmod-0.2.13_1 for building > ===> Extracting for isboot-kmod-0.2.13_1 > => SHA256 Checksum OK for isboot-0.2.13.tar.gz. > ===> Patching for isboot-kmod-0.2.13_1 > ===> Applying FreeBSD patches for isboot-kmod-0.2.13_1 > ===> Configuring for isboot-kmod-0.2.13_1 > ===> Building for isboot-kmod-0.2.13_1 > --- machine --- > --- x86 --- > --- machine --- > machine -> /usr/src/sys/amd64/include > --- x86 --- > x86 -> /usr/src/sys/x86/include > --- objwarn --- > --- opt_cam.h --- > --- objwarn --- > Warning: Object directory not changed from original > /usr/ports/net/isboot-kmod/work/isboot-0.2.13/src > --- opt_cam.h --- > :> opt_cam.h > --- isboot.o --- > --- ibft.o --- > --- isboot.o --- > cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE > -nostdinc -I. -I/usr/src/sys -fno-common -fno-omit-frame-pointer > -mno-omit-leaf-frame-pointer -MD -MF.depe$ > d.isboot.o -MTisboot.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse > -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv > -fstack-protector -Wall -Wredundant-dec$ > s -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -Winline -Wcast-qual -Wundef -Wno-pointer-sign > -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs $ > fdiagnostics-show-option -Wno-unknown-pragmas > -Wno-error-tautological-compare -Wno-error-empty-body > -Wno-error-parentheses-equality -Wno-error-unused-function > -Wno-error-pointer-s$ > gn -Wno-error-shift-negative-value -Wno-error-address-of-packed-member > -mno-aes -mno-avx -std=iso9899:1999 -c isboot.c -o isboot.o > --- ibft.o --- > cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE > -nostdinc -I. -I/usr/src/sys -fno-common -fno-omit-frame-pointer > -mno-omit-leaf-frame-pointer -MD -MF.depe$ > d.ibft.o -MTibft.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse > -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv > -fstack-protector -Wall -Wredundant-decls -$ > nested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -Winline -Wcast-qual -Wundef -Wno-pointer-sign > -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdi$ > gnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare > -Wno-error-empty-body -Wno-error-parentheses-equality > -Wno-error-unused-function -Wno-error-pointer-sign $ > Wno-error-shift-negative-value -Wno-error-address-of-packed-member > -mno-aes -mno-avx -std=iso9899:1999 -c ibft.c -o ibft.o > --- iscsi.o --- > cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE > -nostdinc -I. -I/usr/src/sys -fno-common -fno-omit-frame-pointer > -mno-omit-leaf-frame-pointer -MD -MF.depe$ > d.iscsi.o -MTiscsi.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse > -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv > -fstack-protector -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -Winline -Wcast-qual -Wundef -Wno-pointer-sign > -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -f$ > iagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological- > compare > -Wno-error-empty-body -Wno-error-parentheses-equality > -Wno-error-unused-function -Wno-error-pointer-sig$ > -Wno-error-shift-negative-value -Wno-error-address-of-packed-member > -mno-aes -mno-avx -std=iso9899:1999 -c iscsi.c -o iscsi.o > In file included from iscsi.c:62: > In file included from /usr/src/sys/cam/cam_ccb.h:1035: > In file included from /usr/src/sys/cam/mmc/mmc_bus.h:5: > In file included from /usr/src/sys/dev/mmc/bridge.h:59: > /usr/src/sys/sys/bus.h:726:10: fatal error: 'device_if.h' file not found > #include "device_if.h" > ^ > I think this was fixed in a newer -current. Warner ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Periodical interrupt storm when playing game with USB keyboard
On Wed, Jan 24, 2018 at 12:06 PM, Hans Petter Selaskywrote: > Hi, > > Can you test and review: > > https://reviews.freebsd.org/D14027 > > It seems better. Not as many lock_delays and lag but there still is some lag when holding down a key for too long. kernel`z_feed_linear_S16LE 11 kernel`uma_zfree_arg 11 i915kms.ko`gen8_ppgtt_clear_pte_range11 kernel`bzero 12 kernel`sopoll13 kernel`sopoll_generic13 kernel`atomic_add_int13 kernel`trash_ctor14 kernel`0x80f4b54815 kernel`callout_reset_sbt_on 16 kernel`trash_dtor16 kernel`spinlock_enter16 kernel`copyout 16 ichsmb.ko`ichsmb_device_intr 16 kernel`__mtx_lock_spin_flags 17 kernel`softclock_call_cc 18 kernel`selfdfree 20 kernel`uma_dbg_alloc 20 kernel`uma_dbg_free 20 kernel`uma_zalloc_arg21 i915kms.ko`gen8_ppgtt_insert_pte_entries 21 kernel`copyin22 kernel`amd64_syscall 22 kernel`witness_warn 23 * kernel`ukbd_interrupt24* kernel`fget_unlocked 24 kernel`ukbd_timeout 25 kernel`__mtx_assert 28 kernel`usbd_in_polling_mode 30 kernel`_isitmyx 33 kernel`witness_lock 47 kernel`kern_select 54 kernel`bcopy 78 kernel`__mtx_unlock_flags79 kernel`witness_checkorder91 kernel`memcpy 100 kernel`__mtx_lock_flags 136 kernel`witness_unlock 160 i915kms.ko`fw_domains_get 184 kernel`spinlock_exit 1904 kernel`cpu_idle3564 * kernel`lock_delay 3634* kernel`acpi_cpu_idle 29591 --HPS > ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Periodical interrupt storm when playing game with USB keyboard
Hi, Can you test and review: https://reviews.freebsd.org/D14027 --HPS ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Broadcom 802.11ac WDI SDIO Adapter (Version 1.605.1.0) not configured
On 01/24/2018 02:03, KIRIYAMA Kazuhiko wrote: HI, Broadcom 802.11ac WDI SDIO Adapter works in Windows but does not recognaized in my machne[1]. Actually both ifconfig and pciconf show nothing wifi drives found: Hi. SDIO support is not there yet. Some development is going on: https://wiki.freebsd.org/SDIO?action=AttachFile=view=sdio_bsdcam.pdf But seems like it's quite far from actually working with Wi-Fi cards. ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Error compiling isboot-kmod
On this CURRENT snapshot # uname -a FreeBSD freebsd12 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r327788: Wed Jan 10 22:55:40 UTC 2018 r...@releng3.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 I can't compile the kernel module isboot-kmod: # cd /usr/ports/net/isboot-kmod && make ===> License BSD2CLAUSE accepted by the user ===> isboot-kmod-0.2.13_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by isboot-kmod-0.2.13_1 for building ===> Extracting for isboot-kmod-0.2.13_1 => SHA256 Checksum OK for isboot-0.2.13.tar.gz. ===> Patching for isboot-kmod-0.2.13_1 ===> Applying FreeBSD patches for isboot-kmod-0.2.13_1 ===> Configuring for isboot-kmod-0.2.13_1 ===> Building for isboot-kmod-0.2.13_1 --- machine --- --- x86 --- --- machine --- machine -> /usr/src/sys/amd64/include --- x86 --- x86 -> /usr/src/sys/x86/include --- objwarn --- --- opt_cam.h --- --- objwarn --- Warning: Object directory not changed from original /usr/ports/net/isboot-kmod/work/isboot-0.2.13/src --- opt_cam.h --- :> opt_cam.h --- isboot.o --- --- ibft.o --- --- isboot.o --- cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I/usr/src/sys -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depe$ d.isboot.o -MTisboot.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-dec$ s -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs $ fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-s$ gn -Wno-error-shift-negative-value -Wno-error-address-of-packed-member -mno-aes -mno-avx -std=iso9899:1999 -c isboot.c -o isboot.o --- ibft.o --- cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I/usr/src/sys -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depe$ d.ibft.o -MTibft.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -$ nested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdi$ gnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign $ Wno-error-shift-negative-value -Wno-error-address-of-packed-member -mno-aes -mno-avx -std=iso9899:1999 -c ibft.c -o ibft.o --- iscsi.o --- cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I/usr/src/sys -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depe$ d.iscsi.o -MTiscsi.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -f$ iagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sig$ -Wno-error-shift-negative-value -Wno-error-address-of-packed-member -mno-aes -mno-avx -std=iso9899:1999 -c iscsi.c -o iscsi.o In file included from iscsi.c:62: In file included from /usr/src/sys/cam/cam_ccb.h:1035: In file included from /usr/src/sys/cam/mmc/mmc_bus.h:5: In file included from /usr/src/sys/dev/mmc/bridge.h:59: /usr/src/sys/sys/bus.h:726:10: fatal error: 'device_if.h' file not found #include "device_if.h" ^ 1 error generated. *** [iscsi.o] Error code 1 make[2]: stopped in /usr/ports/net/isboot-kmod/work/isboot-0.2.13/src 1 error make[2]: stopped in /usr/ports/net/isboot-kmod/work/isboot-0.2.13/src ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/net/isboot-kmod *** Error code 1 Stop. make: stopped in /usr/ports/net/isboot-kmod -- Regards Maurizio ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"