This is the mail archive of the gcc-patches@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]

Re: [PATCH] [RFC] NetBSD note segment


On Sun, 3 Nov 2002 13:15:55 +0200
Momchil Velikov <velco@fadata.bg> wrote:

> C/C++ for powerpc-unknown-netbsd and compiling and running a
> hello-world with each language. Running dynamically linked binaries
> seems broken[2], statically linked seem to work.
> 
> [2] Probably binutils problem, will check later with NetBSD's own
> as/ld.

It didn't work with them also, the message is from the dynamic linker
(/usr/libexec/ld.elf_so), apparently GCC/as generate a relocation which
the linker does not support.
 
/usr/local/lib/libstdc++.so.5: Unsupported relocation type 10 in non-PLT
relocations

The relocation type 10 is R_PPC_REL24.  Similar relocations are marked
as "should not occur" throughout ld.elf_so sources.

~velco


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