You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compile of simple programs fails with clang. With tcc it succeeds but a) /usr/include/sys/cdefs.h needs to be patched and b) many more tests fail with tcc and c) tcc shouldn't be required.
Reproduction Steps
echo "println('Hello, World!')" > hello.v
v run hello.v # this will work if tcc is the default
v -cc clang run hello.v # this will fail
Expected Behavior
not break
Current Behavior
compiling produces the following (70 line output truncated):
V full version: V 0.4.6 0d52a7d
OS: freebsd, 14.1-STABLE, FreeBSD 14.1-STABLE stable/14-n267877-04a191c251e5 GENERIC
Processor: 16 cpus, 64bit, little endian
getwd: /usr/remotes/github/vlang/v
vexe: /usr/remotes/github/vlang/v/v
vexe mtime: 2024-06-07 21:07:02
vroot: OK, value: /usr/remotes/github/vlang/v
VMODULES: OK, value: /home/bakul/.vmodules
VTMP: OK, value: /tmp/v_1001
Git version: git version 2.45.1
Git vroot status: weekly.2024.23-4-g0d52a7d9
.git/config present: true
CC version: FreeBSD clang version 18.1.6 (https://github.com/llvm/llvm-project.git llvmorg-18.1.6-0-g1118c2e05e67)
thirdparty/tcc status: thirdparty-freebsd-amd64 5a541410
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:
bakul
added
the
Bug
This tag is applied to issues which reports bugs.
label
Jun 7, 2024
bakul
changed the title
v brokem again on freebsd when using clang, the default compulier
v broken again on freebsd when using clang, the default compulier
Jun 7, 2024
bakul
changed the title
v broken again on freebsd when using clang, the default compulier
v broken again on freebsd when using clang, the default compiler
Jun 7, 2024
Describe the bug
Compile of simple programs fails with clang. With tcc it succeeds but a) /usr/include/sys/cdefs.h needs to be patched and b) many more tests fail with tcc and c) tcc shouldn't be required.
Reproduction Steps
Expected Behavior
not break
Current Behavior
compiling produces the following (70 line output truncated):
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.6 0d52a7d
Environment details (OS name and version, etc.)
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: