This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug go/65587] C package incomplete/not working for powerpc-linux-gnu


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]