Commit Graph

4 Commits

Author SHA1 Message Date
Randy Eckenrode
b552612217
darwin.CoreSymbolication: build as a framework
`zlog` in darwin.system_cmds requires the CoreSymbolication framework.

This change does two things:

- Adds a patch with the required missing symbols; and
- Uses the stubs to create `CoreSymbolication.framework`.

Co-authored-by: a-n-n-a-l-e-e <150648636+a-n-n-a-l-e-e@users.noreply.github.com>
2024-03-16 22:46:03 -04:00
Dmitry Ivankov
9ce73e272f darwin.CoreSymbolication: fix C99 compilation
https://hydra.nixos.org/build/241116326/nixlog/1
```
build flags: SHELL=/nix/store/x1xxsh1gp6y389hyl40a0i74dkxiprl7-bash-5.2-p15/bin/bash PREFIX=\$\(out\) CC=cc
cc -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -fblocks   -c -o CoreSymbolication.o CoreSymbolication.c
In file included from CoreSymbolication.c:1:
./CoreSymbolication.h:393:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
CSSymbolOwnerSetTransientUserData(CSSymbolOwnerRef owner, uint32_t gen);
^
int
1 error generated.
```

Also submitted patch upstream at
https://github.com/matthewbauer/CoreSymbolication/pull/1

ZHF: #265948
2023-11-19 15:59:22 +01:00
h7x4
0b6077fb7b
darwin.CoreSymbolication: refactor, unstable-2018-04-08 -> unstable-2018-06-17 (#262363)
* darwin.CoreSymbolication: refactor

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>

* darwin.CoreSymbolication: unstable-2018-04-08 -> unstable-2018-06-17

---------

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
2023-10-23 00:18:16 +02:00
Matthew Bauer
d625fece18 CoreSymbolication: init 2018-04-09 18:35:35 -05:00