Created attachment 5163 [details] _CLOEXEC and _NONBLOCK patch The attached patch is just a copy of the common headers with the _CLOEXEC and _NONBLOCK values updated. This causes run time failure with lots of applications such as udev, apr, ... 2011-12-23 Guy Martin <gmsoft@tuxicoman.be> * ports/sysdeps/unix/sysv/linux/hppa/sys/epoll.h Fix EPOLL_CLOEXEC and EPOLL_NONBLOCK to match kernel definition. * ports/sysdeps/unix/sysv/linux/hppa/sys/eventfd.h Fix EFD_CLOEXEC and EFD_NONBLOCK to match kernel definition. * ports/sysdeps/unix/sysv/linux/hppa/sys/inotify.h Fix IN_CLOEXEC and IN_NONBLOCK to match kernel definition. * ports/sysdeps/unix/sysv/linux/hppa/sys/signalfd.h Fix SFD_CLOEXEC and SFD_NONBLOCK to match kernel definition. * ports/sysdeps/unix/sysv/linux/hppa/sys/timerfd.h Fix TFD_CLOEXEC and TFD_NONBLOCK to match kernel definition.
Guy, Thank you for submitting this bug. I will look into this and get it checked into upstream. Notes: Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=331119
Carlos, ping. This has been ASSIGNED since 2010. It looks like ports *does* now have headers like this (I haven't checked the values) although some now need replacing with bits/*.h headers in line with my recent libc changes.
this was committed in 2011 here: https://sourceware.org/git/?p=glibc.git;a=commit;h=db6a567d0ddd816b1134651ddb66b66dbea2f40d and was part of the glibc-ports-2.15 release