[Slackbuilds-users] runc

Bruno T. Russo brusso at gmail.com
Thu Jun 4 17:21:58 UTC 2020


Hi all!

I trying compile runc. I checked and I have all dependencies installed.

When run:

#./runc.SlackBuild

this error is reported:

go build -buildmode=pie  -ldflags "-X
main.gitCommit=dc9208a3303feef5b3839f4323d9beb36df0a9dd -X main.version=1.
0.0-rc10 " -tags "seccomp" -o runc .
go build: when using gccgo toolchain, please pass linker flags using
-gccgoflags, not -ldflags
# _/tmp/SBo/runc-1.0.0-rc10
/usr/bin/ld: $WORK/b001/_pkg1_.a(_cgo_defun.o): relocation R_X86_64_32
against `.rodata' can not be used when ma
king 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 ma
king 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 ma
king a PIE object; recompile with -fPIE
/usr/bin/ld: final link failed: nonrepresentable section on output
collect2: error: ld returned 1 exit status
make: *** [Makefile:32: runc] Error 2

Any bit to resolve?


thanks,

___________________________________________________

*Bruno Tadeu Russo *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20200604/7c6c2573/attachment.htm>


More information about the SlackBuilds-users mailing list