<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><div style="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>