Re: bootstrap.sh fails on macos
Kon Lovett via Chicken-users <[email protected]>
| Newsgroups | gmane.lisp.scheme.chicken |
|---|---|
| Message-ID | <[email protected]> |
i add the link option as make … LINKER_OPTIONS=“-Wl,-headerpad_max_install_names” … (assuming Makefile.macosx) > On Oct 23, 2025, at 9:35 AM, Ben via Chicken-users <[email protected]> wrote: > > hi > This is my error report. Any idea whats the probleme here? > Thanks Ben > > $ sw_vers > ProductName: macOS > ProductVersion: 15.6.1 > > $ gcc --version > Apple clang version 17.0.0 (clang-1700.0.13.5) > Target: x86_64-apple-darwin24.6.0 > Thread model: posix > InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin > > git clone https://code.call-cc.org/git/chicken-core.git > # ... > > $ sh scripts/bootstrap.ch > # Errors > # .... > gcc -m64 -L. chicken.o batch-driver.o core.o optimizer.o lfa2.o compiler-syntax.o scrutinizer.o support.o c-platform.o c-backend.o user-pass.o -o chicken \ > -lchicken -lm > install_name_tool -change libchicken.dylib /Users/ben/Builds/chicken-crunch/chicken-core/boot/chicken-6.0.0pre1/libchicken.dylib chicken > error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: changing install names or rpaths can't be redone for: chicken (for architecture x86_64) because larger updated load commands do not fit (the program must be relinked, and you may need to use -headerpad or -headerpad_max_install_names) > make: *** [chicken] Error 1 >