[Bug 225324] errno.h does not define ETIME

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 20 00:25:26 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225324

Ed Maste <emaste at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste at freebsd.org

--- Comment #1 from Ed Maste <emaste at freebsd.org> ---
Other userland software doesn't compile for this reason, e.g.
https://github.com/IAIK/meltdown/issues/14

The "solution" there was:

#ifndef ETIME
#define ETIME 62
#endif

which seems strictly worse than either of the two options you describe.

Debian Code Search returns 3470 (Debian) packages referencing ETIME,
https://codesearch.debian.net/search?q=ETIME
Some of these are going to cause grief if we start defining ETIME, e.g.:
libreoffice_1:5.4.3-4/sal/osl/unx/system.hxx

#ifdef FREEBSD
#   define  ETIME ETIMEDOUT
#   include <pthread.h>
#   include <sys/sem.h>

so it seems like the first thing we'll want to do is perform a ports exp-run
with ETIME defined

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list