Open swift-ci opened 7 years ago
Comment by Jason Holajter (JIRA)
Further debugging points to an issue with the lambda functions when using gcc 4.8 that I have not been able to pinpoint.
Stubbing out the lambda functions in VersionedTableInfo::EmitKeyDataLength() and VersionedTableInfo::EmitData() allows the build to complete successfully, but obviously the functionality is not correct in this case.
Alternatively, defining EmitKeyDataLength() and EmitData() in the classes that derive from VersionedTableInfo allows the build to complete successfully. This would allow the functionality to be correct, but defeats the purpose of deriving from VersionedTableInfo.
Any other thoughts on why the lambda function is causing build failures?
Environment
Linux reid-ubuntu-14 4.4.0-81-generic \#104-Ubuntu SMP Wed Jun 14 08:17:06 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux gcc (Ubuntu 4.8.5-4ubuntu2) 4.8.5 swift-4.0-branchAdditional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | Compiler | |Labels | Bug, Linux | |Assignee | None | |Priority | Medium | md5: fed3d772fa0e5ed6760984e5c6ee5840Issue Description:
The
swift-4.0-branch
is not able to be built using GCC 4.8 Compilation fails onclang/lib/APINotes/APINotesWriter.cpp
, it appears to choke on some C++ template voodoo not supported in GCC 4.8.Here is a snippet of the error