syslog, ENOBUFS and non-C implementations

2024-03-05 Thread Havard Eidnes
Hi, over the last couple of months I have seen at least two non-C (rust and python) implementations of syslog() equivalent functionality causing applications written in those languages to become brittle. The reason, I hear you ask? In C, the return type of syslog() is void, so it can't return an

Re: bind is'nt compilable MKKERBEROS=no

2024-03-10 Thread Havard Eidnes
> dependall ===> lib/../external/mpl/bind/lib/libdns > create libdns/gssapictx.d > /u/NetBSD/src.ks/external/mpl/bind/lib/libdns/../../dist/lib/dns/gssapictx.c:24:10: > fatal error: gssapi/gssapi.h: No such file or directory >24 | #include > | ^ > compilat

Re: HEADS UP: plan to switch many ports over to GCC 12 soon

2024-07-01 Thread Havard Eidnes
> Summary: it seems that libdeflate explicitly uses some gcc-intrinsic > functions on gcc 11+, and it is expected that the assembler can handle > the result. So this doesn't depend on a compiler option and it looks > like we cannot disable it either. This seems vaguely similar to the build failur

Patch for boot loader: "menu" command

2013-07-25 Thread Havard Eidnes
Hi, with NetBSD 5.1, the install kernel needs to be booted with a kernel module loaded (the miniroot kernel module). This means that any installation attempts following this old avenue will FAIL from this point forward: * dropping to the boot prompt * switch to serial console * resuming boot

Re: Patch for boot loader: "menu" command

2013-07-25 Thread Havard Eidnes
> On Thu, Jul 25, 2013 at 02:24:29PM +0200, Havard Eidnes wrote: >> Now, there are probably several ways to go around mending this. >> Some of them are: >> >> 1) provide a way to display the contents of boot.cfg (but need to >>prevent showing the "conten

Re: Patch for boot loader: "menu" command

2013-07-25 Thread Havard Eidnes
> On Thu, Jul 25, 2013 at 02:24:29PM +0200, Havard Eidnes wrote: >> Now, there are probably several ways to go around mending this. >> Some of them are: >> >> 1) provide a way to display the contents of boot.cfg (but need to >>prevent showing the "conten

Re: Patch for boot loader: "menu" command

2013-07-26 Thread Havard Eidnes
>> How does the attached look? It should implement the suggested idea. > > That looks like a pretty simple change. Yah, it was easier than I expected. >> diff -u -r1.58 boot2.c > ... >> +#ifndef SMALL >> +if (bootconf.nummenu > 0) >> +bootdefault(); >> +#endif > >

Re: Patch for boot loader: "menu" command

2013-07-26 Thread Havard Eidnes
>> > How about change "boot" to use whatever boot.cfg says is the default >> > boot option, and "boot ...anything..." to be the override-the-menu >> > command? >> >> How does the attached look? It should implement the suggested idea. > > The changes you propose sound like a good idea, however, I'm

Re: Patch for boot loader: "menu" command

2013-07-28 Thread Havard Eidnes
Hi, The changes implementing the two features I described in this thread: 1) new "menu" command 2) default "boot" to use the default choice from boot.cfg, if defined have now been committed to NetBSD-current. Best regards, - Håvard

Re: Build broken for evbmips-{eb,el} - librumphijack

2013-08-24 Thread Havard Eidnes
> With sources up-to-date, I'm seeing: > > # build librumphijack/librumphijack.so.0.0 ... > librumphijack.a(hijack.o):(.eh_frame+0x1c): warning: relocation emitted > against readonly section Me too, for all mips ports, apparently. I've not seen this error message before, and would like hint

Intel C602 chipset support?

2013-08-28 Thread Havard Eidnes
Hi, I recently had occasion to boot up NetBSD 6.1 and -current on a Supermicro X9DRW board equipped witn a Xeon E5 processor. The board uses the Intel C602 chipset. There are many "not configured" PCI devices. Notable is perhaps vendor 0x8086 product 0x1d6b (SAS mass storage, revision 0x06)

Re: Intel C602 chipset support?

2013-08-28 Thread Havard Eidnes
> For reference I include the dmesg outputs which I could capture > since the network device *is* supported. Bah, forgot the -current dmesg. Here it is. - Håvard Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 The N

Re: agr issue in netbsd-7

2015-07-30 Thread Havard Eidnes
> I tried to configure a port channel (agr0). > When I configure the port channel only with bnx0 or only with bnx1 > everything works. If I use bnx0 and bnx1, the Cisco switch sets one of > the two links to suspended mode. If I'm not terribly mistaken, the problem is that both physical interfaces

Re: agr issue in netbsd-7

2015-08-17 Thread Havard Eidnes
> On Thu, Jul 30, 2015 at 10:25:36PM +0200, Havard Eidnes wrote: >> > I tried to configure a port channel (agr0). >> > When I configure the port channel only with bnx0 or only with bnx1 >> > everything works. If I use bnx0 and bnx1, the Cisco switch sets one of >&g

Re: gdb.old is broken

2016-10-15 Thread Havard Eidnes
> And while I'm on a roll I might as well promote -P as well. I think > that unless you know what you are doing, -d and -P is probably > switches you always want to apply when you do cvs update. I agree -- that's why my ~/.cvsrc contains: update -d -P diff -u rdiff -u Regards, - Håvard

ODROID-C1 networking problems?

2017-01-12 Thread Havard Eidnes
Hi, I have a couple of ODROID C1 boxes. One of them appear to have intermittent networking problems, in particular with receiving packets. droid# uname -a NetBSD droid.urc.uninett.no 7.99.58 NetBSD 7.99.58 (ODROID-C1) #0: Thu Jan 12 10:12:54 CET 2017 h...@mt.urc.uninett.no:/u/build/HEAD/obj/e

rnd entropy estimate running low?

2017-01-12 Thread Havard Eidnes
Hi, on a couple of arm boxes I have I've been observing the development of the entropy estimate, what "rndctl -s" calls "bits currently stored in pool" over time. I've also tried to read some of the code to understand the behaviour. If I understand correctly, randomness sources come in two basic

Re: rnd entropy estimate running low?

2017-01-31 Thread Havard Eidnes
>> Meanwhile the hardware random generator sits there unused. > > Does it sit there completely unused, or did it get used a little at > boot time? It generated some bits at boot time, but apparently not early enough, because on each reboot the kernel log looks like this: ... total memory = 1024 M

Re: lang/rust build fails

2020-05-16 Thread Havard Eidnes
> The failure doesn't give much of a clue about what's happened. > The last lines in the build.log are: > > running: /pkg_comp/work/pkg/lang/rust/work/rust-bootstrap/bin/cargo build > --manifest-path > /pkg_comp/work/pkg/lang/rust/work/rustc-1.42.0-src/src/bootstrap/Cargo.toml > --frozen >Co

Re: -current tar(1) breakage

2021-03-27 Thread Havard Eidnes
>> (gdb) print *cv >> $1 = {cv_shared = 0x6c652e73, cv_closure = 0x761713184050} >> (gdb) print *cv->shared >> There is no member named shared. >> (gdb) print *cv->cv_shared >> Cannot access memory at address 0x6c652e73 >> (gdb) print *cv->cv_shared->ci_ops >> Cannot access memory at address 0x6c65

Re: nothing contributing entropy in Xen domUs? (causing python3.7 rebuild to get stuck in kernel in "entropy" during an "import" statement)

2021-03-31 Thread Havard Eidnes
> On Wed, Mar 31, 2021 at 12:12:31AM +, Taylor R Campbell wrote: >> This is false. If the VM host provided a viornd(4) device then NetBSD >> would automatically collect, and count, entropy from the host, with no >> manual intervention. > > I would love to see instructions how to do this - I ha

Re: regarding the changes to kernel entropy gathering

2021-04-04 Thread Havard Eidnes
> Is that file encrypted? As I understand it, no. > I think I'd prefer possibly insecure, but difficult to obtain from outside > like disk drive interrupt timing low order bits than that. Regardless of > how unproven that method might be. Do note, the existing randomness sources are still bein

Re: regarding the changes to kernel entropy gathering

2021-04-04 Thread Havard Eidnes
>> Do note, the existing randomness sources are still being sampled and >> mixed into the pool, so even if the starting state from the saved >> entropy may be known (by violating the security of the storage), >> it's still not possible to predict the complete stream of randomness >> data once the s

Re: regarding the changes to kernel entropy gathering

2021-04-04 Thread Havard Eidnes
>> My question is, how can we tell what random sources a system actually >> has, i.e. is there some flag that cpuctl identify shows when a system >> has RDRAND/RDSEED? > > What about architectures that have nothing like RDRAND/RDSEED? Are > they, effectively, totally unsupported now? Nope, not en

Re: regarding the changes to kernel entropy gathering

2021-04-04 Thread Havard Eidnes
>> > No amount of uptime and activity was increasing the entropy in my >> > system before I patched it. >> >> As I understand it, entropy was being contributed. What wasn't >> happening was the random driver code recognizing and acknowledging that >> entropy, because it had no way to tell how much

Re: Problem reports for version control systems

2021-05-02 Thread Havard Eidnes
> I suspect what is commonly the problem here is related to the fact > that cvs has such a phase at the beginning where it is scanning > through the file system, which can take quite a while. Some NAT > devices along the path sometimes have timeouts on existing connections > that if no traffic is h

wip/v8

2014-09-24 Thread Havard Eidnes
Hi, on and off I've been toying with the pkgsrc-wip v8 package, which is the Google JavaScript engine. They have a largih test suite, and "of course" a number of tests fail on NetBSD/i386 7.0_BETA which I'm currently developing on. Lately I've been able to look a little closer into what causes t

Re: Problemns after updating from 6.1.4 to 6.1.5

2014-10-18 Thread Havard Eidnes
>> > It's not at all clear to me where maildrop directory is. And it is > >> > also not clear to me why this is broken, since I took great pains to > >> > avoid modifying the postfix {master,main}.cf files during etcupdate. >> >> I hit that last week - I think it is a change postfix... >> >> $ ls

Re: Problemns after updating from 6.1.4 to 6.1.5

2014-10-18 Thread Havard Eidnes
> Ooopppsss! > > > > > Seems like I forgot the -p option when untarring the distribution > sets! Been there, done that, wasn't too pleasant... :) Regards, - Håvard

GCCs mm_malloc.h?

2014-10-21 Thread Havard Eidnes
Hi, for some odd reason that I've not yet found, the file /usr/include/gcc-4.5/mm_malloc.h is being included by one of the configure tests for the net/libcmis package, and configure is failing with this error: /usr/include/gcc-4.5/mm_malloc.h:34:64: error: declaration of 'int posix_memalign(void

panic with 7.0_BETA

2014-10-26 Thread Havard Eidnes
Hi, I updated my netbsd-7 amd64 testing machine yesterday at around 11:17 local time (to a local mirror which may lag 4 hours behind anoncvs), and this time I got a panic, transcribed via paper: panic: kernel diagnostic assertion "(obj == NULL) || mutex_owned(obj->vmobjlock)" ...uvm_page.c line

Re: panic with 7.0_BETA

2014-10-26 Thread Havard Eidnes
> I encountered this as well, on amd64 (I also run i386 and sparc and they > were fine). > > Since the machine I saw this on is my file server, I reverted to my > previous kernel (7.0_BETA from 22 September). My previous kernel was of October 9 vintage, and I reverted to it. I briefly looked over

Re: panic with 7.0_BETA

2014-10-26 Thread Havard Eidnes
>> I encountered this as well, on amd64 (I also run i386 and sparc and they >> were fine). >> >> Since the machine I saw this on is my file server, I reverted to my >> previous kernel (7.0_BETA from 22 September). > > My previous kernel was of October 9 vintage, and I reverted to > it. I briefly l

Re: panic with 7.0_BETA

2014-10-27 Thread Havard Eidnes
>> panic: kernel diagnostic assertion "(obj == NULL) || >> mutex_owned(obj->vmobjlock)" >> ...uvm_page.c line 1226 > > http://mail-index.netbsd.org/current-users/2014/10/20/msg025989.html ? in which Stephen Borrill said: > Apologies for the noise, I think this was down to running an > update bu

Re: panic with 7.0_BETA

2014-10-27 Thread Havard Eidnes
> Another datapoint maybe. I've manage to rebuild a few 7.0_BETAs > without scratching the old obj files and all arch i386 has > survived those upgrades. The only system that has crashed for > me was arch amd64. Was that what you where running on your > machine too? Yep, testing with NetBSD/amd64.

Re: panic with 7.0_BETA

2014-10-29 Thread Havard Eidnes
>> Another datapoint maybe. I've manage to rebuild a few 7.0_BETAs >> without scratching the old obj files and all arch i386 has >> survived those upgrades. The only system that has crashed for >> me was arch amd64. Was that what you where running on your >> machine too? > > Yep, testing with NetB

X11 on Lenovo T430

2014-12-23 Thread Havard Eidnes
Hi, I'm running netbsd-7 code on my new Lenovo T430 laptop. I'm using code from November 27 at the moment, with the DRM/KMS kernel, and there are a few glitches: 1) Sometimes the rendering of images e.g. in a web browser (firefox) is mangled / "interlaced" (not sure how to best describe it

7.0_BETA and 7.99.10 fail to find USB devices

2015-04-26 Thread Havard Eidnes
Hi, I've recently had occasion to try to install NetBSD on a new Lenovo RD350 1U server. I've tried the following versions and boot device combinations: 7.0_BETA from USB flash disk 7.0_BETA from a USB CD-ROM 7.99.10 from a USB CD-ROM 6.1.3 from a USB CD-ROM I've also hooked up a Dell USB keybo

amd64/7.0_BETA fails to probe USB devices?

2015-04-28 Thread Havard Eidnes
Hi, I've recently been installing NetBSD on a new Lenovo RD350 server. I first tried booting from USB disk and from a USB CD-ROM drive, and both the install kernels loaded just fine. However, the boot medium was not probed by the 7.0_BETA amd64 kernel. The kernel on NetBSD 6.1.3 CD-ROM install m

Re: amd64/7.0_BETA fails to probe USB devices?

2015-04-29 Thread Havard Eidnes
>> I've recently been installing NetBSD on a new Lenovo RD350 >> server. I first tried booting from USB disk and from a USB >> CD-ROM drive, and both the install kernels loaded just fine. >> However, the boot medium was not probed by the 7.0_BETA amd64 >> kernel. [...] >> >> Anyone else seeing som

Re: amd64/7.0_BETA fails to probe USB devices?

2015-04-29 Thread Havard Eidnes
>> This is PR kern/48494 :( I tried a -current kernel, no improvement. I also tried the change which was suggested in the PR (and then reverted), and that also made no difference. Regards, - Håvard

Re: amd64/7.0_BETA fails to probe USB devices?

2015-04-30 Thread Havard Eidnes
> A kernel compiled with "options USB_DEBUG" doesn't provide any > more information that I can see [...] With additionally usbdebug and uhubdebug set to 10 resulted in the attached boot messages. cd0 is still not probed. Regards, - Håvard Apr 28 23:39:11 tos-res su: he to root on /dev/pts/2 Pa

Re: amd64/7.0_BETA fails to probe USB devices?

2015-05-28 Thread Havard Eidnes
>> I've recently been installing NetBSD on a new Lenovo RD350 >> server. I first tried booting from USB disk and from a USB >> CD-ROM drive, and both the install kernels loaded just fine. >> However, the boot medium was not probed by the 7.0_BETA amd64 >> kernel. [...] >> >> Anyone else seeing som

HP DL380p Gen8 interrupt storm

2021-09-03 Thread Havard Eidnes
Hi, one machine I'm testing NetBSD on feels sort of sluggish, which is strange because it's got lots of RAM (128GB) and a pair of Xeon(R) CPU E5-2650 CPUs, for a total of 16 physical cores and 32 with hyperthreading. It looks like one of the CPUs is using most of its time doing interrupt processi

Re: HP DL380p Gen8 interrupt storm

2021-09-03 Thread Havard Eidnes
> Try booting with the CD drive disabled (via userconf) with "disable cd*", basically no change: stest: {5} vmstat -i interrupt total rate TLB shootdown 1693 28 cpu0 timer 5716 95 msix2 vec 0 1465 24 msix6 vec 0 2438 40 ioapic0 pin 21

ATA / IDE drive details

2022-02-19 Thread Havard Eidnes
Hi, lately I have been dusting off and testing a Cobalt RAQ2 I bought a while ago. Fan's been replaced (the old one spun only intermittently and made noises...) It has a viaide0: VIA Technologies VT82C586 (Apollo VP) ATA33 controller and an internal 40-pin connector for a normal 3.5" PATA driv

Re: CVS commit: src

2022-05-25 Thread Havard Eidnes
>> All of these applications depends on the "MROUTING" kernel option, >> it seems, which is mostly default-off, except for a few (tending >> on the more obscure side) kernel configs. I wonder if anyone >> knows the history there. > > I'm not really sure why MROUTING is default off [...] Isn't MROU

macppc system wedging under memory pressure

2022-09-08 Thread Havard Eidnes
Hi, I'm running NetBSD-current on one of my 1G Mac Mini G4 systems, doing pkgsrc bulk building. This go-around I've managed to build llvm, and next up is rust. This is proving to be difficult -- my system will consistently wedge it's user-land (still responding to ping, no response on the consol

Re: macppc system wedging under memory pressure

2022-09-09 Thread Havard Eidnes
Well, following up on my own posting of yesterday evening. There's good and not so good news: the good news is that my G4 Mac Mini running -current finally managed to build rust-1.62.1 from pkgsrc-current (using llvm from pkgsrc, not the internal one). The bad news is that I don't have a definit

Re: How to build only one part of NetBSD system

2023-01-21 Thread Havard Eidnes
>> I tried going into libexec/ld.elf_so and running "make >> install" but that didn't work or even come close. > > It would be something like: > > cd src/libexec/ld.elf_so > ${TOOLDIR}/bin/nbmake-${arch} dependall > ${TOOLDIR}/bin/nbmake-${arch} install and if the tool nbmake was

Re: How to build only one part of NetBSD system

2023-01-22 Thread Havard Eidnes
>> As always before such an operation, "do the kernel first". > > How do you do the kernel first without building the userland to > build the updated tools? The "do the kernel first" is sort of a "general warning". Whether it is strictly needed depends on what version user-land and what version so

clang-built NetBSD and rust

2023-03-27 Thread Havard Eidnes
Hi, a user contacted me about having a freshly installed version of NetBSD-current for amd64 built with clang, and a failure to run the provided "bootstrap kit" for rust, with the following error: /usr/lib/libgcc_s.so.1: version GCC_3.3 required by /tmp/pkgsrc/wip/rust/work/rust-bootstrap/bin/ca

Re: Building old systems

2023-04-19 Thread Havard Eidnes
>> It might be better to use corresponding older tools to build older >> kernels. Modern gcc switched to -fno-common by default, so if you >> want to compile an older kernel that has multiple variable definitions >> you will need to arrange for -fcommon option to be used. > > Is there any way to

Re: Building old systems

2023-04-20 Thread Havard Eidnes
>> Indeed, this (without -O) works. The key is the HOST_CFLAGS >> variable; I was thinking of just CFLAGS at first. > > I have had some luck with compiling old systems with -V > HOST_CFLAGS=-fcommon. > > That only goes so far into the past, however. I thought the > next step would be to try bui

Re: NetBSD 10.0 timeline and branch status

2023-09-10 Thread Havard Eidnes
>> Unfortunately the additional shared library changes require >> another round of package rebuilds from scratch. Everyone >> building packages against netbsd-10: please start a new round >> from scratch. > > Does that mean the pkgsrc-2023Q2 binary packages for 10_BETA 2 > that have been published

gdb issues?

2023-10-10 Thread Havard Eidnes
Hi, I have recently had a bear of a time getting the new rust which landed in pkgsrc-wip the other day to build natively on several of the targets we support for NetBSD. The problem is that the "bootstrap" program (a rust executable) lands on its nose with a SIGSEGV, and dumps core (without leavi

Re: gdb issues?

2023-10-11 Thread Havard Eidnes
Hi, following up on my own message, I finally had the presence of mind to look at what gdb on armv7 would tell me, if anything, because that build failed as well. And... it tells quite a bit more than the other two: armv7: {2} gdb /usr/pkgsrc/wip/rust/work/rustc-1.73.0-src/build/bootstrap/debug

Re: new rust (was: gdb issues?)

2023-10-11 Thread Havard Eidnes
> Program terminated with signal SIGSEGV, Segmentation fault. ... > #0 0x60d0fe74 in _cpuset_isset () from /usr/lib/libc.so.12 > #1 0x03d2bf8c in std::sys::unix::thread::available_parallelism () ... > At least it gives a bit of clue about where to go looking for the > null pointer de-reference,

Re: new rust

2023-10-16 Thread Havard Eidnes
>>for i in 0..u64::MAX { >>match libc::_cpuset_isset(i, set) { >> [...] >> but ... under which conditions would it seg-fault inside that >> function? > > What's does the Rust impl. of _cpuset_isset() look like? Does it > take ints by any c

Installing 10.0_RC1 using GPT/UEFI/RaidFrame

2023-11-29 Thread Havard Eidnes
Hi, I recently had reason to install NetBSD on a new (to me) server. This server had previously ran Linux/Debian with a software RAID setup over two drives. The dmesg of the server is visible at https://dmesgd.nycbug.org/index.cgi?do=view&id=7403 I wanted to continue to use software RAID with

Re: Rust, pkgsrc

2018-11-06 Thread Havard Eidnes
> Yes. I had a similar problem. The build would fill up the > /tmp/ directory and die from exhausted resources. I had /tmp/ > created with tmpfs and had a constraint of 64M. The answer for > me was to create /tmp in /etc/fstab with tmpfs and no size > constraint. Then Rust would build, but it s

netbsd-7 build error?

2019-01-03 Thread Havard Eidnes
Hi, I just updated one of my source trees to netbsd-7, and did a fresh rebuild (empty obj and dest, host oldish 7.1_STABLE), but got: compile libc/compat___msgctl13.o In file included from /usr/src/lib/libc/compat/sys/compat___msgctl13.c:48:0: /usr/src/sys/compat/sys/msg.h: In function '__na

Re: netbsd-7 build error?

2019-01-03 Thread Havard Eidnes
>> I just updated one of my source trees to netbsd-7, and did a >> fresh rebuild (empty obj and dest, host oldish 7.1_STABLE), but >> got: > > For what value of "just"? You need something from today around noon UTC > or newer. My update was done 13:06 UTC+1, but via a cvs mirror, so possibly a few

aac / ld interaction

2017-08-03 Thread Havard Eidnes
Hi, this afternoon I attempted to upgrade NetBSD from 7.1_STABLE to 8.0_BETA on an amd64-running machine in our lab. It has an aac controller, probed like so: aac0 at pci6 dev 0 function 0: IBM ServeRAID 8k aac0: interrupting at ioapic0 pin 17 aac0: Enabling 64-bit address support aac0: Enable 6

ssh, HPN extension and TCP auto-tuning

2017-09-20 Thread Havard Eidnes
Hi, the OpenSSH in NetBSD has for quite a while had the "high- performance networking" patches applied. However, despite this, we are observing rather low performance when copying files over a distance, e.g. we have a pair of hosts running netbsd-7 code, placed some 14-15ms apart, where scp'ing a

Re: ssh, HPN extension and TCP auto-tuning

2017-09-21 Thread Havard Eidnes
Hi, > > # Improves TCP performance significantly with ssh. > net.inet.tcp.recvbuf_auto=1 > net.inet.tcp.sendbuf_auto=1 > net.inet.tcp.sendbuf_max=16777216 > net.inet.tcp.recvbuf_max=16777216 Thanks for the suggestions, and I've done some initial adjustments with beneficial results. I was a bit

llvm self-tests looping(?)

2018-04-01 Thread Havard Eidnes
Hi, I decided it might be a good idea to run the self-tests in llvm 5.0.1 on powerpc. However, after the test and utilities are built, it appears to spin while doing the first test. The run log shows: [100%] Built target LLVMHello_exports [100%] Built target LLVMHello Scanning dependencies of t

Re: llvm self-tests looping(?)

2018-04-02 Thread Havard Eidnes
And ... as follow-up I thought I'd check whether "make test" in lang/llvm (5.0.1nb1) works on NetBSD/amd64 8.0_BETA. And while the selftest setup seems to work fine on this platform, there are quite a bit of unexpected failures: Expected Passes: 20309 Expected Failures : 130 Unsupporte

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

2018-04-03 Thread Havard Eidnes
>> And ... as follow-up I thought I'd check whether "make test" in >> lang/llvm (5.0.1nb1) works on NetBSD/amd64 8.0_BETA. And while the >> selftest setup seems to work fine on this platform, there are quite a >> bit of unexpected failures: >> >> Expected Passes: 20309 >> Expected Failures

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! >> >>

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

2018-04-07 Thread Havard Eidnes
>> 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

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

2018-04-07 Thread Havard Eidnes
>> I don't see an ATF machine for powerpc, there shall be one available. >> >> http://releng.netbsd.org/test-results.html > > Mm, OK, doing the tests on netbsd-8 on this MacMini G4 should be > fairly straight-forward. Not so. The machine wedged partway through the tests, it's in the office and I'

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

2018-04-09 Thread Havard Eidnes
>>> I don't see an ATF machine for powerpc, there shall be one available. >>> >>> http://releng.netbsd.org/test-results.html >> >> Mm, OK, doing the tests on netbsd-8 on this MacMini G4 should be >> fairly straight-forward. > > Not so. The machine wedged partway through the tests, it's in > the of

Sanitizers -- status & how to use?

2024-10-30 Thread Havard Eidnes
Hi, I am (for work) managing a multi-node anycast DNS resolver cluster using BIND, with NetBSD/amd64 10.0 as the platform, and use exabgp to announce the service address of this cluster once a simple sanity check of the local DNS recursor succeeds. This mostly works quite well. A few months ago I

Re: Sanitizers -- status & how to use?

2024-11-02 Thread Havard Eidnes
> hello. In your stack traces, I see libgcc_s.so.1. Is > there a comparable library clang should be using instead of a > library which, on the face of it, looks very gcc specific? If > there is, can you use that with different results? That goes back to "how do I actually use this feature

Re: Sanitizers -- status & how to use?

2024-11-03 Thread Havard Eidnes
Just to follow up one more time on this specific point: > hello. In your stack traces, I see libgcc_s.so.1. Yes, I see that as well. I posted the clang command line used to build that tiny "does executables work" program, and there is no mention of libgcc_s anywhere, so I'm not sure what I

Re: Sanitizers -- status & how to use?

2024-10-31 Thread Havard Eidnes
> So, "This does not work with clang / LLVM" apparently"; looks > like I'll have to put my hope to gcc. Or am I doing something > wrong? Anyone want to make a prediction about how that'll turn > out with the in-tree gcc 10.5.0? Re-trying with in-tree gcc but with the -fsanitize=thread argument a

Re: Sanitizers -- status & how to use?

2024-10-31 Thread Havard Eidnes
Hi, > Given the target, this means gcc 10.5.0 ("nb3") is the default > compiler. I think I'm able to read the gcc man page, which > points towards -fsanitize=thread, and that it cannot be combined > with either of the "address" or "leak" sanitizers, and googling a > bit brings me to My first att

Re: getmntinfo compatibility question

2025-02-14 Thread Havard Eidnes
> On Fri, Feb 14, 2025 at 11:59:33AM +0100, Havard Eidnes wrote: >> Now, backing off that for a bit, and returning to the original >> question, the "90" suffix used with statvfs*() appears to me to >> indicate that this rename was done in the era leading up to the &

MKDEBUGLIB set list failure?

2025-04-06 Thread Havard Eidnes
Hi, I'm building -current from a few days ago, but my build does not want to complete successfully, but instead fails during the set list verification with: checkflist ===> distrib/sets execute checkflist == 3 missing files in DESTDIR Files in flist but missing from DESTDIR.

Re: MKDEBUGLIB set list failure?

2025-04-07 Thread Havard Eidnes
>> Is this just me? > > MKDEBUGLIB is working for me on amd64 with sources updated less > than two hours ago... Thanks for the quick response, even though the answer to the above looks like "yes".. Back to a more thorough retry. - Håvard

Re: MKDEBUGLIB set list failure?

2025-04-07 Thread Havard Eidnes
>>> Is this just me? >> >> MKDEBUGLIB is working for me on amd64 with sources updated less >> than two hours ago... > > Thanks for the quick response, even though the answer to the > above looks like "yes".. > > Back to a more thorough retry. Hmm. I re-updated src and xsrc, and started with an em

Re: MKDEBUGLIB set list failure?

2025-04-07 Thread Havard Eidnes
> It looks like you are building for i386 - my build was amd64 Hm, not so. I was also building for amd64. What I ended up doing was (locally): Index: distrib/sets/lists/debug/mi === RCS file: /cvsroot/src/distrib/sets/lists/debug/m

Re: MKDEBUGLIB set list failure?

2025-04-07 Thread Havard Eidnes
>> Hmm. I re-updated src and xsrc, and started with an empty OBJDIR >> and DESTDIR, but still I get the error(s): >> >> == 3 missing files in DESTDIR >> Files in flist but missing from DESTDIR. >> File wasn't installed ? >> -- >> ./usr/libdata

Re: MKDEBUGLIB set list failure?

2025-04-07 Thread Havard Eidnes
> On Mon, Apr 07, 2025 at 02:37:18PM +0200, Havard Eidnes wrote: >> Then the bug is probably in the logic which translates from build >> flags ("MKDEBUGLIB" / "MKDEBUG") to the attributes to decide >> which entries from the set lists to include. I'

Re: getmntinfo compatibility question

2025-02-14 Thread Havard Eidnes
> On Fri, Feb 14, 2025 at 09:22:54AM +0100, Thomas Klausner wrote: >> Perhaps we need to add code like FreeBSD has (to rust libc): >> https://github.com/rust-lang/libc/blob/2258bf0fb96767bcffbe3ed09b29a31ee54b549b/src/unix/bsd/freebsdlike/freebsd/mod.rs#L5340 > > Your rust binary calls __getvfsstat

Re: getmntinfo compatibility question

2025-02-14 Thread Havard Eidnes
>> [...] >> So currently my best hunch about the problem is that there was a bug >> in versioning getmntinfo, or that rust calls the wrong version of >> getmntinfo, and gets the new statvfs struct where all the char fields >> are moved around by 16 bytes, but parses it using the old struct >> defin

__gnu_{f2h,h2f}_ieee?

2025-02-25 Thread Havard Eidnes
Hi, I'm currently in the process of cross-building rust 1.85 for the various targets we try to maintain. This is mostly proceeding well, but our "mipsel" target is failing to build, with: clippy_utils.c33fa2c5294c0ca2-cgu.08:(.text._RNvMs7_NtCsgLiP1snAFCU_12clippy_utils6constsNtB5_13C