You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
futurejones opened this issue
Feb 23, 2019
· 3 comments
Labels
arm64Architecture: arm64 (aarch64) — any 64-bit ARMbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfLinuxPlatform: Linux
On Linux there is no C 'long double' type unless arch==(x86_64) || arch(i386)
Therefore the "powl" test should be disabled for Linux "other archtypes" until support is added.
Or maybe it should default to "Double"?
/// The C 'long double' type.
#ifos(OSX) || os(iOS) || os(watchOS) || os(tvOS)
// On Darwin, long double is Float80 on x86, and Double otherwise.
#ifarch(x86_64) || arch(i386)
publictypealiasCLongDouble = Float80
#elsepublictypealiasCLongDouble = Double
#endif
#elseifos(Windows)
// On Windows, long double is always Double.publictypealiasCLongDouble = Double
#elseifos(Linux)
// On Linux/x86, long double is Float80.// TODO: Fill in definitions for additional architectures as needed. IIRC// armv7 should map to Double, but arm64 and ppc64le should map to Float128,// which we don't yet have in Swift.
#ifarch(x86_64) || arch(i386)
publictypealiasCLongDouble = Float80
#endif// TODO: Fill in definitions for other OSes.
#endif
arm64Architecture: arm64 (aarch64) — any 64-bit ARMbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfLinuxPlatform: Linux
Environment
Linux Ubuntu 16.04 LTS on AArch64
Additional Detail from JIRA
md5: eb3d7890020a1648c573c33a18ba09a3
Issue Description:
Swift(linux-aarch64) :: ClangImporter/cfuncs_parse.swift is failing
The text was updated successfully, but these errors were encountered: