Changes between Initial Version and Version 2 of Ticket #60106
- Timestamp:
- Mar 26, 2020, 7:58:34 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #60106
- Property Keywords snowleopard lion mountainlion mavericks yosemite haspatch added
-
Property
Summary
changed from
nodejs12/13 fail to build on older OSX
tonodejs12, nodejs13: error: use of undeclared identifier 'MAP_ANONYMOUS'
-
Ticket #60106 – Description
initial v2 1 1 A recent attempt to upgrade from nodejs12 @12.15.0_0 to @12.16.0_0, and an attempt to (build and) install nodejs13 @13.8.0_0 failed with a similar error. The logs for each attempt end with errors about the presence of the macro `MAP_ANONYMOUS` in src/large_pages/node_large_page.cc. (I've already discarded the log, and am disinclined to wait the several hours it takes to get that far in the failed build.) Apparently this macro is undefined on older OSXs. I'm using Mac 10.10.5. 2 2 3 I searched on that, and found [ this discussion](https://github.com/eclipse/omr/issues/902), which prompted me to create the attached patch and attempt the build again. With the Portfile modified to include that patch, both nodejs12 and nodejs13 were able to build and install.3 I searched on that, and found [https://github.com/eclipse/omr/issues/902 this discussion], which prompted me to create the attached patch and attempt the build again. With the Portfile modified to include that patch, both nodejs12 and nodejs13 were able to build and install. 4 4