https://sourceware.org/bugzilla/show_bug.cgi?id=17729

            Bug ID: 17729
           Summary: [gold] gold failed to build x32 libgo
           Product: binutils
           Version: 2.26 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at google dot com
          Reporter: hjl.tools at gmail dot com
                CC: ian at airs dot com

When gold is used to build libgo for x32, I got many:

ld.gold: error: .libs/go-assert.o: failed to match split-stack sequence at
section 1 offset 0
ld.gold: error: .libs/go-caller.o: failed to match split-stack sequence at
section 1 offset 330
ld.gold: error: .libs/go-caller.o: failed to match split-stack sequence at
section 1 offset 400
ld.gold: error: .libs/go-caller.o: failed to match split-stack sequence at
section 1 offset 560
ld.gold: error: .libs/go-callers.o: failed to match split-stack sequence at
section 1 offset 40
ld.gold: error: .libs/go-callers.o: failed to match split-stack sequence at
section 1 offset 280
ld.gold: error: .libs/go-cdiv.o: failed to match split-stack sequence at
section 1 offset 0
ld.gold: error: .libs/go-cdiv.o: failed to match split-stack sequence at
section 1 offset 170
ld.gold: error: .libs/go-fieldtrack.o: failed to match split-stack sequence at
section 1 offset 20
ld.gold: error: .libs/go-matherr.o: failed to match split-stack sequence at
section 1 offset 0
ld.gold: error: .libs/go-panic.o: failed to match split-stack sequence at
section 1 offset 80
ld.gold: error: .libs/go-reflect-call.o: failed to match split-stack sequence
at section 1 offset 0
ld.gold: error: .libs/go-setenv.o: failed to match split-stack sequence at
section 1 offset 0
ld.gold: error: .libs/go-type-complex.o: failed to match split-stack sequence
at section 1 offset 0
ld.gold: error: .libs/go-type-float.o: failed to match split-stack sequence at
section 1 offset 0
ld.gold: error: .libs/go-varargs.o: failed to match split-stack sequence at
section 1 offset 0

The problem is Target_x86_64<size>::do_calls_non_split doesn't
handle x32 code sequence.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to