Skip to content

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

Description

@advancedwebdeveloper

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'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions