[Slackbuilds-users] runc

Christopher L Duston christopher.duston at protonmail.com
Fri Jun 5 20:58:17 UTC 2020


I am having the same problem with runc - and the wrong compiler might be the issue, since I get:

$ go version
go version go1.4.2 gccgo (GCC) 5.5.0 linux/amd64

But this was installed by google-go-lang, upon which runc depends. So is the dependency list for runc inaccurate?


Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, June 4, 2020 2:41 PM, Gabriel Diaz <gdiaz at qswarm.com> wrote:

> hello
>
> The log you posted suggest you are using the gcc-go instead of the
> golang one. Check this:
>
> $ go version
> go version go1.12.2 gccgo (GCC) 9.3.0 linux/amd64
>
> If it is this one, it will fail to build. It should look like something like:
>
> $ go version
> go version go1.14.3 linux/amd64
>
> slds.
> gabriel
>
> On Thu Jun 4, 2020 at 9:21 PM CEST, Bruno T. Russo wrote:
>
> > <div dir="ltr">Hi all!<div><br></div><div>I trying compile runc. I
> > checked and I have all dependencies
> > installed.</div><div><br></div><div>When run:
> > </div><div><br></div><div>#<span style="font-family:monospace"><span
> > style="color:rgb(0,0,0)">./runc.SlackBuild</span><br></span><div><div
> > dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div
> > dir="ltr"><div dir="ltr"><div><br></div><div>this error is
> > reported:</div><div><br></div><div><span
> > style="font-family:monospace"><span style="color:rgb(0,0,0)">go build
> > -buildmode=pie -ldflags "-X
> > main.gitCommit=dc9208a3303feef5b3839f4323d9beb36df0a9dd -X
> > main.version=1.</span><br>0.0-rc10 " -tags "seccomp" -o
> > runc .
> > <br>go build: when using gccgo toolchain, please pass linker flags using
> > -gccgoflags, not -ldflags
> > <br># /tmp/SBo/runc-1.0.0-rc10
> >
> > <br>/usr/bin/ld: $WORK/b001/pkg1.a(cgo_defun.o): relocation
> >
> > R_X86_64_32 against `.rodata' can not be used when ma<br>king a PIE object; recompile with -fPIE <br>/usr/bin/ld: $WORK/b001/_pkg2_.a(_cgo_defun.o): relocation R_X86_64_32 against`.rodata' can not be used when ma<br>king a PIE
> >
> > object; recompile with -fPIE
> >
> > <br>/usr/bin/ld: $WORK/b001/pkg3.a(cgo_defun.o): relocation
> > R_X86_64_32 against `.rodata' can not be used when ma<br>king a PIE
> > object; recompile with -fPIE
> > <br>/usr/bin/ld: final link failed: nonrepresentable section on output
> > <br>collect2: error: ld returned 1 exit status
> > <br>make: *** [Makefile:32: runc] Error 2<br>
> > <br></span></div><div><font face="monospace">Any bit to
> > resolve?</font></div><div><div
> > style="font-size:12.8000001907349px"><br></div><div
> > style="font-size:12.8000001907349px"><br></div><div
> > style="font-size:12.8000001907349px"><font color="#333333"
> > size="2">thanks, </font></div><div
> > style="font-size:12.8000001907349px"><font color="#333333"><span
> > style="font-size:11px"><br></span></font></div><div
> > style="font-size:12.8000001907349px"><font color="#333333"><span
> > style="font-size:11px">________________________________________________</span></font></div><divstyle="font-size:12.8000001907349px"><font color="#333333" size="2"
> > face="tahoma, sans-serif"><b>Bruno Tadeu Russo
> > <br></b></font></div></div><div></div></div></div></div></div></div></div>
>
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/




More information about the SlackBuilds-users mailing list