Bug #83689 MAP_NORESERVE no longer defined in FreeBSD 11
Submitted: 4 Nov 2016 11:03 Modified: 8 Nov 2016 2:02
Reporter: Jon Olav Hauglid Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.7 OS:Any
Assigned to: CPU Architecture:Any

[4 Nov 2016 11:03] Jon Olav Hauglid
Description:
Trying to compile 5.7 and trunk on FreeBSD 11 fails as MAP_NORESERVE is no longer defined.
See https://reviews.freebsd.org/D848

This must be fixed as we are scheduled to support FreeBSD 11.

(Build also fails due to other issues, will be reported separately)

How to repeat:
Build 5.7 on FreeBSD 11

Suggested fix:
Reintroduce
#ifndef MAP_NORESERVE
#define MAP_NORESERVE 0         /* For irix and AIX */
#endif

from 5.6
[8 Nov 2016 2:02] Paul DuBois
Posted by developer:
 
Fixed in 5.7.18, 8.0.1 changelogs.

Compilation on FreeBSD 11 failed attempting to check MAP_NORESERVE,
which is no longer defined.