Re: AC_FUNC_MMAP test fails on AIX for MAP_FIXED: who's at fault?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Perry,

> On 1. Aug 2024, at 00:39, Perry Hutchison <pluto@xxxxxxxxxxxxxxx> wrote:
> 
> One could, at build time, include code to do something like (untested):
> 
>  if (strcmp(getenv("XPG_SUS_ENV", "ON")) != 0)
>  {
>    setenv("XPG_SUS_ENV", "ON", 1);
>  }
> 
> (and yes, if AIX has already tested XPG_SUS_ENV before this gets
> control, it might also be necessary for the program to re-exec
> itself).

Well, apparently HotSpot people tried something like that and they couldn’t get it to work - but maybe they didn’t re-exec hard enough ;-) Anyways, -D_OMG_SPEC1170 at compile time would have been nicer in my opinion.

All the best,
Yury






[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux