aarch64 builds fail on recent glibc

Bug #1724662 reported by Rex Dieter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Undecided
Unassigned

Bug Description

Seeing builds fail recently on more recent glibc releases (in fedora 27+). glibc-2.25 was known good, glibc-2.26+ seems to be problematic:

cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-pie -I. -DSBCL_PREFIX=\"'/usr'\" -c -o arm64-linux-os.o arm64-linux-os.c
arm64-linux-os.c: In function 'os_context_float_register_addr':
arm64-linux-os.c:101:57: error: 'mcontext_t {aka struct <anonymous>}' has no member named '__reserved'; did you mean '__glibc_reserved1'?
         &((struct fpsimd_context *)context->uc_mcontext.__reserved)->vregs[offset];
                                                         ^~~~~~~~~~
                                                         __glibc_reserved1
arm64-linux-os.c:102:1: warning: control reaches end of non-void function [-Wreturn-type]

Revision history for this message
Rex Dieter (rdieter) wrote :

Upon further tests, I've confirmed f27's glibc-2.26 is ok, it's only f28(rawhide)'s glibc-2.26.9000 development release that is affected.

Revision history for this message
Stas Boukarev (stassats) wrote :

What SBCL version?

Revision history for this message
Stas Boukarev (stassats) wrote :

Ok, doesn't matter, any version has this.

Revision history for this message
Rex Dieter (rdieter) wrote :

Sorry, I tested with 1.3.21 and 1.4.0 (but you're probably right)

Revision history for this message
Stas Boukarev (stassats) wrote :

In b5491dad9d2e582536e81f68057ee45388bb55d1

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.