Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
0927-otp-Fix-build-on-Yocto.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0927-otp-Fix-build-on-Yocto.patch of Package erlang
From c38fc7c62e818273870340f3faf83cc3905e1cf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20H=C3=B6gberg?= <john@erlang.org> Date: Wed, 13 Dec 2023 16:34:04 +0100 Subject: [PATCH] otp: Fix build on Yocto A workaround to avoid breaking "micro level process accounting on /proc/self" broke the build on Yocto. As this is a really ancient workaround (pre-2009) and the comment is unclear about what actually breaks, we'll try removing it to see if this is still a problem. --- erts/configure | 9 --------- erts/emulator/sys/unix/sys_time.c | 10 ---------- make/autoconf/otp.m4 | 9 --------- 3 files changed, 28 deletions(-) diff --git a/erts/aclocal.m4 b/erts/aclocal.m4 index f543101599..984ee1ad0b 100644 --- a/erts/aclocal.m4 +++ b/erts/aclocal.m4 @@ -2632,15 +2632,6 @@ dnl AC_MSG_CHECKING([if gethrvtime works and how to use it]) AC_TRY_RUN([ /* gethrvtime procfs ioctl test */ -/* These need to be undef:ed to not break activation of - * micro level process accounting on /proc/self - */ -#ifdef _LARGEFILE_SOURCE -# undef _LARGEFILE_SOURCE -#endif -#ifdef _FILE_OFFSET_BITS -# undef _FILE_OFFSET_BITS -#endif #include <stdlib.h> #include <unistd.h> #include <string.h> diff --git a/erts/configure b/erts/configure index 7ade76d84c..79e289d3c6 100755 --- a/erts/configure +++ b/erts/configure @@ -24349,15 +24349,6 @@ else $as_nop /* end confdefs.h. */ /* gethrvtime procfs ioctl test */ -/* These need to be undef:ed to not break activation of - * micro level process accounting on /proc/self - */ -#ifdef _LARGEFILE_SOURCE -# undef _LARGEFILE_SOURCE -#endif -#ifdef _FILE_OFFSET_BITS -# undef _FILE_OFFSET_BITS -#endif #include <stdlib.h> #include <unistd.h> #include <string.h> diff --git a/erts/emulator/sys/unix/sys_time.c b/erts/emulator/sys/unix/sys_time.c index eb2c47bb20..f60e3450a1 100644 --- a/erts/emulator/sys/unix/sys_time.c +++ b/erts/emulator/sys/unix/sys_time.c @@ -22,16 +22,6 @@ # include "config.h" #endif -/* These need to be undef:ed to not break activation of - * micro level process accounting on /proc/self - */ -#ifdef _LARGEFILE_SOURCE -# undef _LARGEFILE_SOURCE -#endif -#ifdef _FILE_OFFSET_BITS -# undef _FILE_OFFSET_BITS -#endif - #include <stdlib.h> #include "sys.h" #include "global.h" -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor