We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Before filing a bug, please check whether it has been fixed since the latest release: run "hg pull -u" and retry what you did to reproduce the problem. Thanks. What steps will reproduce the problem? setenv GOROOT $HOME/Developer/Go setenv GOOS darwin setenv GOARCH 386 setenv GOBIN /usr/local/bin ./all.bash What is the expected output? successful compilation ... What do you see instead? [...] --- cd ../misc/cgo/stdio rm -rf *.o *.a *.[568vq] [568vq].out hello fib chain run.out *.cgo1.go *.cgo2.c _cgo_defun.c _cgo_gotypes.go _cgo_export.* _cgo_.c _cgo_import.c _cgo_main.c _cgo_flags _cgo_run _gcc_main.c *.so _obj _test _testmain.go *.exe CGOPKGPATH= cgo -- align.go file.go test.go test1.go touch _cgo_run 8g -o _go_.8 align.cgo1.go file.cgo1.go test.cgo1.go test1.cgo1.go _cgo_gotypes.go 8c -FVw -I/Users/bsiegert/Developer/Go/pkg/darwin_386 _cgo_defun.c gcc -m32 -g -fPIC -O2 -o _cgo_main.o -c _cgo_main.c gcc -m32 -g -fPIC -O2 -o align.cgo2.o -c align.cgo2.c gcc -m32 -g -fPIC -O2 -o file.cgo2.o -c file.cgo2.c gcc -m32 -g -fPIC -O2 -o test.cgo2.o -c test.cgo2.c gcc -m32 -g -fPIC -O2 -o test1.cgo2.o -c test1.cgo2.c gcc -m32 -g -fPIC -O2 -o _cgo_export.o -c _cgo_export.c 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/bsiegert/Developer/Go/pkg/darwin_386/stdio.a" 8g hello.go 8l -o hello hello.8 /Users/bsiegert/Developer/Go/pkg/darwin_386/stdio.a(align.cgo2.o): malformed mach-o file: invalid relocation: __jump_table /Users/bsiegert/Developer/Go/pkg/darwin_386/stdio.a(file.cgo2.o): malformed mach-o file: invalid relocation: __jump_table /Users/bsiegert/Developer/Go/pkg/darwin_386/stdio.a(test.cgo2.o): malformed mach-o file: invalid relocation: __jump_table /Users/bsiegert/Developer/Go/pkg/darwin_386/runtime/cgo.a(darwin_386.o): malformed mach-o file: invalid relocation: __jump_table /Users/bsiegert/Developer/Go/pkg/darwin_386/runtime/cgo.a(util.o): malformed mach-o file: invalid relocation: __jump_table make: *** [hello] Error 1 Which compiler are you using (5g, 6g, 8g, gccgo)? 8g Which operating system are you using? Mac OS 10.5.8 Which revision are you using? (hg identify) 322350d6fdbf tip Please provide any additional information below.
The text was updated successfully, but these errors were encountered:
Comment 1:
Status changed to Duplicate.
Merged into issue #1363.
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: