Skip to content

[Xcode 15.1 Beta 2] freestanding - stdlib/public/runtime/Errors.cpp:47:10: fatal error: 'cxxabi.h' file not found #69511

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

Closed
shahmishal opened this issue Oct 30, 2023 · 2 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. runtime The Swift Runtime triage needed This issue needs more specific labels

Comments

@shahmishal
Copy link
Member

[13/404][  3%][2.035s] /usr/local/bin/sccache /Users/ec2-user/jenkins/workspace/test-new-xcode-oss-swift-pr-test-macos/build/buildbot_incremental/toolchain-macosx-x86_64/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -DGTEST_HAS_RTTI=0 -DLLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING=1 -DSWIFT_INLINE_NAMESPACE=__runtime -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_LIBCPP_ENABLE_HARDENED_MODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/Users/ec2-user/jenkins/workspace/test-new-xcode-oss-swift-pr-test-macos/build/buildbot_incremental/minimalstdlib-macosx-x86_64/stdlib/public/runtime -I/Users/ec2-user/jenkins/workspace/test-new-xcode-oss-swift-pr-test-macos/swift/stdlib/public/runtime -I/Users/ec2-user/jenkins/workspace/test-new-xcode-oss-swift-pr-test-macos/swift/stdlib/include -I/Users/ec2-user/jenkins/workspace/test-new-xcode-oss-swift-pr-test-macos/swift/stdlib/public/SwiftShims -I/Users/ec2-user/jenkins/workspace/test-new-xcode-oss-swift-pr-test-macos/build/buildbot_incremental/minimalstdlib-macosx-x86_64/include -I/Users/ec2-user/jenkins/workspace/test-new-xcode-oss-swift-pr-test-macos/swift/include -I/Users/ec2-user/jenkins/workspace/test-new-xcode-oss-swift-pr-test-macos/build/buildbot_incremental/llvm-macosx-x86_64/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -Werror=switch -Wdocumentation -Wimplicit-fallthrough -Wunreachable-code -Woverloaded-virtual -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -Os -DNDEBUG -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -fvisibility=hidden -fvisibility-inlines-hidden  -fno-exceptions -funwind-tables -fno-rtti -Werror=gnu -Werror=c++98-compat-extra-semi -UNDEBUG -fno-sanitize=all -Wall -Wformat-nonliteral -Werror=format-nonliteral -Wglobal-constructors -Werror=global-constructors -Wexit-time-destructors -Werror=exit-time-destructors -DswiftCore_EXPORTS -I/Users/ec2-user/jenkins/workspace/test-new-xcode-oss-swift-pr-test-macos/swift/stdlib/include/llvm/Support -I/Users/ec2-user/jenkins/workspace/test-new-xcode-oss-swift-pr-test-macos/swift/include -DSWIFT_TARGET_LIBRARY_NAME=swiftRuntime -DSWIFT_RUNTIME -DSWIFT_LIB_SUBDIR=\"freestanding\" -DSWIFT_ARCH=\"x86_64\" -target x86_64-apple-macosx11.0 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -flto=full -Os -g -mcx16 -DNDEBUG -DSWIFT_OBJC_INTEROP=0 -DSWIFT_LIBRARY_EVOLUTION=0 -DSWIFT_STDLIB_HAS_DLSYM=0 -DSWIFT_STDLIB_HAS_DARWIN_LIBMALLOC=0 -DSWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY -DSWIFT_THREADING_NONE -DSWIFT_STDLIB_PASSTHROUGH_METADATA_ALLOCATOR -DSWIFT_STDLIB_USE_RELATIVE_PROTOCOL_WITNESS_TABLES -std=c++17 -MD -MT stdlib/public/runtime/CMakeFiles/swiftRuntime-freestanding-x86_64.dir/Errors.cpp.o -MF stdlib/public/runtime/CMakeFiles/swiftRuntime-freestanding-x86_64.dir/Errors.cpp.o.d -o stdlib/public/runtime/CMakeFiles/swiftRuntime-freestanding-x86_64.dir/Errors.cpp.o -c /Users/ec2-user/jenkins/workspace/test-new-xcode-oss-swift-pr-test-macos/swift/stdlib/public/runtime/Errors.cpp
FAILED: stdlib/public/runtime/CMakeFiles/swiftRuntime-freestanding-x86_64.dir/Errors.cpp.o 
/usr/local/bin/sccache /Users/ec2-user/jenkins/workspace/test-new-xcode-oss-swift-pr-test-macos/build/buildbot_incremental/toolchain-macosx-x86_64/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -DGTEST_HAS_RTTI=0 -DLLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING=1 -DSWIFT_INLINE_NAMESPACE=__runtime -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_LIBCPP_ENABLE_HARDENED_MODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/Users/ec2-user/jenkins/workspace/test-new-xcode-oss-swift-pr-test-macos/build/buildbot_incremental/minimalstdlib-macosx-x86_64/stdlib/public/runtime -I/Users/ec2-user/jenkins/workspace/test-new-xcode-oss-swift-pr-test-macos/swift/stdlib/public/runtime -I/Users/ec2-user/jenkins/workspace/test-new-xcode-oss-swift-pr-test-macos/swift/stdlib/include -I/Users/ec2-user/jenkins/workspace/test-new-xcode-oss-swift-pr-test-macos/swift/stdlib/public/SwiftShims -I/Users/ec2-user/jenkins/workspace/test-new-xcode-oss-swift-pr-test-macos/build/buildbot_incremental/minimalstdlib-macosx-x86_64/include -I/Users/ec2-user/jenkins/workspace/test-new-xcode-oss-swift-pr-test-macos/swift/include -I/Users/ec2-user/jenkins/workspace/test-new-xcode-oss-swift-pr-test-macos/build/buildbot_incremental/llvm-macosx-x86_64/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -Werror=switch -Wdocumentation -Wimplicit-fallthrough -Wunreachable-code -Woverloaded-virtual -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -Os -DNDEBUG -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -fvisibility=hidden -fvisibility-inlines-hidden  -fno-exceptions -funwind-tables -fno-rtti -Werror=gnu -Werror=c++98-compat-extra-semi -UNDEBUG -fno-sanitize=all -Wall -Wformat-nonliteral -Werror=format-nonliteral -Wglobal-constructors -Werror=global-constructors -Wexit-time-destructors -Werror=exit-time-destructors -DswiftCore_EXPORTS -I/Users/ec2-user/jenkins/workspace/test-new-xcode-oss-swift-pr-test-macos/swift/stdlib/include/llvm/Support -I/Users/ec2-user/jenkins/workspace/test-new-xcode-oss-swift-pr-test-macos/swift/include -DSWIFT_TARGET_LIBRARY_NAME=swiftRuntime -DSWIFT_RUNTIME -DSWIFT_LIB_SUBDIR=\"freestanding\" -DSWIFT_ARCH=\"x86_64\" -target x86_64-apple-macosx11.0 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -flto=full -Os -g -mcx16 -DNDEBUG -DSWIFT_OBJC_INTEROP=0 -DSWIFT_LIBRARY_EVOLUTION=0 -DSWIFT_STDLIB_HAS_DLSYM=0 -DSWIFT_STDLIB_HAS_DARWIN_LIBMALLOC=0 -DSWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY -DSWIFT_THREADING_NONE -DSWIFT_STDLIB_PASSTHROUGH_METADATA_ALLOCATOR -DSWIFT_STDLIB_USE_RELATIVE_PROTOCOL_WITNESS_TABLES -std=c++17 -MD -MT stdlib/public/runtime/CMakeFiles/swiftRuntime-freestanding-x86_64.dir/Errors.cpp.o -MF stdlib/public/runtime/CMakeFiles/swiftRuntime-freestanding-x86_64.dir/Errors.cpp.o.d -o stdlib/public/runtime/CMakeFiles/swiftRuntime-freestanding-x86_64.dir/Errors.cpp.o -c /Users/ec2-user/jenkins/workspace/test-new-xcode-oss-swift-pr-test-macos/swift/stdlib/public/runtime/Errors.cpp
/Users/ec2-user/jenkins/workspace/test-new-xcode-oss-swift-pr-test-macos/swift/stdlib/public/runtime/Errors.cpp:47:10: fatal error: 'cxxabi.h' file not found
   47 | #include <cxxabi.h>
      |          ^~~~~~~~~~
1 error generated.

https://ci.swift.org/view/xInfrastructure/job/test-new-xcode-oss-swift-pr-test-macos/3852/console

@shahmishal shahmishal added bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. runtime The Swift Runtime triage needed This issue needs more specific labels labels Oct 30, 2023
@shahmishal
Copy link
Member Author

shahmishal commented Nov 2, 2023

we don't need to install libcxx on macOS - 128e21a

@shahmishal
Copy link
Member Author

This is resolved now by dropping the install-libcxx flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. runtime The Swift Runtime triage needed This issue needs more specific labels
Projects
None yet
Development

No branches or pull requests

1 participant