Re: [go-nuts] Gollvm failed to build hugo

2020-08-10 Thread Yuan Ting
Thanks for direction, I think the root cause of this issue is exactly the same in #38728 but I afraid the patch in #38728 only fix the building of gollvm (i.e. add -fcd-branch=none to the build flags). In the above case, gollvm uses /usr/bin/cc to compile gccgo_c.o during the building of hugo w

Re: [go-nuts] Gollvm failed to build hugo

2020-08-10 Thread 'Than McIntosh' via golang-nuts
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:3

Re: [go-nuts] Gollvm failed to build hugo

2020-07-20 Thread Ian Lance Taylor
[ + thanm, cherryyz ] On Mon, Jul 20, 2020 at 4:24 AM Yuan Ting 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

[go-nuts] Gollvm failed to build hugo

2020-07-20 Thread Yuan Ting
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-sta