[Slackbuilds-users] runc slackbuild failed to build
Dimitris Zlatanidis
d.zlatanidis at gmail.com
Fri May 6 07:24:06 UTC 2022
go build -trimpath "-mod=vendor" "-buildmode=pie" -tags "seccomp"
-ldflags "-X main.gitCommit=12644e614e25b05da6fd08a38ffa0cfe1903fdec -X
main.version=1.0.2 " -o runc .
go build: when using gccgo toolchain, please pass linker flags using
-gccgoflags, not -ldflags
# github.com/opencontainers/runc
/usr/bin/ld: $WORK/b001/_pkg1_.a(_cgo_defun.o): relocation R_X86_64_32
against `.rodata' can not be used when making a PIE object; recompile
with -fPIE
/usr/bin/ld: $WORK/b001/_pkg2_.a(_cgo_defun.o): relocation R_X86_64_32
against `.rodata' can not be used when making a PIE object; recompile
with -fPIE
/usr/bin/ld: $WORK/b001/_pkg3_.a(_cgo_defun.o): relocation R_X86_64_32
against `.rodata' can not be used when making a PIE object; recompile
with -fPIE
collect2: error: ld returned 1 exit status
make: *** [Makefile:34: runc] Error 2
Anyone who knows?
Cheers,
Dimitris
--
Dimitris Zlatanidis
https://dslackw.gitlab.io/slpkg/
https://gitlab.com/dslackw
More information about the SlackBuilds-users
mailing list