Re: [PATCH] libgcov: Fix build on Darwin [PR99406]

2021-03-06 Thread Jeff Law via Gcc-patches
On 3/5/21 1:41 PM, Jakub Jelinek via Gcc-patches wrote: > On Fri, Mar 05, 2021 at 04:19:47PM +, Iain Sandoe wrote: >> Jakub Jelinek via Gcc-patches wrote: >> >>> As reported, bootstrap currently fails on older Darwin because >>> MAP_ANONYMOUS >>> is not defined. >>> >>> The following is wha

Re: [PATCH] libgcov: Fix build on Darwin [PR99406]

2021-03-05 Thread Jakub Jelinek via Gcc-patches
On Fri, Mar 05, 2021 at 04:19:47PM +, Iain Sandoe wrote: > Jakub Jelinek via Gcc-patches wrote: > > > As reported, bootstrap currently fails on older Darwin because > > MAP_ANONYMOUS > > is not defined. > > > > The following is what gcc/system.h does, so I think it should work for > > libgco

Re: [PATCH] libgcov: Fix build on Darwin [PR99406]

2021-03-05 Thread Iain Sandoe
Jakub Jelinek via Gcc-patches wrote: As reported, bootstrap currently fails on older Darwin because MAP_ANONYMOUS is not defined. The following is what gcc/system.h does, so I think it should work for libgcov. Build tested on x86_64-linux, ok for trunk? bootstrap suceeded r11-7524 + this p

[PATCH] libgcov: Fix build on Darwin [PR99406]

2021-03-05 Thread Jakub Jelinek via Gcc-patches
Hi! As reported, bootstrap currently fails on older Darwin because MAP_ANONYMOUS is not defined. The following is what gcc/system.h does, so I think it should work for libgcov. Build tested on x86_64-linux, ok for trunk? 2021-03-05 Jakub Jelinek PR gcov-profile/99406 * libgco