This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


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

Multilib problem


Hi all,

I've successfully compiled my powerpc64-e6500-linux-gnu toolchain! Hooray! :)

Now, the trouble is that U-Boot doesn't support 64-bit powerpc builds, so the toolchain needs to have multilib enabled. The compiler itself is built with no problem, but during the "Building for multilib subdir='32'" step, the build fails with this error:
[ALL  ]      ../sysdeps/powerpc/powerpc64/start.S: Assembler messages:
[ALL ] ../sysdeps/powerpc/powerpc64/start.S:50: Error: reloc 1 not supported by object file format [ALL ] ../sysdeps/powerpc/powerpc64/start.S:51: Error: reloc 1 not supported by object file format [ALL ] ../sysdeps/powerpc/powerpc64/start.S:52: Error: reloc 1 not supported by object file format

Those lines in that file look like this:
/*     function descriptors so don't need JUMPTARGET */
        .quad   BP_SYM(main)
        .quad   __libc_csu_init
        .quad   __libc_csu_fini

Anybody know what this could be about, and how to fix it?

My config and the tail of my log are attached.

Thanks for your help,
Danny

Attachment: build.log.tail
Description: Text document

Attachment: config.txt
Description: Text document

--
For unsubscribe information see http://sourceware.org/lists.html#faq

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