Re: NetBSD emulation : application stack trace

2023-04-09 Thread Robert Swindells
On 2023-04-09 04:07, Mayuresh wrote: On Sat, Apr 08, 2023 at 11:01:02AM +0530, Mayuresh wrote: > I suspect that it is trying to use futexes that are not correctly emulated > in NetBSD. Absolutely! It's futex. Just curious - has futex been emulated better in later kernel versions? (On this

Re: NetBSD emulation : application stack trace

2023-04-08 Thread Mayuresh
On Sat, Apr 08, 2023 at 11:01:02AM +0530, Mayuresh wrote: > > I suspect that it is trying to use futexes that are not correctly emulated > > in NetBSD. > > Absolutely! It's futex. Just curious - has futex been emulated better in later kernel versions? (On this setup I am on 9.2.) -- Mayuresh

Re: NetBSD emulation : application stack trace

2023-04-08 Thread Mayuresh
On Sat, Apr 08, 2023 at 11:01:02AM +0530, Mayuresh wrote: > Absolutely! It's futex. I'll see if I can configure it to disable MT with > a hope that then futex won't come into picture. In case someone is familiar with vivado: I do not know if this is the way to disable MT, but I added the

Re: NetBSD emulation : application stack trace

2023-04-07 Thread Mayuresh
On Fri, Apr 07, 2023 at 07:13:39PM +0200, Robert Swindells wrote: > I suspect that it is trying to use futexes that are not correctly emulated > in NetBSD. Absolutely! It's futex. I'll see if I can configure it to disable MT with a hope that then futex won't come into picture. > The Vivado

Re: NetBSD emulation : application stack trace

2023-04-07 Thread Rin Okuyama
On 2023/04/08 11:53, Mayuresh wrote: On Sat, Apr 08, 2023 at 10:00:49AM +0900, Rin Okuyama wrote: SUSE binaries provided by pkgsrc are REALLY old. It's SuSE 15.5 I suppose, not that old. Which binaries are you referring to? Oops, I missed it. Thanks wiz@ for updating! On 2023/04/08

Re: NetBSD emulation : application stack trace

2023-04-07 Thread Mayuresh
On Sat, Apr 08, 2023 at 10:00:49AM +0900, Rin Okuyama wrote: > SUSE binaries provided by pkgsrc are REALLY old. It's SuSE 15.5 I suppose, not that old. Which binaries are you referring to? -- Mayuresh

Re: NetBSD emulation : application stack trace

2023-04-07 Thread Mayuresh
On Sat, Apr 08, 2023 at 10:00:49AM +0900, Rin Okuyama wrote: > What happens if > (1) install a recent version of Linux to Ext2 or Ext3 partition, > (2) mount_ext2fs(8) that partition onto /emul/linux, > (3) install your application there. Originally I was attempting that. I installed Void Linux

Re: NetBSD emulation : application stack trace

2023-04-07 Thread Rin Okuyama
- Incompatible libraries? But as the trace shows it's only libc.6 and libpthread.0 that are from the SuSE emulation. Rest is within the product's own libraries. SUSE binaries provided by pkgsrc are REALLY old. We would REALLY appreciate it if someone(TM) could update. But no one

Re: NetBSD emulation : application stack trace

2023-04-07 Thread Robert Swindells
Mayuresh wrote: I am attempting to use Xilinx Vivado 2022.2 (Linux version) closed source product on NetBSD 9.2 amd64 using Linux emulation. You could run it using ktrace(1) to find out which syscalls it is trying to use. I suspect that it is trying to use futexes that are not correctly

NetBSD emulation : application stack trace

2023-04-07 Thread Mayuresh
I am attempting to use Xilinx Vivado 2022.2 (Linux version) closed source product on NetBSD 9.2 amd64 using Linux emulation. Quite a few things are working now. However a certain use case is consistently crashing with the following report: # # An unexpected error has occurred (11) #