We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 40f1556 + ed4fab8 commit 7dfdfe0Copy full SHA for 7dfdfe0
utils/swift_build_support/swift_build_support/products/foundationtests.py
@@ -78,6 +78,13 @@ def test(self, host_target):
78
]
79
if self.args.verbose_build:
80
cmd.append('--verbose')
81
+
82
+ # On amazon-linux2 the gold linker (version 1.14) crashes when linking
83
+ # debug info. Workaround this issue by building without debug info.
84
+ # rdar://137760869
85
+ if host_target.startswith('linux'):
86
+ cmd += ['-Xswiftc', '-gnone']
87
88
shell.call(cmd, env={
89
'SWIFTCI_USE_LOCAL_DEPS': '1',
90
'DISPATCH_INCLUDE_PATH': include_path
0 commit comments