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-5920] error: ld-linux-x86-64.so.2 0x0005d151: adding range [0x158ea-0x15969) which has a base that is less than the function's low PC 0x160e0 #4386
Comments
@jckarter, is this our negative offset thing? |
No idea, sorry. @lhames is this coming from MCJIT? |
Is this the LLDB-based REPL or the one in libImmediate? Both are using MCJIT, but this error looks like it's coming from https://github.com/apple/swift-lldb/blob/stable/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp , so I suspect this is an LLDB/REPL issue rather than an MCJIT specific one. |
Yes, it's LLDB. The integrated REPL has a different banner that says it's the integrated REPL. |
Yes, it's LLDB. The issue only happens for print(), other output is fine. Welcome to Swift version 4.1-dev (LLVM 0ccf92e239, Clang f2b194a275, Swift 110c8437f9). Type :help for assistance.
1> (1...100).reduce(0, +)
$R0: Int = 5050
2> print(3)
error: ld-linux-x86-64.so.2 0x0005d151: adding range [0x158ea-0x15969) which has a base that is less than the function's low PC 0x160e0. Please file a bug and attach the file at t
he start of this error message
error: ld-linux-x86-64.so.2 0x0005d151: adding range [0x15980-0x15986) which has a base that is less than the function's low PC 0x160e0. Please file a bug and attach the file at t
he start of this error message
error: ld-linux-x86-64.so.2 0x0005d1b7: adding range [0x158ea-0x15969) which has a base that is less than the function's low PC 0x160e0. Please file a bug and attach the file at t
he start of this error message
error: ld-linux-x86-64.so.2 0x0005d1b7: adding range [0x15980-0x15986) which has a base that is less than the function's low PC 0x160e0. Please file a bug and attach the file at t
he start of this error message
3 The internal REPL is fine: *** You are running Swift's integrated REPL, ***
*** intended for compiler and stdlib ***
*** development and testing purposes only. ***
*** The full REPL is built as part of LLDB. ***
*** Type ':help' for assistance. ***
(swift) print(3)
3 |
Comment by Michael Kofler (JIRA) still unresolved, swift 5 current beta (Feb. 5th 2019) + ubuntu 18.04 swift -version swift error: ld-2.27.so 0xffffffff0005c564: adding range [0x1464a-0x146ba) which has a base that is less than the function's low PC 0x14dc0. Please file a bug and attach the file at the start of this error message error: ld-2.27.so 0xffffffff0005c564: adding range [0x146d0-0x146d6) which has a base that is less than the function's low PC 0x14dc0. Please file a bug and attach the file at the start of this error message error: ld-2.27.so 0xffffffff0005c5c5: adding range [0x1464a-0x146ba) which has a base that is less than the function's low PC 0x14dc0. Please file a bug and attach the file at the start of this error message error: ld-2.27.so 0xffffffff0005c5c5: adding range [0x146d0-0x146d6) which has a base that is less than the function's low PC 0x14dc0. Please file a bug and attach the file at the start of this error message Welcome to Swift version 5.0-dev (LLVM 3207a50965, Clang a113643bc4, Swift 3155805b40). Type :help for assistance. 1> for i in 1...3 {
1 2 3 |
Duplicate of https://bugs.swift.org/browse/SR-8690 |
Additional Detail from JIRA
md5: ba322180a7d9d7d0badaf77c7c1de745
Issue Description:
The text was updated successfully, but these errors were encountered: