Hello,

>># 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

This 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 <i...@golang.org> wrote:

> [ + thanm, cherryyz ]
>
> On Mon, Jul 20, 2020 at 4:24 AM Yuan Ting <yuant...@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 golang-nuts+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/d722a1e8-d205-4c9e-8ae4-623c19dd2946o%40googlegroups.com
> .
>

-- 
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 golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CA%2BUr55Ef1WZJ9kQAiTJ3-u3dkAGOCeBbUi1akpDWUy5Lay%2BLkA%40mail.gmail.com.

Reply via email to