x86-64-linux-os.h needs a patch for modern glibc

Bug #1714549 reported by HJarausch on 2017-09-01
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

On my Gentoo system with glibc-2.26 the file src/runtime/x86-64-linux-os.h
needs the following patch

--- a/src/runtime/x86-64-linux-os.h.ORIG 2017-08-31 11:40:51.000000000 +0200
+++ b/src/runtime/x86-64-linux-os.h 2017-08-31 18:56:10.447100144 +0200
@@ -1,7 +1,9 @@
 #ifndef _X86_64_LINUX_OS_H
 #define _X86_64_LINUX_OS_H

-typedef struct ucontext os_context_t;
+#include <sys/ucontext.h>
+typedef struct ucontext_t os_context_t;
 typedef long os_context_register_t;

 static inline os_context_t *arch_os_get_context(void **void_context)

Anticrisis (anticrisis) wrote :

Compilation of SBCL 1.3.21 under ArchLinux also fails on this file unless the typedef is corrected. The include <sys/ucontext.h> does not appear to be necessary.

Stas Boukarev (stassats) wrote :

In 5137da6e743906b5c0250e01418cc84c09048f5e.

Changed in sbcl:
status: New → Fix Committed
Stas Boukarev (stassats) on 2017-09-30
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers