Closed JX-Zhang98 closed 3 years ago
Go version info
Outputgo version go1.16 gollvm LLVM 13.0.0git linux/amd64 GO111MODULE="" GOARCH="amd64" GOBIN="/home/jx/workspace/gowork/bin" GOCACHE="/home/jx/.cache/go-build" GOENV="/home/jx/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/home/jx/workspace/gowork/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/home/jx/workspace/gowork" GOPRIVATE="" GOPROXY="https://goproxy.cn,direct" GOROOT="/home/jx/.local/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/home/jx/.local/gollvm/tools" GOVCS="" GOVERSION="go1.16 gollvm LLVM 13.0.0git" GCCGO="/home/jx/.local/gollvm/bin/llvm-goc" AR="ar" CC="/home/jx/workspace/llvm_area/llvm-project/build/bin/clang" CXX="/home/jx/workspace/llvm_area/llvm-project/build/bin/clang++" CGO_ENABLED="1" GOMOD="/dev/null" 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-build1322534458=/tmp/go-build -gno-record-gcc-switches -funwind-tables"
picfit does not support gollvm, if you want to add the support feel free to open a PR.
I attemped to compile this project with gollvm, but it failed with error:
build details
OutputI'm not sure whether it is a bug for picfit because I failed to locate whrere
src/libavcodec/
is It seems have some problem withpthread
lib.