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] |
.. and another one, slightly more complicated because the patch must be applied on top of: https://github.com/diorcety/crosstool-ng https://github.com/mingwandroid/ctng-firefox-builds/blob/ps3.wip/patches/crosstool-ng/0001-Fix-various-multilib-build-bugs.patch On Fri, Jan 24, 2014 at 10:35 PM, Cody P Schafer <dev@codyps.com> wrote: > On 01/24/2014 02:28 PM, Cody P Schafer wrote: >> >> >> >> On 01/23/2014 02:37 PM, Danny Gale wrote: >>> >>> 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: >> >> >> The problem with multilib on powerpc (and x86, and possibly others) is >> that glibc (and probably other libcs) use the target to determine which >> api to build for the arch. To explain: powerpc64-e6500-linux-gnu passed >> to glibc's configure will always try to build a 64bit libc. One needs to >> pass powerpc-e6500-linux-gnu and then override the place to find CC,LD, >> and the like as well as the result directory. The only crossbuild tool I >> know of that actually is able to do this is gentoo's "crossdev". I've >> been working on some patches to try to get similar functionality in >> crosstool-ng, but they're nowhere near ready >> (https://bitbucket.org/jmesmon/crosstool-ng-pq/ is my patchqueue which >> includes them). > > > Direct link to the interesting (but untested) patch: > https://bitbucket.org/jmesmon/crosstool-ng-pq/src/1fde229c1e3b036dcd8d58cd3cc40a889ad7486b/multilib-libc-fixup.patch?at=default > > And this is what crossdev uses to do it's heavy lifting w.r.t. multilib: > http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/multilib.eclass?revision=1.105&view=markup > > > -- > For unsubscribe information see http://sourceware.org/lists.html#faq > -- 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] |