mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 14:39:32 +08:00
ea6202dc5d
PCRE2 JIT compilation is unsupported on iOS as per
https://codereview.qt-project.org/c/qt/qtbase/+/204514
Since our Qt port uses the separately built `pcre2` port (instead of the
bundled version):
3f966cf6a8/ports/qtbase/portfile.cmake (L315)
...the linked Qt fix doesn't apply to us, so we'll have to disable it
explicitly.
### Background
I ran into this today while debugging a crash of a Qt app built for the
iOS simulator (using vcpkg-built libraries):
<details>
<summary>Crash Log</summary>
```
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: KERN_PROTECTION_FAILURE at 0x000000010dbb8008
Exception Codes: 0x0000000000000002, 0x000000010dbb8008
VM Region Info: 0x10dbb8008 is in 0x10dbb8000-0x10dbc8000; bytes after start: 8 bytes before end: 65527
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
ColorSync 10dbb0000-10dbb8000 [ 32K] r--/r-- SM=PRV
---> VM_ALLOCATE 10dbb8000-10dbc8000 [ 64K] rwx/rwx SM=PRV
GAP OF 0x38000 BYTES
MALLOC_TINY 10dc00000-10dd00000 [ 1024K] rw-/rwx SM=PRV
Termination Reason: SIGNAL 10 Bus error: 10
Terminating Process: exc handler [98229]
Triggered by Thread: 0
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 Mixxx 0x107b8ec24 sljit_malloc_exec + 236
1 Mixxx 0x107b8ea80 pcre2_jit_compile_16 + 160
2 Mixxx 0x104ec52d4 QRegularExpressionPrivate::compilePattern() + 252
3 Mixxx 0x104ec6058 QRegularExpression::isValid() const + 24
4 Mixxx 0x104e30194 QtPrivate::contains(QStringView, QString const*, QRegularExpression const&, QRegularExpressionMatch*) + 52
5 Mixxx 0x10599a8ec QIOSScreen::QIOSScreen(UIScreen*) + 1060
6 Mixxx 0x105998850 QIOSIntegration::initialize() + 272
7 Mixxx 0x104d8165c QCoreApplicationPrivate::init() + 1640
8 Mixxx 0x1076c80e0 QGuiApplicationPrivate::init() + 60
9 Mixxx 0x105d9d20c QApplicationPrivate::init() + 24
10 Mixxx 0x105d9d1e0 QApplication::QApplication(int&, char**, int) + 140
```
</details>
This fixes the problem.
### Checklist
- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download (not applicable).
- [x] The "supports" clause reflects platforms that may be fixed by this
new version.
- [x] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file (not applicable).
- [x] Any patches that are no longer applied are deleted from the port's
directory (not applicable).
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.
140 lines
3.5 KiB
JSON
140 lines
3.5 KiB
JSON
{
|
|
"versions": [
|
|
{
|
|
"git-tree": "20b801575053f62e43a5ab22a8812e3f01302e88",
|
|
"version": "10.42",
|
|
"port-version": 2
|
|
},
|
|
{
|
|
"git-tree": "678c2336c4102c5a8868570c60140fdc2a8d1dcf",
|
|
"version": "10.42",
|
|
"port-version": 1
|
|
},
|
|
{
|
|
"git-tree": "148d5898b3c1925fd8e82663589917255172d5c9",
|
|
"version": "10.42",
|
|
"port-version": 0
|
|
},
|
|
{
|
|
"git-tree": "533fc8ada3da33f695eb499fe8190a5e9b24a5c8",
|
|
"version": "10.40",
|
|
"port-version": 2
|
|
},
|
|
{
|
|
"git-tree": "941f187c16a9385815fd353a9b79abf55bd2a7ec",
|
|
"version": "10.40",
|
|
"port-version": 1
|
|
},
|
|
{
|
|
"git-tree": "725d8f25eea7d10b24944f314db69aa8b29d4932",
|
|
"version": "10.40",
|
|
"port-version": 0
|
|
},
|
|
{
|
|
"git-tree": "9a15903858198c8a3b890972b5e8c0d2aa3f89f8",
|
|
"version": "10.39",
|
|
"port-version": 2
|
|
},
|
|
{
|
|
"git-tree": "b25437749e0bcdd96807c66a8fc8764382c55203",
|
|
"version": "10.39",
|
|
"port-version": 1
|
|
},
|
|
{
|
|
"git-tree": "a7adfd692604527d08dfc188301fb73bae107550",
|
|
"version": "10.39",
|
|
"port-version": 0
|
|
},
|
|
{
|
|
"git-tree": "f467ee4e8312b3536d9b7af3a181630c9956db5d",
|
|
"version-string": "10.37",
|
|
"port-version": 1
|
|
},
|
|
{
|
|
"git-tree": "9f61b1640aff6d4d306d30338bbd360c223301b0",
|
|
"version-string": "10.37",
|
|
"port-version": 0
|
|
},
|
|
{
|
|
"git-tree": "c0357d3b67540bd7e46f4301e5e1507ecddfaa1e",
|
|
"version-string": "10.35",
|
|
"port-version": 2
|
|
},
|
|
{
|
|
"git-tree": "01d66cf1c0c0d5bfc43c78aa8c6ddbc7b044a09a",
|
|
"version-string": "10.35",
|
|
"port-version": 1
|
|
},
|
|
{
|
|
"git-tree": "59fea9296090b695c766dbe6bc46f6e9f6a573d1",
|
|
"version-string": "10.35",
|
|
"port-version": 0
|
|
},
|
|
{
|
|
"git-tree": "db46c2a24cd38d705b5d4911ade5010fa71c6eec",
|
|
"version-string": "10.30-9",
|
|
"port-version": 0
|
|
},
|
|
{
|
|
"git-tree": "27ba1145956b6e8ed834e84fc76f3d0ed5a42f96",
|
|
"version-string": "10.30-8",
|
|
"port-version": 0
|
|
},
|
|
{
|
|
"git-tree": "4634f38f2dddc91a14bebec547ec4b8e7f24c587",
|
|
"version-string": "10.30-7",
|
|
"port-version": 0
|
|
},
|
|
{
|
|
"git-tree": "f93934968e7ad2eca3b9f881abd2f26c9137f55c",
|
|
"version-string": "10.30-6",
|
|
"port-version": 0
|
|
},
|
|
{
|
|
"git-tree": "f604be0d979cf6b43f2f67ba0b20692a1383fd79",
|
|
"version-string": "10.30-5",
|
|
"port-version": 0
|
|
},
|
|
{
|
|
"git-tree": "7b71c608a1c72c658dfdfb0739ad2d6e7f7d4f10",
|
|
"version-string": "10.30-4",
|
|
"port-version": 0
|
|
},
|
|
{
|
|
"git-tree": "7644adc498156f83c3421651a0a43908720bd911",
|
|
"version-string": "10.30-5",
|
|
"port-version": 0
|
|
},
|
|
{
|
|
"git-tree": "547d23a9c0ad367c277805f986e3d3c8195888ea",
|
|
"version-string": "10.30-4",
|
|
"port-version": 0
|
|
},
|
|
{
|
|
"git-tree": "746323452a40a8970c28437c52f93b8aee6d125a",
|
|
"version-string": "10.30-3",
|
|
"port-version": 0
|
|
},
|
|
{
|
|
"git-tree": "d5e2cf71845c8c3becc346e4081876b3815882ee",
|
|
"version-string": "10.30-2",
|
|
"port-version": 0
|
|
},
|
|
{
|
|
"git-tree": "58ae76c7d734a2966ba2d7be2f96c79de256aeb8",
|
|
"version-string": "10.30-1",
|
|
"port-version": 0
|
|
},
|
|
{
|
|
"git-tree": "b4f454c538299c5b3221442d3cb4092d12fe8466",
|
|
"version-string": "10.30",
|
|
"port-version": 0
|
|
},
|
|
{
|
|
"git-tree": "157535ab88b15f56f83724f3ebef48637bcc4f71",
|
|
"version-string": "10.23",
|
|
"port-version": 0
|
|
}
|
|
]
|
|
}
|