michaeleisel / homebrew-zld

The homebrew tap for zld
7 stars 7 forks source link

Installing the zld on M1 Mac fails #13

Closed rimbi closed 9 months ago

rimbi commented 9 months ago

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 commented 9 months ago

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