Skip to content

build broken at tip on Mac #1456

@gopherbot

Description

@gopherbot

by bslesinsky:

This is at: 

$ hg id
8d1a09e072ab tip

GOARCH=386

Seems to have broken some time before: 8ee584964d0f
And after: 4a26247db45d

gcc -m32 -g -fPIC -O2 -o _cgo1_.o _cgo_main.o align.cgo2.o file.cgo2.o test.cgo2.o
test1.cgo2.o _cgo_export.o 
cgo -dynimport _cgo1_.o >__cgo_import.c && mv -f __cgo_import.c _cgo_import.c
8c -FVw _cgo_import.c
rm -f _obj/stdio.a
gopack grc _obj/stdio.a _go_.8  _cgo_defun.8 _cgo_import.8 align.cgo2.o file.cgo2.o
test.cgo2.o test1.cgo2.o _cgo_export.o
cp _obj/stdio.a "/Users/skybrian/go/pkg/darwin_386/stdio.a"
8g hello.go
8l -o hello hello.8
/Users/skybrian/go/pkg/darwin_386/stdio.a(align.cgo2.o): malformed mach-o file: invalid
relocation: __jump_table
/Users/skybrian/go/pkg/darwin_386/stdio.a(file.cgo2.o): malformed mach-o file: invalid
relocation: __jump_table
/Users/skybrian/go/pkg/darwin_386/stdio.a(test.cgo2.o): malformed mach-o file: invalid
relocation: __jump_table
/Users/skybrian/go/pkg/darwin_386/runtime/cgo.a(darwin_386.o): malformed mach-o file:
invalid relocation: __jump_table
/Users/skybrian/go/pkg/darwin_386/runtime/cgo.a(util.o): malformed mach-o file: invalid
relocation: __jump_table
make: *** [hello] Error 1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions