This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/65587] C package incomplete/not working for powerpc-linux-gnu
- From: "ian at airs dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 26 Mar 2015 16:59:52 +0000
- Subject: [Bug go/65587] C package incomplete/not working for powerpc-linux-gnu
- Auto-submitted: auto-generated
- References: <bug-65587-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65587
--- Comment #1 from Ian Lance Taylor <ian at airs dot com> ---
When I've seen this before, it's been because the relocation processing in
applyRelocationsPPC in debug/elf/file.go is not working.
If you run the go command with the -x option, you will see the exact command
that is failing. It will be the cgo command. If you run the cgo command with
the -debug-gcc option you will see that it fails after compiling a program.
Please compile that program with your powerpc-linux-gnu compiler and attach the
object file here.
Thanks.