Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing the zld on M1 Mac fails #13

Closed
rimbi opened this issue Jan 31, 2024 · 1 comment
Closed

Installing the zld on M1 Mac fails #13

rimbi opened this issue Jan 31, 2024 · 1 comment

Comments

@rimbi
Copy link

rimbi commented Jan 31, 2024

Here is the command and the output:

➜  ~ brew reinstall zld
==> Fetching michaeleisel/zld/zld
==> Downloading https://github.com/michaeleisel/zld/archive/refs/tags/1.3.9.zip
Already downloaded: /Users/cemeliguzel/Library/Caches/Homebrew/downloads/fe17ea222d6c1c843c98b5b3059964de10febdcbb73719c2823811bb663e4b19--zld-1.3.9.zip
==> Reinstalling michaeleisel/zld/zld
==> make clean
==> make build_homebrew
Last 15 lines from /Users/cemeliguzel/Library/Logs/Homebrew/zld/02.make:
note: Target dependency graph (1 target)
    Target 'zld' in project 'zld' (no dependencies)

GatherProvisioningInputs

CreateBuildDescription
Build description signature: eec0d077b7e077945e4939f7d67e42d4
Build description path: /tmp/zld-20240131-70552-wc4yoe/zld-1.3.9/build/Build/Intermediates.noindex/XCBuildData/eec0d077b7e077945e4939f7d67e42d4.xcbuilddata

error: DT_TOOLCHAIN_DIR cannot be used to evaluate TAPI_HEADER_SEARCH_PATHS, use TOOLCHAIN_DIR instead (in target 'zld' from project 'zld')
error: DT_TOOLCHAIN_DIR cannot be used to evaluate HEADER_SEARCH_PATHS, use TOOLCHAIN_DIR instead (in target 'zld' from project 'zld')
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'zld' from project 'zld')
** BUILD FAILED **

make: *** [build_homebrew] Error 65

I performed the Mac system update as well as brew upgrade before the installation.

@michaeleisel
Copy link
Owner

zld has been made obsolete by ld-prime, the new default linker, so please just use that instead. You should expect better performance that way

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

No branches or pull requests

2 participants