-
Notifications
You must be signed in to change notification settings - Fork 18k
misc/cgo/testsanitizers: Segmentation fault using GCC 6.1.1 (and Clang 3.8.1) #16636
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
Comments
Note, CC was unset, so the GCC compiler should have been used by |
What version of GNU/Linux are you running? Note that |
Oh, I see, |
Arch Linux
|
Can you test whether |
You seem to be right, something is wrong with
Sorry for the noice, this should have been reported upstream I guess. Either to Arch or Clang. |
Closing this issue as it seems to be a problem with my system in general rather than Go. |
Thanks for following up. Let us know if you find out what the problem is--perhaps we can simply skip the test on systems where it won't work. |
I'm on ArchLinux updated yesterday: Here are the package versions related to this: extra/clang 3.8.1-1 [installed] extra/llvm 3.8.1-1 [installed] extra/llvm-libs 3.8.1-1 [installed] extra/lldb 3.8.1-1 [installed] extra/clang 3.8.1-1 [installed] extra/clang-tools-extra 3.8.1-1 [installed] git describe GOROOT_BOOTSTRAP=/root/SQstuff/go1.7rc5 ./all.bash ../misc/cgo/testsanitizerssignal: segmentation fault (core dumped) ../misc/cgo/errors../misc/cgo/testsigfwd../test/bench/go1testing: warning: no tests to run ../testskipped due to earlier error API checkskipped due to earlier error go env I did notice the CC="gcc" because I only recently installed "clang". THIS WORKS: |
@omac777 Would you mind verifying if you can compile any program on your system with From #16636 (comment)
|
go version
)?Clang and GCC versions:
go env
)?Execute
./all.bash
.All tests passed.
Segmentation faults were reported from the memory sanitizer test cases.
The core dumps don't seem to be revealing too much.
Any idea on how to investigate this further?
The text was updated successfully, but these errors were encountered: