Skip to content
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

[SR-15631] Compiler-internal integrated REPL has been removed #57927

Open
swift-ci opened this issue Dec 21, 2021 · 0 comments
Open

[SR-15631] Compiler-internal integrated REPL has been removed #57927

swift-ci opened this issue Dec 21, 2021 · 0 comments
Labels

Comments

@swift-ci
Copy link
Collaborator

@swift-ci swift-ci commented Dec 21, 2021

Previous ID SR-15631
Radar None
Original Reporter CookiesJ (JIRA User)
Type Bug

Attachment: Download

Environment

OS: 11.5.2(20G95)

SDK: 13.0 beta 4 (13A5201i)

cmake: 3.22.1

Additional Detail from JIRA
Votes 0
Component/s
Labels Bug
Assignee None
Priority Medium

md5: c62c92643b4c3168df9b8df27461a897

Issue Description:

Hello!🙂

I compiled the swift source code according to this guide:

https://github.com/apple/swift/blob/main/docs/HowToGuides/GettingStarted.md

./utils/build-script --skip-build-benchmarks --skip-ios --skip-watchos --skip-tvos --swift-darwin-supported-archs "$(uname -m)" --sccache --release-debuginfo --swift-disable-dead-stripping --test

There were no errors in the process.

when I run swift-frontend, I get an error

<unknown>:0: error: fatal error encountered during compilation; please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project
<unknown>:0: note: Compiler-internal integrated REPL has been removed; use the LLDB-enhanced REPL instead.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project and the crash backtrace.
Stack dump:
0.  Program arguments: /Users/jelelam/Documents/dev/swift-project/build/Ninja-RelWithDebInfoAssert/swift-macosx-x86_64/bin/swift-frontend -frontend -repl -enable-objc-interop -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk -color-diagnostics -target-sdk-version 12.0 -module-name REPL
1.  Swift version 5.5.2-dev (LLVM c315411fac10439, Swift c1776ee527d8ab7)
2.  
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend           0x000000011443b077 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 39
1  swift-frontend           0x000000011443a1a5 llvm::sys::RunSignalHandlers() + 85
2  swift-frontend           0x000000011443b6b6 SignalHandler(int) + 278
3  libsystem_platform.dylib 0x00007fff20419d7d _sigtramp + 29
4  libsystem_platform.dylib 0x00007ffee0588cd0 _sigtramp + 18446744072637312880
5  libsystem_c.dylib        0x00007fff20329406 abort + 125
6  swift-frontend           0x000000010f727bfe swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*)::$_2::__invoke(void*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool) + 542
7  swift-frontend           0x000000011438e5ed llvm::report_fatal_error(llvm::Twine const&, bool) + 269
8  swift-frontend           0x000000011438e4db llvm::report_fatal_error(char const*, bool) + 43
9  swift-frontend           0x000000010f7278cd swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 10701
10 swift-frontend           0x000000010f678503 main + 499
11 libdyld.dylib            0x00007fff203eff3d start + 1
12 libdyld.dylib            0x000000000000000b start + 18446603339975164111

I still get an error when I run it with xcode

How can I solve this problem?🙁

thanks

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant