mirror of
https://github.com/postgres/postgres.git
synced 2025-09-05 02:22:28 +03:00
Make EXEC_BACKEND more convenient on Linux and FreeBSD.
Try to disable ASLR when building in EXEC_BACKEND mode, to avoid random
memory mapping failures while testing. For developer use only, no
effect on regular builds.
This has been originally applied as of f3e7806
for v15~, but
recently-added buildfarm member gokiburi tests this configuration on
older branches as well, causing it to fail randomly as ASLR would be
enabled.
Suggested-by: Andres Freund <andres@anarazel.de>
Tested-by: Bossart, Nathan <bossartn@amazon.com>
Discussion: https://postgr.es/m/20210806032944.m4tz7j2w47mant26%40alap3.anarazel.de
Backpatch-through: 12
This commit is contained in:
@@ -399,6 +399,7 @@ sub GenerateFiles
|
||||
HAVE_SYS_EPOLL_H => undef,
|
||||
HAVE_SYS_EVENT_H => undef,
|
||||
HAVE_SYS_IPC_H => undef,
|
||||
HAVE_SYS_PERSONALITY_H => undef,
|
||||
HAVE_SYS_PRCTL_H => undef,
|
||||
HAVE_SYS_PROCCTL_H => undef,
|
||||
HAVE_SYS_PSTAT_H => undef,
|
||||
|
Reference in New Issue
Block a user