swift-everywhere-toolchain icon indicating copy to clipboard operation
swift-everywhere-toolchain copied to clipboard

Does the build work right now?

Open johnburkey opened this issue 2 years ago • 2 comments

I get this:

/Users/johnburkey/Library/Android/sdk/ndk/21.4.7075529/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/arm-linux-androideabi/bin/ld.gold: error: symbol __aeabi_atexit has undefined version LIBC_PRIVATE /Users/johnburkey/Library/Android/sdk/ndk/21.4.7075529/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/arm-linux-androideabi/bin/ld.gold: error: symbol __aeabi_atexit has undefined version LIBC_N external/jemalloc_new/src/android_je_iterate.c:91: error: undefined reference to 'pthread_atfork' external/jemalloc_new/src/jemalloc.c:1367: error: undefined reference to 'pthread_atfork' bionic/libc/bionic/libc_init_common.cpp:105: error: undefined reference to 'pthread_atfork'

johnburkey avatar Jan 21 '22 03:01 johnburkey

@johnburkey

  • delete /Library/Developer/CommandLineTools

  • check is xcode self CommandLineTools

❯ xcode-select --print-path
/Applications/Xcode.app/Contents/Developer
  • uncommend below line https://github.com/vgorloff/swift-everywhere-toolchain/blob/c71640d1895035a9fa089007ec021e543921325a/lib/Builders/SwiftStdLibBuilder.js#L60

Guang1234567 avatar Feb 17 '22 03:02 Guang1234567

0001-tmp patch

Patch here, rename suffix from ".png" to ".patch".

Pass on macOS 10.15.7

Guang1234567 avatar Feb 17 '22 04:02 Guang1234567