daily CVS update output

2018-04-04 Thread NetBSD source update

Updating src tree:
P src/crypto/external/bsd/netpgp/dist/src/lib/libnetpgp.3
P src/crypto/external/bsd/netpgp/dist/src/libbn/libnetpgpbn.3
P src/crypto/external/bsd/netpgp/dist/src/libmj/libmj.3
P src/crypto/external/bsd/netpgp/dist/src/netpgpverify/netpgpverify.1
P src/distrib/sets/lists/comp/mi
P src/distrib/sets/lists/tests/mi
P src/lib/libutil/Makefile
P src/lib/libutil/opendisk.3
P src/sys/arch/amd64/amd64/machdep.c
P src/sys/arch/amd64/amd64/spl.S
P src/sys/arch/arm/sunxi/sunxi_tcon.c
P src/sys/arch/i386/i386/spl.S
P src/sys/arch/x86/include/cpu.h
P src/sys/arch/x86/include/intr.h
P src/sys/arch/x86/x86/cpu.c
P src/sys/arch/x86/x86/intr.c
P src/sys/arch/x86/x86/spectre.c
P src/sys/arch/x86/x86/x86_machdep.c
P src/sys/dev/pci/pcidevs
P src/sys/dev/pci/pcidevs.h
P src/sys/dev/pci/pcidevs_data.h
P src/sys/dev/pci/ixgbe/if_bypass.c
P src/sys/dev/pci/ixgbe/if_fdir.c
P src/sys/dev/pci/ixgbe/if_sriov.c
P src/sys/dev/pci/ixgbe/ix_txrx.c
P src/sys/dev/pci/ixgbe/ixgbe.c
P src/sys/dev/pci/ixgbe/ixgbe.h
P src/sys/dev/pci/ixgbe/ixgbe_82598.c
P src/sys/dev/pci/ixgbe/ixgbe_82598.h
P src/sys/dev/pci/ixgbe/ixgbe_82599.c
P src/sys/dev/pci/ixgbe/ixgbe_82599.h
P src/sys/dev/pci/ixgbe/ixgbe_api.c
P src/sys/dev/pci/ixgbe/ixgbe_api.h
P src/sys/dev/pci/ixgbe/ixgbe_common.c
P src/sys/dev/pci/ixgbe/ixgbe_common.h
P src/sys/dev/pci/ixgbe/ixgbe_dcb.c
P src/sys/dev/pci/ixgbe/ixgbe_dcb.h
P src/sys/dev/pci/ixgbe/ixgbe_dcb_82598.c
P src/sys/dev/pci/ixgbe/ixgbe_dcb_82598.h
P src/sys/dev/pci/ixgbe/ixgbe_dcb_82599.c
P src/sys/dev/pci/ixgbe/ixgbe_dcb_82599.h
P src/sys/dev/pci/ixgbe/ixgbe_fdir.h
P src/sys/dev/pci/ixgbe/ixgbe_mbx.c
P src/sys/dev/pci/ixgbe/ixgbe_mbx.h
P src/sys/dev/pci/ixgbe/ixgbe_osdep.c
P src/sys/dev/pci/ixgbe/ixgbe_osdep.h
P src/sys/dev/pci/ixgbe/ixgbe_phy.c
P src/sys/dev/pci/ixgbe/ixgbe_phy.h
P src/sys/dev/pci/ixgbe/ixgbe_rss.h
P src/sys/dev/pci/ixgbe/ixgbe_sriov.h
P src/sys/dev/pci/ixgbe/ixgbe_type.h
P src/sys/dev/pci/ixgbe/ixgbe_vf.c
P src/sys/dev/pci/ixgbe/ixgbe_vf.h
P src/sys/dev/pci/ixgbe/ixgbe_x540.c
P src/sys/dev/pci/ixgbe/ixgbe_x540.h
P src/sys/dev/pci/ixgbe/ixgbe_x550.c
P src/sys/dev/pci/ixgbe/ixv.c
P src/sys/rump/net/lib/libshmif/shmif_user.c
P src/tests/usr.bin/c++/Makefile
U src/tests/usr.bin/c++/t_asan_double_free.sh
U src/tests/usr.bin/c++/t_asan_global_buffer_overflow.sh
U src/tests/usr.bin/c++/t_asan_heap_overflow.sh
U src/tests/usr.bin/c++/t_asan_off_by_one.sh
U src/tests/usr.bin/c++/t_asan_uaf.sh
P src/tests/usr.bin/cc/Makefile
U src/tests/usr.bin/cc/t_asan_double_free.sh
U src/tests/usr.bin/cc/t_asan_global_buffer_overflow.sh
U src/tests/usr.bin/cc/t_asan_heap_overflow.sh
U src/tests/usr.bin/cc/t_asan_off_by_one.sh
U src/tests/usr.bin/cc/t_asan_uaf.sh
P src/usr.bin/make/parse.c

Updating xsrc tree:


Killing core files:




Updating file list:
-rw-rw-r--  1 srcmastr  netbsd  53937290 Apr  5 03:03 ls-lRA.gz


Re: llvm self-tests looping(?),Re: llvm self-tests looping(?)

2018-04-04 Thread Kamil Rytarowski
On 05.04.2018 00:55, Havard Eidnes wrote:
> Hm, I am suspecting that nobody has actually tested whether
> backtrace() really works on NetBSD/powerpc...  I'll write a
> simple test of that in C tomorrow.
> 

Yes, this looks more like dysfunctional backtrace(3).

We have got an ATF test for this:

  tests/lib/libexecinfo/t_backtrace.c

If it will work, it's worth to add a scenario that fails for ppc.

I don't see an ATF machine for powerpc, there shall be one available.

http://releng.netbsd.org/test-results.html

> On the other hand, the backtrace gdb was able to provide
> decidedly looks incomplete -- the program's main function is not
> opendir() (!), and maybe this has something to do with it?
> 

This is a bug, it's really a signal trapmpoline. This needs to be fixed
in GDB.. it's on my TODO list.

> It doesn't look like the SupportTests program is multi-threaded,
> although it is linked with -lpthread:
> 

It's common in the LLVM environment to link with everything that could
be useful.. like libm, librt, libpthread, libdl [for !NetBSD] etc.




signature.asc
Description: OpenPGP digital signature


Re: llvm self-tests looping(?),Re: llvm self-tests looping(?)

2018-04-04 Thread Havard Eidnes
> On 01.04.2018 16:53, Havard Eidnes wrote:
>> And some of the internal functions in libexecinfo are apparently
>> static, so not present in the symbol table for display in the
>> debugger, making debugging all that much harder.
>> 
>> Sigh!
>> 
>> Hints, anyone?
>
> There is an internal LLVM support for unwinding backtrace with an
> attempt to print a meaningful information on a crash signal.

Right...

> I assume that there is a crash in the unwinder code causing recursive
> execution of a signal handler.

:(

Would not that cause the stack to overflow?

> There was also a post-6.0 patch:
>
> Fix llvm-config --system-libs output on FreeBSD and NetBSD
>
> https://github.com/llvm-mirror/llvm/commit/daf294622383687adc281dd695acf4533caf0357
>
> Not sure if it is of any help, but it's worth to backport it to 6.0.

I applied that locally to the 5.0.1 package I'm building from.

I also updated netbsd-8 source, rebuilt kernel and user-land and
installed them, then rebuilt llvm, and tried to re-run the tests,
and the pointers to which library is what has changed a little
(and are probably more accurate now).  Included in the update
was, I think, an update of gcc from 5.4.0 to 5.5.0.  Yes, my
8.0_BETA snapshot was from the middle of last year...

(gdb) where
#0  0xfbe5a96c in memcpy () from /usr/lib/libc.so.12
#1  0xfbed46a0 in ?? () from /usr/lib/libgcc_s.so.1
#2  0xfbed4cfc in ?? () from /usr/lib/libgcc_s.so.1
#3  0xfbed5bc8 in _Unwind_Backtrace () from /usr/lib/libgcc_s.so.1
#4  0xfc0d0c1c in backtrace () from /usr/lib/libexecinfo.so.0
#5  0xfc56d8d8 in llvm::sys::PrintStackTrace(llvm::raw_ostream&) ()
   from /usr/pkgsrc/lang/llvm/work/build/lib/libLLVM-5.0.so
#6  0xfc56dc60 in PrintStackTraceSignalHandler(void*) ()
   from /usr/pkgsrc/lang/llvm/work/build/lib/libLLVM-5.0.so
#7  0xfc56bacc in llvm::sys::RunSignalHandlers() ()
   from /usr/pkgsrc/lang/llvm/work/build/lib/libLLVM-5.0.so
#8  0xfc56bd4c in SignalHandler(int) ()
   from /usr/pkgsrc/lang/llvm/work/build/lib/libLLVM-5.0.so
#9  0xfbdda03c in opendir () from /usr/lib/libc.so.12
Backtrace stopped: frame did not save the PC
(gdb) 

How can I see if it repeatedly hits a signal? I tried:

(gdb) b SignalHandler
Breakpoint 1 at 0xfc56bb80
(gdb) c
Continuing.

and ... nothing.

So I interrupted and tried some single-stepping:

(gdb) si
0xfbed474c in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4750 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4754 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4758 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed475c in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4760 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4764 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed47ac in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed47b0 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed47b4 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed47b8 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed47bc in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4744 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4748 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed474c in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4750 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4754 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4758 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed475c in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4760 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4764 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed47ac in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed47b0 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed47b4 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed47b8 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed47bc in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4744 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4748 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed474c in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4750 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4754 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4758 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed475c in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4760 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4764 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed47ac in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed47b0 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed47b4 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed47b8 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed47bc in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4744 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4748 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed474c in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4750 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4754 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4758 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed475c in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4760 in ?? () from /usr/lib/libgcc_s.so.1
(gdb) 
0xfbed4764 in ?? () from 

Automated report: NetBSD-current/i386 build success

2018-04-04 Thread NetBSD Test Fixture
The NetBSD-current/i386 build is working again.

The following commits were made between the last failed build and the
successful build:

2018.04.04.15.53.04 kamil src/tests/usr.bin/c++/Makefile,v 1.6
2018.04.04.16.01.05 bouyer src/sys/arch/arm/sunxi/sunxi_tcon.c,v 1.4
2018.04.04.16.23.27 maxv src/sys/arch/x86/x86/spectre.c,v 1.9
2018.04.04.16.23.27 maxv src/sys/arch/x86/x86/x86_machdep.c,v 1.111

Log files can be found at:


http://releng.NetBSD.org/b5reports/i386/commits-2018.04.html#2018.04.04.16.23.27


Automated report: NetBSD-current/i386 build failure

2018-04-04 Thread NetBSD Test Fixture
This is an automatically generated notice of a NetBSD-current/i386
build failure.

The failure occurred on babylon5.netbsd.org, a NetBSD/amd64 host,
using sources from CVS date 2018.04.04.15.08.59.

An extract from the build.sh output follows:

--- postinstall-fix-obsolete_stand ---
   === Removing obsolete files ===
AWK=/tmp/bracket/build/2018.04.04.15.08.59-i386/tools/bin/nbawk 
 DB=/tmp/bracket/build/2018.04.04.15.08.59-i386/tools/bin/nbdb  
 HOST_SH=/bin/sh 
MAKE=/tmp/bracket/build/2018.04.04.15.08.59-i386/tools/bin/nbmake   

PWD_MKDB=/tmp/bracket/build/2018.04.04.15.08.59-i386/tools/bin/nbpwd_mkdb   
SED=/tmp/bracket/build/2018.04.04.15.08.59-i386/tools/bin/nbsed 
STAT=/tmp/bracket/build/2018.04.04.15.08.59-i386/tools/bin/nbstat /bin/sh 
/tmp/bracket/build/2018.04.04.15.08.59-i386/src/usr.sbin/postinstall/postinstall
  -m i386 -a i386 -s /tmp/bracket/build/2018.04.04.15.08.59-i386/src  -d 
/tmp/bracket/build/2018.04.04.15.08.59-i386/destdir/ fix obsolete_stand
Source directory: /tmp/bracket/build/2018.04.04.15.08.59-i386/src
Target directory: /tmp/bracket/build/2018.04.04.15.08.59-i386/destdir/
obsolete_stand fix:
postinstall fixes passed: obsolete_stand
postinstall fixes failed:
   ===
checkflist ===> distrib/sets
--- check_DESTDIR ---
--- checkflist ---
cd /tmp/bracket/build/2018.04.04.15.08.59-i386/src/distrib/sets &&  
DESTDIR=/tmp/bracket/build/2018.04.04.15.08.59-i386/destdir  MACHINE=i386  
MACHINE_ARCH=i386  
AWK=/tmp/bracket/build/2018.04.04.15.08.59-i386/tools/bin/nbawk  
CKSUM=/tmp/bracket/build/2018.04.04.15.08.59-i386/tools/bin/nbcksum  
DB=/tmp/bracket/build/2018.04.04.15.08.59-i386/tools/bin/nbdb  EGREP=grep\ -E  
HOST_SH=/bin/sh  
MAKE=/tmp/bracket/build/2018.04.04.15.08.59-i386/tools/bin/nbmake  
MKTEMP=/tmp/bracket/build/2018.04.04.15.08.59-i386/tools/bin/nbmktemp  
MTREE=/tmp/bracket/build/2018.04.04.15.08.59-i386/tools/bin/nbmtree  
PAX=/tmp/bracket/build/2018.04.04.15.08.59-i386/tools/bin/nbpax  
COMPRESS_PROGRAM=gzip  GZIP=-n  
PKG_CREATE=/tmp/bracket/build/2018.04.04.15.08.59-i386/tools/bin/nbpkg_create  
SED=/tmp/bracket/build/2018.04.04.15.08.59-i386/tools/bin/nbsed  
TSORT=/tmp/bracket/build/2018.04.04.15.08.59-i386/tools/bin/nbtsort\ -q  
/bin/sh /tmp/bracket/build/2018.04.04.15.08.59-i386/src/distrib/sets/checkflist 
 
 -L base  -M 
/tmp/bracket/build/2018.04.04.15.08.59-i386/destdir/METALOG.sanitised
==  2 missing files in DESTDIR  
Files in flist but missing from DESTDIR.
File wasn't installed ?
--
./usr/tests/usr.bin/c++/t_call_once
./usr/tests/usr.bin/c++/t_call_once2
  end of 2 missing files  ==
*** [checkflist] Error code 1
nbmake[2]: stopped in 
/tmp/bracket/build/2018.04.04.15.08.59-i386/src/distrib/sets
1 error

The following commits were made between the last successful build and
the failed build:

2018.04.04.15.08.59 kamil src/tests/usr.bin/c++/Makefile,v 1.5

Log files can be found at:


http://releng.NetBSD.org/b5reports/i386/commits-2018.04.html#2018.04.04.15.08.59


Automated report: NetBSD-current/i386 build success

2018-04-04 Thread NetBSD Test Fixture
The NetBSD-current/i386 build is working again.

The following commits were made between the last failed build and the
successful build:

2018.04.04.06.30.09 msaitoh src/sys/dev/pci/ixgbe/ixgbe.c,v 1.143
2018.04.04.06.30.09 msaitoh src/sys/dev/pci/ixgbe/ixgbe_x550.c,v 1.11

Log files can be found at:


http://releng.NetBSD.org/b5reports/i386/commits-2018.04.html#2018.04.04.06.30.09


Automated report: NetBSD-current/i386 build failure

2018-04-04 Thread NetBSD Test Fixture
This is an automatically generated notice of a NetBSD-current/i386
build failure.

The failure occurred on babylon5.netbsd.org, a NetBSD/amd64 host,
using sources from CVS date 2018.04.04.04.43.46.

An extract from the build.sh output follows:

#   compile  omapip/protocol.o
/tmp/bracket/build/2018.04.04.04.43.46-i386/tools/bin/i486--netbsdelf-gcc 
-O2   -std=gnu99-Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wpointer-arith -Wno-sign-compare  -Wsystem-headers   -Wno-traditional   
-Wa,--fatal-warnings  -Werror   -fPIE
--sysroot=/tmp/bracket/build/2018.04.04.04.43.46-i386/destdir -DDHCPv6 
-DISC_PLATFORM_USETHREADS -DHAVE_CONFIG_H 
-I/tmp/bracket/build/2018.04.04.04.43.46-i386/src/external/bsd/dhcp/lib/omapip/../../dist
 
-I/tmp/bracket/build/2018.04.04.04.43.46-i386/src/external/bsd/dhcp/lib/omapip/../../dist/includes
 
-I/tmp/bracket/build/2018.04.04.04.43.46-i386/src/external/bsd/dhcp/lib/omapip/../../dist/../include
 
-I/tmp/bracket/build/2018.04.04.04.43.46-i386/src/external/bsd/dhcp/lib/omapip/../../../bind/dist
 
-I/tmp/bracket/build/2018.04.04.04.43.46-i386/src/external/bsd/dhcp/lib/omapip/../../../bind/dist/includes
 
-I/tmp/bracket/build/2018.04.04.04.43.46-i386/src/external/bsd/dhcp/lib/omapip/../../../bind/dist/../include
 -I/tmp/bracket/build/2
 
018.04.04.04.43.46-i386/src/external/bsd/dhcp/lib/omapip/../../../bind/dist/lib/isc/include
 
-I/tmp/bracket/build/2018.04.04.04.43.46-i386/src/external/bsd/dhcp/lib/omapip/../../../bind/dist/lib/isc/unix/include
 
-I/tmp/bracket/build/2018.04.04.04.43.46-i386/src/external/bsd/dhcp/lib/omapip/../../../bind/dist/lib/isc/pthreads/include
 
-I/tmp/bracket/build/2018.04.04.04.43.46-i386/src/external/bsd/dhcp/lib/omapip/../../../bind/dist/lib/dns/include
 
-I/tmp/bracket/build/2018.04.04.04.43.46-i386/src/external/bsd/dhcp/lib/omapip/../../../bind/dist/lib/dns/unix/include
 
-I/tmp/bracket/build/2018.04.04.04.43.46-i386/src/external/bsd/dhcp/lib/omapip/../../../bind/dist/lib/dns/pthreads/include
 
-I/tmp/bracket/build/2018.04.04.04.43.46-i386/src/external/bsd/dhcp/lib/omapip/../../../bind/dist/lib/irs/include
 
-I/tmp/bracket/build/2018.04.04.04.43.46-i386/src/external/bsd/dhcp/lib/omapip/../../../bind/dist/lib/irs/unix/include
 -I/tmp/bracket/build/2018.04.04.04.43.46-i386/src/external/bsd/dhcp/lib/om
 apip/../../../bind/dist/lib/irs/pthreads/include -DLOCALSTATEDIR='"/var"'  -c  
  
/tmp/bracket/build/2018.04.04.04.43.46-i386/src/external/bsd/dhcp/lib/omapip/../../dist/omapip/protocol.c
 -o protocol.o
--- dependall-gpl3 ---
In file included from 
/tmp/bracket/build/2018.04.04.04.43.46-i386/src/external/gpl3/gcc/dist/gcc/optabs.h:23:0,
 from insn-emit.c:25:

/tmp/bracket/build/2018.04.04.04.43.46-i386/src/external/gpl3/gcc/dist/gcc/optabs-query.h:23:25:
 fatal error: insn-opinit.h: No such file or directory
 #include "insn-opinit.h"
 ^
compilation terminated.
*** [insn-emit.o] Error code 1
nbmake[9]: stopped in 
/tmp/bracket/build/2018.04.04.04.43.46-i386/src/external/gpl3/gcc/usr.bin/backend
--- dependall-sys ---

The following commits were made between the last successful build and
the failed build:

2018.04.04.04.43.46 kre src/distrib/sets/lists/comp/mi,v 1.2186
2018.04.04.04.43.46 kre src/lib/libutil/Makefile,v 1.82
2018.04.04.04.43.46 kre src/lib/libutil/opendisk.3,v 1.15

Log files can be found at:


http://releng.NetBSD.org/b5reports/i386/commits-2018.04.html#2018.04.04.04.43.46