Skip to content

gollvm:  #41880

@advancedwebdeveloper

Description

@advancedwebdeveloper
$ go version

go version go1.15.2 gollvm LLVM 12.0.0git linux/amd64

go env go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/home/oceanfish81/.cache/go-build" GOENV="/home/oceanfish81/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/home/oceanfish81/go/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/home/oceanfish81/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/home/oceanfish81/gollvm_dist" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/home/oceanfish81/gollvm_dist/tools" GCCGO="/home/oceanfish81/gollvm_dist/bin/llvm-goc" AR="ar" CC="/usr/bin/clang" CXX="/usr/bin/clang++" CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build938164654=/tmp/go-build -gno-record-gcc-switches -funwind-tables"
$ go env

I was trying to build wl project, using my "release" build of gollvm.

~/golang_projects/wl/ui/examples/img$ go run image.go
/tmp/go-build853824791/b001/exe/image: symbol lookup error: /lib/libgo.so.12git: undefined symbol: main.main
exit status 127

~/golang_projects/wl/ui/examples/img$ file /lib/libgo.so.12git
/lib/libgo.so.12git: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, with debug_info, not stripped

~/golang_projects/wl/ui/examples/img$ go run img.go

command-line-arguments

./img.go:39:14: error: reference to undefined name 'ImageFromFile'

Running a pre-compiled executable lad to this:

~/go/bin/img ~/go/src/github.com/dkolbly/wl/ui/examples/img/bsd_daemon.jpg
Connect to Wayland server failed dial unix /run/user/1000/wayland-0: connect: no such file or directory
. This is some sort of misconfiguration, on Ubuntu 20.04, related to Wayland.
I will try to resolve this, to ensure that there wouldn't be any other runtime issues.

CC @dkolbly @sternix
CC @thanm @cherrymui

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeWaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions