Skip to content

Make macOS' dump_syms_mac buildable and runnable on any system - #44

Merged
illwieckz merged 6 commits into
masterfrom
illwieckz/dump_syms_mac
Oct 27, 2026
Merged

illwieckz merged 6 commits into
masterfrom
illwieckz/dump_syms_mac

Conversation

@illwieckz

@illwieckz illwieckz commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

Make macOS' dump_syms_mac buildable and runnable on any system.

  • configure: drop the now unused X86_HOST variable
    Just clean-up of the now unused X86_HOST variable in configure.ac after its removal in Makefile.am:
  • configure: detect macOS build machine
    Make possible to do macOS-specific branching in Makefile.am.
  • makefile: only use vendored macOS headers on non-macOS build systems
    Fix the build on macOS.
  • src/common/mac/byteswap: define byteswap symbols for MinGW
    Help fixing the build on MinGW.
  • src/common/mac/macho_walke: add compat/linux.h compatibility to define pread() on MinGW
    Finish fixing the build on MinGW.
  • makefile: enable the building of dump_syms_mac on every system
    Now every system can build and run dump_syms_mac, verified on the CI and locally.

Picked from:

@illwieckz
illwieckz force-pushed the illwieckz/dump_syms_mac branch 2 times, most recently from f3381f5 to 10df57e Compare October 21, 2026 11:37
Comment thread src/common/mac/byteswap.h Resolved
@illwieckz
illwieckz force-pushed the illwieckz/dump_syms_mac branch from 10df57e to f96d8c1 Compare October 22, 2026 03:38
Comment thread Makefile.am Resolved
@illwieckz
illwieckz force-pushed the illwieckz/dump_syms_mac branch from f96d8c1 to d72413d Compare October 26, 2026 06:12
@slipher

slipher commented Oct 27, 2026

Copy link
Copy Markdown
Member

LGTM

@illwieckz
illwieckz merged commit bd714cf into master Oct 27, 2026
@illwieckz

Copy link
Copy Markdown
Member Author

Thanks for the review!

@illwieckz
illwieckz deleted the illwieckz/dump_syms_mac branch October 27, 2026 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants