Skip to content

Commit fda8388

Browse files
authored
Use Yams 5.0.1 to fix Ubuntu 18.04 build (#4485)
* Use Yams 4.0.2 to fix Ubuntu 18.04 build Currently, as can be seen from logs at https://github.com/swiftwasm/swift/runs/6178363121?check_suite_focus=true compilation of Yams fails with this error: ``` /home/runner/work/swift/swift/yams/Sources/Yams/YamlError.swift -Xlinker -soname -Xlinker libYams.so -L /home/runner/work/swift/swift/host-build/Ninja-Release/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/yams/lib -L /home/runner/work/swift/swift/host-build/Ninja-Release/foundation-linux-x86_64/lib -L /usr/lib/gcc/x86_64-linux-gnu/7 -Xlinker -rpath -Xlinker /home/runner/work/swift/swift/host-build/Ninja-Release/foundation-linux-x86_64/lib: lib/libCYaml.a -ldispatch /home/runner/work/swift/swift/host-build/Ninja-Release/foundation-linux-x86_64/lib/libFoundation.so -lswiftDispatch -lgcc -lgcc_s -lc -lgcc -lgcc_s && : 23585 /usr/bin/ld.gold: error: lib/libCYaml.a(api.c.o): requires dynamic R_X86_64_PC32 reloc against 'yaml_realloc' which may overflow at runtime; recompile with -fPIC 23586 /usr/bin/ld.gold: error: lib/libCYaml.a(scanner.c.o): requires dynamic R_X86_64_PC32 reloc against 'yaml_parser_fetch_more_tokens' which may overflow at runtime; recompile with -fPIC 23587 clang-13: error: linker command failed with exit code 1 (use -v to see invocation) 23588 <unknown>:0: error: link command failed with exit code 1 (use -v to see invocation) ``` * Use Yams 5.0.1 in `swiftwasm-release/5.7` scheme
1 parent 3420b25 commit fda8388

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/update_checkout/update-checkout-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
"swift-xcode-playground-support": "release/5.7",
151151
"ninja": "release",
152152
"icu": "release-65-1",
153-
"yams": "5.0.0",
153+
"yams": "5.0.1",
154154
"cmake": "v3.19.6",
155155
"indexstore-db": "release/5.7",
156156
"sourcekit-lsp": "release/5.7",

0 commit comments

Comments
 (0)