# github.com/gohugoio/hugo
/usr/bin/ld.gold: error: $WORK/b029/_pkg_.a(gccgo_c.o): failed to match split-stack sequence at section 1 offset 0
/usr/bin/ld.gold: error: $WORK/b029/_pkg_.a(gccgo_c.o): failed to match split-stack sequence at section 1 offset a6
cmake ../llvm -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_ASSERTIONS=On -DLLVM_ENABLE_RTTI=On -DLLVM_USE_LINKER=gold -G Ninja
Hello,>>/usr/bin/ld.gold: error: $WORK/b029/_pkg_.a(gccgo_c.o): failed to match split-stack sequence at section 1 offset 0This issue is https://github.com/golang/go/issues/38728, which should be fixed at this point at tip.Thanks, Than
On Mon, Jul 20, 2020 at 2:33 PM Ian Lance Taylor <ia...@golang.org> wrote:
[ + thanm, cherryyz ]
On Mon, Jul 20, 2020 at 4:24 AM Yuan Ting <yuan...@ict.ac.cn> wrote:
>
> Hi, I try to build hugo with fresh gollvm but the linker complains that:
>
> # github.com/gohugoio/hugo
> /usr/bin/ld.gold: error: $WORK/b029/_pkg_.a(gccgo_c.o): failed to match split-stack sequence at section 1 offset 0
> /usr/bin/ld.gold: error: $WORK/b029/_pkg_.a(gccgo_c.o): failed to match split-stack sequence at section 1 offset a6
>
> To reproduce:
>
> git clone https://github.com/gohugoio/hugo.git
> cd hugo && go build
>
> Platform: x86_64 ubuntu:20.04
> Gollvm build flags:
> cmake ../llvm -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_ASSERTIONS=On -DLLVM_ENABLE_RTTI=On -DLLVM_USE_LINKER=gold -G Ninja
>
> --
> You received this message because you are subscribed to the Google Groups "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to golan...@googlegroups.com.