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!
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!
FS#54108 - [llvm] llvm fails to compile with gcc7
Attached to Project:
Arch Linux
Opened by Hussam Al-Tayeb (hussam) - Thursday, 18 May 2017, 19:13 GMT
Last edited by Evangelos Foutras (foutrelis) - Friday, 19 May 2017, 06:11 GMT
Opened by Hussam Al-Tayeb (hussam) - Thursday, 18 May 2017, 19:13 GMT
Last edited by Evangelos Foutras (foutrelis) - Friday, 19 May 2017, 06:11 GMT
|
DetailsI tried to email the gcc maintainer from two emails but arch linux mail server thought I was spamming :)
Anyway, llvm fails to compile with gcc7. /home/hussam/cache/llvm/src/llvm- 4.0.0.src/tools/lldb/include/lldb/Utility/TaskPool.h:122:12: error: ‘bind’ is not a member of ‘std’ std::bind(std::forward<F>(f), std::forward<Args>(args)...)); I added #include <functional> to /home/hussam/cache/llvm/src/llvm- 4.0.0.src/tools/lldb/source/Utility/TaskPool.cpp before #include "lldb/Utility/TaskPool.h" which fixed the build error. They made the headers a bit more independent in gcc7 if I understand correctly. In case you end up needing to rebuild llvm after gcc7 goes to core, this may help. |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Friday, 19 May 2017, 06:11 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in /trunk.
Friday, 19 May 2017, 06:11 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in /trunk.