Re: nightly snapshot for CURRENT ?

2020-06-10 Thread Emmanuel Vadot
On Tue, 9 Jun 2020 19:16:47 -0500 Clay Daniels wrote: > On Tue, Jun 9, 2020 at 2:48 PM Emmanuel Vadot wrote: > > > > > Hello all, > > > > I've just hit again something that I've hit (and probably others too) > > often. > > If a change in base break some ports and it's snapshoted in the txz >

Re: nightly snapshot for CURRENT ?

2020-06-10 Thread Emmanuel Vadot
On Tue, 9 Jun 2020 19:56:27 -0500 Kyle Evans wrote: > On Tue, Jun 9, 2020 at 7:17 PM Clay Daniels wrote: > > > > On Tue, Jun 9, 2020 at 2:48 PM Emmanuel Vadot wrote: > > > > > > > > Hello all, > > > > > > I've just hit again something that I've hit (and probably others too) > > > often. > > >

gcc versus clang issue for 32-bit binaries

2020-06-10 Thread Michael Tuexen
Dear all, consider the following program test.c: #include #include int main(void) { void *p; p = mmap((void *)0x2000, 0x100, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_ANON | MAP_PRIVATE | MAP_FIXED, -1, 0); printf("p= %p\n", p); return (0); } O

Re: gcc versus clang issue for 32-bit binaries

2020-06-10 Thread Mark Johnston
On Wed, Jun 10, 2020 at 06:41:50PM +0200, Michael Tuexen wrote: > Dear all, > > consider the following program test.c: > > #include > #include > > int > main(void) > { > void *p; > > p = mmap((void *)0x2000, 0x100, PROT_READ | PROT_WRITE | > PROT_EXEC, MAP_ANON | M

Re: gcc versus clang issue for 32-bit binaries

2020-06-10 Thread Michael Tuexen
> On 10. Jun 2020, at 18:59, Mark Johnston wrote: > > On Wed, Jun 10, 2020 at 06:41:50PM +0200, Michael Tuexen wrote: >> Dear all, >> >> consider the following program test.c: >> >> #include >> #include >> >> int >> main(void) >> { >> void *p; >> >> p = mmap((void *)0x20

Re: gcc versus clang issue for 32-bit binaries

2020-06-10 Thread Damjan Jovanovic
MAP_FIXED is generally bad news, as it overwrites any prior mappings within the range of addresses being mapped to. They should use MAP_FIXED | MAP_EXCL instead, which will fail if any mappings already exist in the range, and then maybe retry with another range if it fails. Linux and NetBSD have M

Re: gcc versus clang issue for 32-bit binaries

2020-06-10 Thread Michael Tuexen
> On 10. Jun 2020, at 18:59, Mark Johnston wrote: > > On Wed, Jun 10, 2020 at 06:41:50PM +0200, Michael Tuexen wrote: >> Dear all, >> >> consider the following program test.c: >> >> #include >> #include >> >> int >> main(void) >> { >> void *p; >> >> p = mmap((void *)0x200

Re: gcc versus clang issue for 32-bit binaries

2020-06-10 Thread Michael Tuexen
> On 10. Jun 2020, at 20:30, Damjan Jovanovic wrote: > > MAP_FIXED is generally bad news, as it overwrites any prior mappings within > the range of addresses being mapped to. > > They should use MAP_FIXED | MAP_EXCL instead, which will fail if any mappings > already exist in the range, and the

Re: Resume almost never works Dell XPS 9370

2020-06-10 Thread Malcolm Matalka
I have verified that there is no logging when I resume and have to reboot, so I think it's pretty locked up. ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-

Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311

2020-06-10 Thread Mark Millard
On 2020-May-13, at 08:56, Justin Hibbits wrote: > Hi Mark, Hello Justin. > On Wed, 13 May 2020 01:43:23 -0700 > Mark Millard wrote: > >> [I'm adding a reference to an old arm64/aarch64 bug that had >> pages turning to zero, in case this 32-bit powerpc issue is >> somewhat analogous.] >> >