GCC only on OpenBSD adds -L/usr/lib as prefix, why? Re: OpenBSD: Failing to link custom libpng to custom libz, any thoughts how fix?

2021-03-02 Thread Bob
Hi Stuart and Marc, Thanks a lot for responding. Debugging the problem brought me to realize that GCC (both bundled gcc/g++ and the egcc/eg++ port) adds a "-L/usr/lib" argument *in the leading position* to LD. Example: $ echo "int main(){}">t.c; gcc -c -o t.o t.c; gcc -o t t.o -LMYDIRTEST

Re: OpenBSD: Failing to link custom libpng to custom libz, any thoughts how fix?

2021-03-02 Thread Bob
Hi Stuart and Marc, Thank you very much for responding. I have given some more days to debugging this issue and narrowed it down very much now. I'll changing name on this thread to "GCC only on OpenBSD adds -L/usr/lib as prefix, why" and follow up there. Bob On Wednesday, 24 February 2021

Re: 4k sector disk on APU2 problems

2021-03-02 Thread Raimo Niskanen
On Mon, Mar 01, 2021 at 09:41:31PM +, Stuart Henderson wrote: > On 2021-03-01, Raimo Niskanen wrote: > > Hi Misc! > > > > Unfortunately I do not have one clear question here, but I wonder if > > somebody > > could shed som light on some problems I have encountered on my PC Engines > > APU2.

Re: OpenBSD 6.8 - softraid issue: "uvm_fault(0xffffffff821f5490, 0x40, 0, 1) -> e"

2021-03-02 Thread Mark Schneider
On 02.03.21 10:39, Stuart Henderson wrote: On 2021/03/02 00:09, Mark Schneider wrote: Hi, Thank you for your feeeback. Also OpenBSD 6.9beta snapshot is crashing when I setup RAID5 with three "Samsung PRO 860 1TB" SSDs. OpenBSD obsd69b.it-infra.org 6.9 GENERIC.MP#368 amd64 obsd69b# dmesg |

Re: relayd error: socket_rlimit: max open files 1024

2021-03-02 Thread Stuart Henderson
On 2021-03-02, Jean-Pierre de Villiers wrote: > The entry openfiles-cur=1024 is overriding the entry openfiles=1024. > Note that openfiles=value sets both openfiles-max=value and > openfiles-cur=value. > > The setting openfiles-max setting is the upper limit which can only be > changed by root

Re: relayd error: socket_rlimit: max open files 1024

2021-03-02 Thread Jean-Pierre de Villiers
The entry openfiles-cur=1024 is overriding the entry openfiles=1024. Note that openfiles=value sets both openfiles-max=value and openfiles-cur=value. The setting openfiles-max setting is the upper limit which can only be changed by root while any user can change their own openfiles-cur up the

Re: OpenBSD 6.8 - softraid issue: "uvm_fault(0xffffffff821f5490, 0x40, 0, 1) -> e"

2021-03-02 Thread Stefan Sperling
On Tue, Mar 02, 2021 at 09:39:15AM +, Stuart Henderson wrote: > putting sr_validate_io+0x44 at the xs->datalen dereference, > > 4580 if (sd->sd_vol_status == BIOC_SVOFFLINE) { > 4581 DNPRINTF(SR_D_DIS, "%s: %s device offline\n", > 4582

relayd error: socket_rlimit: max open files 1024

2021-03-02 Thread jrmu
I am trying to use relayd to provide TLS acceleration for 20+ user services. Here is my /etc/relayd.conf (with ip4 and ip6 redacted): ip4="192.168.0.1" ip6="2001:db8::" table { 127.0.0.1 } table { 127.0.0.1 } table { 127.0.0.1 } table { 127.0.0.1 } table { 127.0.0.1 } table { 127.0.0.1

Re: OpenBSD 6.8 - softraid issue: "uvm_fault(0xffffffff821f5490, 0x40, 0, 1) -> e"

2021-03-02 Thread Stuart Henderson
On 2021/03/02 00:09, Mark Schneider wrote: > Hi, > > Thank you for your feeeback. > > Also OpenBSD 6.9beta snapshot is crashing when I setup RAID5 with three > "Samsung PRO 860 1TB" SSDs. > OpenBSD obsd69b.it-infra.org 6.9 GENERIC.MP#368 amd64 > > obsd69b# dmesg | grepĀ  -i bios > bios0 at