Skip to content

Commit cfb43d0

Browse files
authored
Merge pull request #77262 from swiftlang/revert-77208-fix-foundation-build-script
Revert "build-script: Build core foundation tests without debug info to workaround a linker crash"
2 parents 58ddf0a + f74b40e commit cfb43d0

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

utils/swift_build_support/swift_build_support/products/foundationtests.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,6 @@ def test(self, host_target):
7878
]
7979
if self.args.verbose_build:
8080
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-
8881
shell.call(cmd, env={
8982
'SWIFTCI_USE_LOCAL_DEPS': '1',
9083
'DISPATCH_INCLUDE_PATH': include_path

0 commit comments

Comments
 (0)