diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-12-01 09:16:02 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-12-01 13:32:09 +0000 |
commit | 325665cc5234fff09cf714979db711c3e3e60fb6 (patch) | |
tree | 19900d867c19cc41970f392483b755704266019e /user | |
parent | e8adedc8d15b9b11e780df8bda2d7431c23d627f (diff) | |
download | packages-325665cc5234fff09cf714979db711c3e3e60fb6.tar.gz packages-325665cc5234fff09cf714979db711c3e3e60fb6.tar.bz2 packages-325665cc5234fff09cf714979db711c3e3e60fb6.tar.xz packages-325665cc5234fff09cf714979db711c3e3e60fb6.zip |
user/llvm14: Fix DWARF patch for x86
It turns out we *have* to specify signedness or we have incorrect results
on systems with signed-char by default (aka x86).
Tested on ppc64 and x86_64 and both pass tests now.
Fixes: #911
Diffstat (limited to 'user')
-rw-r--r-- | user/llvm14/APKBUILD | 2 | ||||
-rw-r--r-- | user/llvm14/dwarf-info.patch | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/user/llvm14/APKBUILD b/user/llvm14/APKBUILD index 2150a522a..e645962cc 100644 --- a/user/llvm14/APKBUILD +++ b/user/llvm14/APKBUILD @@ -243,7 +243,7 @@ sha512sums="6461bdde27aac17fa44c3e99a85ec47ffb181d0d4e5c3ef1c4286a59583e3b0c51af f84cd65d7042e89826ba6e8d48c4c302bf4980da369d7f19a55f217e51c00ca8ed178d453df3a3cee76598a7cecb94aed0775a6d24fe73266f82749913fc3e71 llvm-fix-build-with-musl-libc.patch 49c47f125014b60d0ea7870f981a2c1708ad705793f89287ed846ee881a837a4dc0170bf467e03f2ef56177473128945287749ac80dc2d13cfabcf8b929ba58a disable-FileSystemTest.CreateDir-perms-assert.patch caeec8e4dbd92f5f74940780b69075f3879a267a8623822cbdc193fd14706eb089071e3a5a20d60cc2eca59e4c5b2a61d29827a2f3362ee7c5f74f11d9ace200 disable-dlclose-test.patch -9d767d8d9096a655009fe5c55bb66a668ed6a4a3b62e7cfa03fa661c38cb835cee985b447adea021fb69402c81e7cdf3adbf60f78ab4fbcfe23931f147d3088e dwarf-info.patch +2842bcef71fb962cb49717fa9ba3e7318400c4a9175284a39ae3ff13a00260556794d0d63341430b2c64a0bca1ac76186e02c92e444a737a5dec1b6de27bbc60 dwarf-info.patch 5fa36157f7a76ca70d22af7bd96850db454d6add3a19cc3272962633c453087015755ca9df0de29cc40359e89279e470e91ff1a69d1453596a73291b36f39b23 dyld-elf-ppc32.patch 9abe376068801a09b2af01eef0cd319f48862b5ff7cce62af3cf4e7597a0898842125ae574577b545734ec1381f192b924b4f717a9c094f119e32ada81a2b9a2 hexagon.patch de9791cc476817782b553c4edab696132da4ed2b9a3d80dbf1b85b7dc7a8c5e4caf14f2f26e33c27cd80a91b36709d3b24caea910c0a6315ffbb297cb748468d macho32.patch diff --git a/user/llvm14/dwarf-info.patch b/user/llvm14/dwarf-info.patch index 44b9e88ad..9357c6519 100644 --- a/user/llvm14/dwarf-info.patch +++ b/user/llvm14/dwarf-info.patch @@ -22,7 +22,7 @@ where char is default-unsigned. OS << "'"; } else if (Val < 256) - OS << to_string(llvm::format("'\\x%02x'", Val)); -+ OS << to_string(llvm::format("'\\x%02x'", (char)Val)); ++ OS << to_string(llvm::format("'\\x%02x'", (unsigned char)Val)); else if (Val <= 0xFFFF) OS << to_string(llvm::format("'\\u%04x'", Val)); else |