-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
addr2line: 'v': No such file, instead of meaningful output, when build fails due to internal bug #20768
Comments
I do get a failure, but I don't see anything about
|
On Debian, |
#20774 may fix this specific compilation problem. |
Fedora has addr2line installed as part of the binutils package. |
This says |
This looks like a red herring.
Then something crashed. The error message "addr2line: 'v': No such file" appears to have nothing in common with it. It's pointing to
I started getting the same error on Linux (GitHub VM) some time ago, when executing
The code: cmd := git push --atomic origin HEAD "v${ver}"
f := vpopen(cmd)
if isnil(f) { return error('executing "${cmd}" failed') }
fd := os.fileno(f)
out := read_all(fd, opts)
exit_code := vpclose(f)
if exit_code != 0 { return error('"${cmd}"" exited with ${exit_code}: ${first_line(out)}') } But I'd need a local Linux VM and some time to debug it. |
What is looks like is that When |
Well,
The binary and symlink are installed like this in vlang.rb:
Do you see a problem with this setup? |
It's good that the symlink is there. Just saying that's what it looked like. When I don't know why it couldn't find it, with that link in place. |
Describe the bug
I have the given code, which triggers a known bug in V's ORM module. Running it, results in lots of addr2line errors, instead of meaningful output.
Reproduction Steps
Expected Behavior
I expect to see the line number and/or memory address, instead of an addr2line error.
Current Behavior
Running
v src/dbtest.v
results in following output on my machine:Possible Solution
No response
Additional Information/Context
The bug was discussed here, before I posted the issue: #20765
V version
V 0.4.4 410bd9d
Environment details (OS name and version, etc.)
V full version: V 0.4.4 a79a9cb.410bd9d
OS: linux, Linux version 6.6.13-200.fc39.x86_64 (mockbuild@72f11b2996ed4699b0f705186172808f) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Sat Jan 20 18:03:28 UTC 2024
Processor: 16 cpus, 64bit, little endian, AMD Ryzen 7 PRO 5850U with Radeon Graphics
getwd: /home/n/src/pkg/gitly
vexe: /home/n/pkg/v/v
vexe mtime: 2024-02-08 18:03:24
vroot: OK, value: /home/n/pkg/v
VMODULES: OK, value: /home/n/.vmodules
VTMP: OK, value: /tmp/v_1000
Git version: git version 2.43.0
Git vroot status: weekly.2024.06-21-g410bd9db (4 commit(s) behind V master)
.git/config present: true
CC version: cc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6)
thirdparty/tcc status: thirdparty-linux-amd64 12f392c3
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: