Re: cmake core dumps in -6 emulation

2022-07-01 Thread Joerg Sonnenberger
On Sat, Jul 02, 2022 at 12:02:49AM +0700, Robert Elz wrote: > Date:Fri, 1 Jul 2022 17:46:06 +0200 > From:Edgar =?iso-8859-1?B?RnXf?= > Message-ID: > > | What I don't understand is why it dumps core while reporting an error. > > Perhaps NetBSD 6 required an explici

Re: cmake core dumps in -6 emulation

2022-07-01 Thread Edgar Fuß
EF> What I don't understand is why it dumps core while reporting an error. KRE> Perhaps NetBSD 6 required an explicit setprogname() which is no longer KRE> required? But that's a matter of the C library, no?

Re: cmake core dumps in -6 emulation

2022-07-01 Thread Robert Elz
Date:Fri, 1 Jul 2022 17:46:06 +0200 From:Edgar =?iso-8859-1?B?RnXf?= Message-ID: | What I don't understand is why it dumps core while reporting an error. Perhaps NetBSD 6 required an explicit setprogname() which is no longer required ? [I no longer remember]. k

Re: cmake core dumps in -6 emulation

2022-07-01 Thread Edgar Fuß
> you could test with paxctl on the cmake file With paxctl +m /usr/pkg/bin/cmake (inside the chroot, of course), it now core dumps even earlier in the build, with #0 0x0079d33c in cmsys::SystemTools::FilesDiffer(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_s

Re: cmake core dumps in -6 emulation

2022-07-01 Thread Martin Husemann
On Fri, Jul 01, 2022 at 02:20:02PM +0200, Edgar Fuß wrote: > > Ktrace it > As mentioned, that doesn't work (well, it works, which is the problem). > > > there are 3 err() calls in pthread__init() > > Starting with > #8 0x71b551460ac0 in err () from /usr/lib/libc.so.12 > #9 0x000

Re: cmake core dumps in -6 emulation

2022-07-01 Thread Edgar Fuß
> Ktrace it As mentioned, that doesn't work (well, it works, which is the problem). > there are 3 err() calls in pthread__init() Starting with #8 0x71b551460ac0 in err () from /usr/lib/libc.so.12 #9 0x71b55240c47b in pthread__init () from /usr/lib/libpthread.so.1 I disas

Re: cmake core dumps in -6 emulation

2022-07-01 Thread Edgar Fuß
> but it's got to mean _something_ Timing?