forked from pfalcon/esp-open-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
mac os guide
Jeff Hufford edited this page Oct 23, 2022
·
10 revisions
TODO.
https://github.com/jcmvbkbc/crosstool-NG/commit/f7b1ece00f2488530140923c7529ee7399b46573
monterey: https://github.com/matthewmascord/esp-open-sdk/commit/a621afdc16ceace08a5220486cf22b4101630d93 https://github.com/matthewmascord/esp-open-sdk/blob/a621afdc16ceace08a5220486cf22b4101630d93/README.md
Catalina: https://github.com/matthewmascord/esp-open-sdk/commit/feb71c170025f71173d71dcbb46b629b593d2ef4
[ALL ] 22 warnings generated.
[ALL ] aarch64-build_apple-darwin21.6.0-g++ -g -I/Volumes/build/sdks/sdk2-lwip213-test/crosstool-ng/.build/xtensa-lx106-elf/buildtools/include -Qunused-arguments -fno-common -fbracket-depth=512 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -L/Volumes/build/sdks/sdk2-lwip213-test/crosstool-ng/.build/xtensa-lx106-elf/buildtools/lib -framework CoreFoundation -no-pie -o build/gencondmd build/gencondmd.o ../build-aarch64-build_apple-darwin21.6.0/libiberty/libiberty.a
[ALL ] ld: warning: -no_pie is deprecated when targeting new OS versions
[ALL ] ld: warning: -no_pie ignored for arm64
[ALL ] Undefined symbols for architecture arm64:
[ALL ] "_reload_completed", referenced from:
[ALL ] ___cxx_global_var_init in gencondmd.o
[ALL ] ld: symbol(s) not found for architecture arm64
[ERROR] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[ERROR] make[1]: *** [build/gencondmd] Error 1
[ERROR]
host hooks
https://github.com/riscv-collab/riscv-gnu-toolchain/issues/800
https://github.com/haiku/buildtools/commit/9c6e71079b46ad5433165feaa2001450f2017b56
XTRA] Building final gcc compiler
[ERROR] clang: error: unsupported option '-print-multi-os-directory'
[ERROR] clang: error: no input files
[ERROR] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[ERROR] make[4]: *** [libcc1plugin.la] Error 1
[ERROR] make[4]: *** Waiting for unfinished jobs....
[ERROR] make[3]: *** [all] Error 2
[ERROR] make[2]: *** [all-libcc1] Error 2
[ERROR] make[2]: *** Waiting for unfinished jobs....
[ERROR] make[1]: *** [all] Error 2
[ALL ] mv -f .deps/libcc1plugin.Tpo .deps/libcc1plugin.Plo
[ALL ] /opt/homebrew/opt/bash/bin/bash ./libtool --tag=CXX --mode=link aarch64-build_apple-darwin21.6.0-g++ -W -Wall -fvisibility=hidden -O2 -g -pipe -I/Volumes/build/sdks/sdk2-lwip213-test/crosstool-ng/.build/xtensa-lx106-elf/buildtools/include -Qunused-arguments -fno-common -fbracket-depth=512 -module -export-symbols /Volumes/build/sdks/sdk2-lwip213-test/crosstool-ng/.build/xtensa-lx106-elf/src/gcc/libcc1/libcc1plugin.sym '-L/Volumes/build/sdks/sdk2-lwip213-test/crosstool-ng/.build/xtensa-lx106-elf/buildtools/lib' -Xcompiler '-framework' 'CoreFoundation' -o libcc1plugin.la -rpath /Volumes/build/sdks/sdk2-lwip213-test/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/7.4.0/plugin libcc1plugin.lo callbacks.lo connection.lo marshall.lo -Wc,../libiberty/pic/libiberty.a
[ALL ] libtool: link: sed -e 's,^,_,' < /Volumes/build/sdks/sdk2-lwip213-test/crosstool-ng/.build/xtensa-lx106-elf/src/gcc/libcc1/libcc1plugin.sym > .libs/libcc1plugin-symbols.expsym
[ALL ] libtool: link: aarch64-build_apple-darwin21.6.0-g++ -Wl,-flat_namespace -Wl,-undefined -Wl,suppress -o .libs/libcc1plugin.0.so -bundle .libs/libcc1plugin.o .libs/callbacks.o .libs/connection.o .libs/marshall.o -L/Volumes/build/sdks/sdk2-lwip213-test/crosstool-ng/.build/xtensa-lx106-elf/buildtools/lib -framework ../libiberty/pic/libiberty.a -Wl,-exported_symbols_list,.libs/libcc1plugin-symbols.expsym
[ALL ] ld: framework not found ../libiberty/pic/libiberty.a
[ERROR] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[ALL ] 4 warnings generated.
[ERROR] make[4]: *** [libcc1plugin.la] Error 1
[ERROR] make[4]: *** Waiting for unfinished jobs....
[ALL ] mv -f .deps/libcp1.Tpo .deps/libcp1.Plo
[ALL ] checking for suffix of object files... o
[ALL ] checking whether we are