Skip to content
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

gollvm: segmentation fault during compilation of hash/maphash package (Clang 9, GCC, Clang 11) and unicode/utf16 package (Clang 10) , on Ubuntu 18.04 #42799

Closed
advancedwebdeveloper opened this issue Nov 24, 2020 · 0 comments

Comments

@advancedwebdeveloper
Copy link

Hi.

All the logs could be obtained from https://github.com/advancedwebdeveloper/clang_test_cpu_features/actions/runs/378445371

Building Go package 'hash/maphash' (PIC)
FAILED: tools/gollvm/libgo/hash/.pic/maphash.o
cd /home/runner/work/clang_test_cpu_features/clang_test_cpu_features/clang_test_cpu_features/build_release/tools/gollvm/libgo && /usr/local/bin/cmake -E make_directory ./hash/.pic && /home/runner/work/clang_test_cpu_features/clang_test_cpu_features/clang_test_cpu_features/build_release/./bin/llvm-goc -c -o /home/runner/work/clang_test_cpu_features/clang_test_cpu_features/clang_test_cpu_features/build_release/tools/gollvm/libgo/hash/.pic/maphash.o -fPIC -fgo-pkgpath=hash/maphash -I . /home/runner/work/clang_test_cpu_features/clang_test_cpu_features/clang_test_cpu_features/llvm-project/llvm/tools/gollvm/gofrontend/libgo/go/hash/maphash/maphash.go

and

Stack dump:
0. Program arguments: /home/runner/work/clang_test_cpu_features/clang_test_cpu_features/clang_test_cpu_features/build_release/./bin/llvm-goc -c -o /home/runner/work/clang_test_cpu_features/clang_test_cpu_features/clang_test_cpu_features/build_release/tools/gollvm/libgo/hash/.pic/maphash.o -fPIC -fgo-pkgpath=hash/maphash -I . /home/runner/work/clang_test_cpu_features/clang_test_cpu_features/clang_test_cpu_features/llvm-project/llvm/tools/gollvm/gofrontend/libgo/go/hash/maphash/maphash.go

  1. Running pass 'Function Pass Manager' on module 'gomodule'.
  2. Running pass 'Combine redundant instructions' on function '@hash_1maphash.Hash.Sum'

[1461/2668] Building Go package 'unicode/utf16' (PIC)
FAILED: tools/gollvm/libgo/unicode/.pic/utf16.o
cd /home/runner/work/clang_test_cpu_features/clang_test_cpu_features/clang_test_cpu_features/build_release/tools/gollvm/libgo && /usr/local/bin/cmake -E make_directory ./unicode/.pic && /home/runner/work/clang_test_cpu_features/clang_test_cpu_features/clang_test_cpu_features/build_release/./bin/llvm-goc -c -o /home/runner/work/clang_test_cpu_features/clang_test_cpu_features/clang_test_cpu_features/build_release/tools/gollvm/libgo/unicode/.pic/utf16.o -fPIC -fgo-pkgpath=unicode/utf16 -I . /home/runner/work/clang_test_cpu_features/clang_test_cpu_features/clang_test_cpu_features/llvm-project/llvm/tools/gollvm/gofrontend/libgo/go/unicode/utf16/utf16.go

and

Stack dump:
0. Program arguments: /home/runner/work/clang_test_cpu_features/clang_test_cpu_features/clang_test_cpu_features/build_release/./bin/llvm-goc -c -o /home/runner/work/clang_test_cpu_features/clang_test_cpu_features/clang_test_cpu_features/build_release/tools/gollvm/libgo/unicode/.pic/utf16.o -fPIC -fgo-pkgpath=unicode/utf16 -I . /home/runner/work/clang_test_cpu_features/clang_test_cpu_features/clang_test_cpu_features/llvm-project/llvm/tools/gollvm/gofrontend/libgo/go/unicode/utf16/utf16.go
2020-11-23T08:24:50.9914689Z 1. Running pass 'Function Pass Manager' on module 'gomodule'.
2020-11-23T08:24:50.9915740Z 2. Running pass 'Combine redundant instructions' on function '@unicode_1utf16.Encode'

@golang golang locked and limited conversation to collaborators Dec 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants