Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#42870 - [glibc] changes broke the clang++ compiler

Attached to Project: Arch Linux
Opened by Chris Clearwater (detrino) - Friday, 21 November 2014, 22:57 GMT
Last edited by Allan McRae (Allan) - Tuesday, 25 November 2014, 12:40 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 8
Private No

Details

Description:
The glibc Arch package includes a patch[1] that breaks usage of the clang++ compiler. There is another patch[2] available in upstream which resolves this issue.

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=884ddc5081278f488ef8cd49951f41cfdbb480ce
[2] https://sourceware.org/git/?p=glibc.git;a=commit;h=602f80ec8b966cfad3b61914cbe14ee606cedf6e

Additional info:
Package version is glibc 2.20-3

Steps to reproduce:
echo "#include <cstring>" | clang++ -xc++ -c -O2 -
This task depends upon

Closed by  Allan McRae (Allan)
Tuesday, 25 November 2014, 12:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  glibc-2.20-4
Comment by AnAkkk (AnAkkk) - Saturday, 22 November 2014, 15:06 GMT
I have the same issue, had to rollback to an older glibc version as I can't compile my projects anymore with clang.

Loading...