Skip to content

compiler-rt can't be built with glibc 2.26 #33358

@llvmbot

Description

@llvmbot
Bugzilla Link 34011
Resolution FIXED
Resolved on Aug 23, 2017 11:08
Version 5.0
OS Linux
Blocks #33196
Attachments Fix
Reporter LLVM Bugzilla Contributor
CC @derekbruening,@zmodem

Extended Description

glibc 2.26 (soon to be released) drops the incorrectly (non-)namespaced sigaltstack typedef and replaces it with stack_t.

compiler-rt currently uses struct sigaltstack, causing the build to fail.

Fix is tested with glibc 2.26, should be tested on older glibc versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions