Re: Build failes cause of padlock_cipher.c:90 / commit: bbd1562a4992
On 31 Jan 2018, at 19:09, Stefan Hagenwrote: > > The kernel build is currently breaking for me: > > Error: > /usr/src/sys/crypto/via/padlock_cipher.c:90:14: error: invalid instruction > mnemonic '.byte' > "popf \n\t" > > :3:2: note: instantiated into assembly here > rep > ^~~ > 1 error generated. Make sure your source tree is at least at r328090, and run at least "make buildworld" or "make kernel-toolchain" before attempting to build the kernel. -Dimitry signature.asc Description: Message signed with OpenPGP
Build failes cause of padlock_cipher.c:90 / commit: bbd1562a4992
Hello, The kernel build is currently breaking for me: Error: /usr/src/sys/crypto/via/padlock_cipher.c:90:14: error: invalid instruction mnemonic '.byte' "popf \n\t" :3:2: note: instantiated into assembly here rep ^~~ 1 error generated. *** [padlock_cipher.o] Error code 1 make[4]: stopped in /usr/src/sys/modules/padlock 1 error make[4]: stopped in /usr/src/sys/modules/padlock *** [all_subdir_padlock] Error code 2 After reverting the change introduced with bbd1562a4992, it works again. I'm building GENERIC-NODEBUG on skylake. make.conf: MALLOC_PRODUCTION=yes WITHOUT_DEBUG=yes MK_PROFILE=no CPUTYPE?=skylake Best Regards, Stefan ___ 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: r328603
On Wed, Jan 31, 2018 at 8:25 AM, Jim Ericksonwrote: > On Wed, Jan 31, 2018 at 6:08 AM, Dimitry Andric wrote: >> On 31 Jan 2018, at 01:22, Jim Erickson wrote: >>> >>> On Tue, Jan 30, 2018 at 4:59 PM, Jim Erickson wrote: >> ... >>> >>> fails with same error with ccache disabled. as stated below: >>> >>> echo libc.so.7: >>> /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libcompiler_rt.a >>> /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libssp_nonshared.a >> .depend >>> clang -O2 -pipe -I/usr/src/lib/libc/include -I/usr/src/include >>> -I/usr/src/lib/libc/amd64 -DNLS -D__DBINTERFACE_PRIVATE >>> -I/usr/src/contrib/gdtoa -I/usr/src/contrib/libc-vis -DINET6 >>> -I/usr/obj/usr/src/amd64.amd64/lib/libc -I/usr/src/lib/libc/resolv >>> -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libmd >>> -I/usr/src/contrib/jemalloc/include -I/usr/src/contrib/tzcode/stdtime >>> -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES >>> -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DWANT_HYPERV -DYP >>> -DNS_CACHING -DSYMBOL_VERSIONING -MD -MF.depend.machdep_ldisx.o >>> -MTmachdep_ldisx.o -std=gnu99 -fstack-protector-strong >>> -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized >>> -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int >>> -Wno-unused-const-variable -Wno-error=tautological-constant-compare >>> -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality >>> -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef >>> -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum >>> -Wno-knr-promoted-parameter -Qunused-arguments >>> -I/usr/src/lib/libutil -I/usr/src/lib/msun/amd64 >>> -I/usr/src/lib/msun/x86 -I/usr/src/lib/msun/src -c >>> /usr/src/lib/libc/gdtoa/machdep_ldisx.c -o machdep_ldisx.o >>> In file included from /usr/src/lib/libc/gdtoa/machdep_ldisx.c:45: >>> In file included from /usr/src/contrib/gdtoa/gdtoaimp.h:197: >>> /usr/src/include/stdlib.h:95:7: error: expected function body after >>> function declarator >>> __alloc_size2(1, 2); >>> ^ >> >> It is rather strange, as r328221 defined the new __alloc_size2() macro, >> and r328237 added it to stdlib.h. Maybe your source tree was >> inconsistently updated? Does this also happen on a fresh src checkout? >> >> -Dimitry >> > checked out a pristine copy of source and have ccache disabled. > currently building will keep you updated. what is the best path forward? reinstall?? failed with same error. see below: echo libc.so.7: /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libcompiler_rt.a /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libssp_nonshared.a >> .depend clang -O2 -pipe -I/usr/src/lib/libc/include -I/usr/src/include -I/usr/src/lib/libc/amd64 -DNLS -D__DBINTERFACE_PRIVATE -I/usr/src/contrib/gdtoa -I/usr/src/contrib/libc-vis -DINET6 -I/usr/obj/usr/src/amd64.amd64/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libmd -I/usr/src/contrib/jemalloc/include -I/usr/src/contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DWANT_HYPERV -DYP -DNS_CACHING -DSYMBOL_VERSIONING -MD -MF.depend.machdep_ldisx.o -MTmachdep_ldisx.o -std=gnu99 -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=tautological-constant-compare -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -I/usr/src/lib/libutil -I/usr/src/lib/msun/amd64 -I/usr/src/lib/msun/x86 -I/usr/src/lib/msun/src -c /usr/src/lib/libc/gdtoa/machdep_ldisx.c -o machdep_ldisx.o In file included from /usr/src/lib/libc/gdtoa/machdep_ldisx.c:45: In file included from /usr/src/contrib/gdtoa/gdtoaimp.h:197: /usr/src/include/stdlib.h:95:7: error: expected function body after function declarator __alloc_size2(1, 2); ^ /usr/src/include/stdlib.h:306:6: error: expected function body after function declarator __alloc_size2(2, 3); ^ 2 errors generated. *** Error code 1 Stop. make[4]: stopped in /usr/src/lib/libc *** Error code 1 Stop. make[3]: stopped in /usr/src *** 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 ___ 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: r328603
On Wed, Jan 31, 2018 at 6:08 AM, Dimitry Andricwrote: > On 31 Jan 2018, at 01:22, Jim Erickson wrote: >> >> On Tue, Jan 30, 2018 at 4:59 PM, Jim Erickson wrote: > ... >> >> fails with same error with ccache disabled. as stated below: >> >> echo libc.so.7: >> /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libcompiler_rt.a >> /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libssp_nonshared.a >> .depend >> clang -O2 -pipe -I/usr/src/lib/libc/include -I/usr/src/include >> -I/usr/src/lib/libc/amd64 -DNLS -D__DBINTERFACE_PRIVATE >> -I/usr/src/contrib/gdtoa -I/usr/src/contrib/libc-vis -DINET6 >> -I/usr/obj/usr/src/amd64.amd64/lib/libc -I/usr/src/lib/libc/resolv >> -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libmd >> -I/usr/src/contrib/jemalloc/include -I/usr/src/contrib/tzcode/stdtime >> -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES >> -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DWANT_HYPERV -DYP >> -DNS_CACHING -DSYMBOL_VERSIONING -MD -MF.depend.machdep_ldisx.o >> -MTmachdep_ldisx.o -std=gnu99 -fstack-protector-strong >> -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized >> -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int >> -Wno-unused-const-variable -Wno-error=tautological-constant-compare >> -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality >> -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef >> -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum >> -Wno-knr-promoted-parameter -Qunused-arguments >> -I/usr/src/lib/libutil -I/usr/src/lib/msun/amd64 >> -I/usr/src/lib/msun/x86 -I/usr/src/lib/msun/src -c >> /usr/src/lib/libc/gdtoa/machdep_ldisx.c -o machdep_ldisx.o >> In file included from /usr/src/lib/libc/gdtoa/machdep_ldisx.c:45: >> In file included from /usr/src/contrib/gdtoa/gdtoaimp.h:197: >> /usr/src/include/stdlib.h:95:7: error: expected function body after >> function declarator >> __alloc_size2(1, 2); >> ^ > > It is rather strange, as r328221 defined the new __alloc_size2() macro, > and r328237 added it to stdlib.h. Maybe your source tree was > inconsistently updated? Does this also happen on a fresh src checkout? > > -Dimitry > checked out a pristine copy of source and have ccache disabled. currently building will keep you updated. ___ 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: Ryzen specific issues
On 1/31/2018 8:37 AM, Mike Tancsa wrote: > Hi folks, > I have been running into some deadlock issues on Ryzen boards. The > most easy way to trigger the problem is to compile net/samba47 from the > ports. > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225584 > > Varying the load sometimes allows the compile to finish, but most of the > time the compile deadlocks. I have seen this both on RELENG_11 as well > as HEAD from r328611 > > Any ideas how to possibly work around this ? sysctl kern.eventtimer.periodic=1 doesnt seem to help on HEAD First build attempt and it hangs in a similar / same way G -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 default/source4/heimdal/lib/hx509/asn1_ocsp_asn1.c -c -o default/source4/heimdal/lib/hx509/asn1_ocsp_asn1_92.o [1008/3804] Compiling source4/heimdal/lib/hcrypto/libtommath/bncore.c runner cc -pipe -g -ggdb -gdwarf-2 -gstrict-dwarf -DLIBICONV_PLUG -fno-color-diagnostics -D_FUNCTION_DEF -g -fstack-protector -DLDAP_DEPRECATED -fno-strict-aliasing -fno-omit-frame-pointer -fPIC -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DSTATIC_tommath_MODULES=NULL -DSTATIC_tommath_MODULES_PROTO=extern void __tommath_dummy_module_proto(void) -MD -Idefault/source4/heimdal_build -I../source4/heimdal_build -Idefault/source4/heimdal/lib/hcrypto/libtommath -I../source4/heimdal/lib/hcrypto/libtommath -Idefault/include/public -I../include/public -Idefault/source4 -I../source4 -Idefault/lib -I../lib -Idefault/source4/lib -I../source4/lib -Idefault/source4/include -I../source4/include -Idefault/include -I../include -Idefault/lib/replace -I../lib/replace -Idefault -I.. -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 ../source4/heimdal/lib/hcrypto/libtommath/bncore.c -c -o default/source4/heimdal/lib/hcrypto/libtommath/bncore_83.o ctrl+t load: 3.14 cmd: sh 94611 [wait] 490.27r 0.00u 0.00s 0% 2240k make: Working in: /usr/ports/net/samba47 make[1]: Working in: /usr/ports/net/samba47 load: 3.14 cmd: sh 94611 [wait] 490.27r 0.00u 0.00s 0% 2240k make: Working in: /usr/ports/net/samba47 make[1]: Working in: /usr/ports/net/samba47 root@amdtestr12:/tmp # procstat -kk 14062 PIDTID COMMTDNAME KSTACK 14062 100933 python2.7 - mi_switch+0x18c sleepq_switch+0x10d sleepq_catch_signals+0x300 sleepq_wait_sig+0xf _sleep+0x359 umtxq_sleep+0x163 do_sem2_wait+0x426 __umtx_op_sem2_wait+0x4b amd64_syscall+0x79b fast_syscall_common+0xfc 14062 101206 python2.7 - mi_switch+0x18c sleepq_switch+0x10d sleepq_catch_signals+0x300 sleepq_wait_sig+0xf _sleep+0x359 umtxq_sleep+0x163 do_lock_umutex+0x6e3 __umtx_op_wait_umutex+0x48 amd64_syscall+0x79b fast_syscall_common+0xfc 14062 101207 python2.7 - mi_switch+0x18c sleepq_switch+0x10d sleepq_catch_signals+0x300 sleepq_wait_sig+0xf _sleep+0x359 umtxq_sleep+0x163 do_sem2_wait+0x426 __umtx_op_sem2_wait+0x4b amd64_syscall+0x79b fast_syscall_common+0xfc 14062 101208 python2.7 - mi_switch+0x18c sleepq_switch+0x10d sleepq_catch_signals+0x300 sleepq_wait_sig+0xf _sleep+0x359 umtxq_sleep+0x163 do_sem2_wait+0x426 __umtx_op_sem2_wait+0x4b amd64_syscall+0x79b fast_syscall_common+0xfc 14062 101209 python2.7 - mi_switch+0x18c sleepq_switch+0x10d sleepq_catch_signals+0x300 sleepq_wait_sig+0xf _sleep+0x359 umtxq_sleep+0x163 do_sem2_wait+0x426 __umtx_op_sem2_wait+0x4b amd64_syscall+0x79b fast_syscall_common+0xfc 14062 101210 python2.7 - mi_switch+0x18c sleepq_switch+0x10d sleepq_catch_signals+0x300 sleepq_wait_sig+0xf _sleep+0x359 umtxq_sleep+0x163 do_sem2_wait+0x426 __umtx_op_sem2_wait+0x4b amd64_syscall+0x79b fast_syscall_common+0xfc 14062 101211 python2.7 - mi_switch+0x18c sleepq_switch+0x10d sleepq_catch_signals+0x300 sleepq_wait_sig+0xf _sleep+0x359 umtxq_sleep+0x163 do_sem2_wait+0x426 __umtx_op_sem2_wait+0x4b amd64_syscall+0x79b fast_syscall_common+0xfc 14062 101212 python2.7 - mi_switch+0x18c sleepq_switch+0x10d sleepq_catch_signals+0x300 sleepq_wait_sig+0xf _sleep+0x359 umtxq_sleep+0x163 do_sem2_wait+0x426 __umtx_op_sem2_wait+0x4b amd64_syscall+0x79b fast_syscall_common+0xfc 14062 101213 python2.7 - mi_switch+0x18c sleepq_switch+0x10d sleepq_catch_signals+0x300 sleepq_wait_sig+0xf _sleep+0x359 umtxq_sleep+0x163 do_sem2_wait+0x426 __umtx_op_sem2_wait+0x4b amd64_syscall+0x79b fast_syscall_common+0xfc 14062 101214 python2.7 - mi_switch+0x18c sleepq_switch+0x10d sleepq_catch_signals+0x300 sleepq_wait_sig+0xf _sleep+0x359 umtxq_sleep+0x163 do_sem2_wait+0x426 __umtx_op_sem2_wait+0x4b amd64_syscall+0x79b fast_syscall_common+0xfc 14062 101215 python2.7 - mi_switch+0x18c sleepq_switch+0x10d sleepq_catch_signals+0x300
Ryzen specific issues
Hi folks, I have been running into some deadlock issues on Ryzen boards. The most easy way to trigger the problem is to compile net/samba47 from the ports. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225584 Varying the load sometimes allows the compile to finish, but most of the time the compile deadlocks. I have seen this both on RELENG_11 as well as HEAD from r328611 Any ideas how to possibly work around this ? ---Mike -- --- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, m...@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada ___ 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: r328603
On 31 Jan 2018, at 01:22, Jim Ericksonwrote: > > On Tue, Jan 30, 2018 at 4:59 PM, Jim Erickson wrote: ... > > fails with same error with ccache disabled. as stated below: > > echo libc.so.7: > /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libcompiler_rt.a > /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libssp_nonshared.a >> .depend > clang -O2 -pipe -I/usr/src/lib/libc/include -I/usr/src/include > -I/usr/src/lib/libc/amd64 -DNLS -D__DBINTERFACE_PRIVATE > -I/usr/src/contrib/gdtoa -I/usr/src/contrib/libc-vis -DINET6 > -I/usr/obj/usr/src/amd64.amd64/lib/libc -I/usr/src/lib/libc/resolv > -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libmd > -I/usr/src/contrib/jemalloc/include -I/usr/src/contrib/tzcode/stdtime > -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES > -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DWANT_HYPERV -DYP > -DNS_CACHING -DSYMBOL_VERSIONING -MD -MF.depend.machdep_ldisx.o > -MTmachdep_ldisx.o -std=gnu99 -fstack-protector-strong > -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized > -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int > -Wno-unused-const-variable -Wno-error=tautological-constant-compare > -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality > -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef > -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum > -Wno-knr-promoted-parameter -Qunused-arguments > -I/usr/src/lib/libutil -I/usr/src/lib/msun/amd64 > -I/usr/src/lib/msun/x86 -I/usr/src/lib/msun/src -c > /usr/src/lib/libc/gdtoa/machdep_ldisx.c -o machdep_ldisx.o > In file included from /usr/src/lib/libc/gdtoa/machdep_ldisx.c:45: > In file included from /usr/src/contrib/gdtoa/gdtoaimp.h:197: > /usr/src/include/stdlib.h:95:7: error: expected function body after > function declarator > __alloc_size2(1, 2); > ^ It is rather strange, as r328221 defined the new __alloc_size2() macro, and r328237 added it to stdlib.h. Maybe your source tree was inconsistently updated? Does this also happen on a fresh src checkout? -Dimitry signature.asc Description: Message signed with OpenPGP