Tests failing while building from source

106 views
Skip to first unread message

Abdullah

unread,
Oct 15, 2025, 3:01:04 PM (6 days ago) Oct 15
to golang-nuts
using (go1.25.3 linux/amd64) for building
when running ./all.bash from src many tests are failing due to being timed out.
I didn't change anything in code 
Source Code

##### Test execution environment.
# GOARCH: amd64
# CPU: Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz
# GOOS: linux
# OS Version: Linux 6.14.0-33-generic #33~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 19 17:02:30 UTC 2 x86_64

Failed Tests:
panic: test timed out after 9m0s
running tests:
TestCgoPprofThread (20s)
TestCgoPprofThreadNoTraceback (20s)
TestFakeTime (2m49s)
TestMemmoveOverflow (22s)

FAIL runtime 542.646s
FAIL cmd/cgo/internal/testsanitizers 532.495s
FAIL cmd/compile/internal/ssa 534.101s

Jason E. Aten

unread,
Oct 16, 2025, 9:05:08 AM (5 days ago) Oct 16
to golang-nuts
Your C compilation system is messed up. Make sure you can compile C and C++ programs
first. You might need to install gcc, for example.

Jason E. Aten

unread,
Oct 16, 2025, 12:54:51 PM (5 days ago) Oct 16
to golang-nuts
Assuming you are following the directions, this is the step that indicates
that a C compiler is needed; or what to set if you don't want CGO:

https://go.dev/doc/install/source#ccompiler

"To build without cgo, set the environment variable CGO_ENABLED=0 before running all.bash or make.bash."


Reply all
Reply to author
Forward
0 new messages