On Tue, 10 Feb 2009 13:50:30 +0100 Hector Oron <[email protected]> wrote:
> Hello Dimitris, > > As a quick reply I abandon cross compiler building for other arches > but arm | armel, because we had no users and it is a bit time > consuming. It is known that many of the mutilib'd toolchains with > different ABIs fail to build (on gcc-4.3, but does fine for 4.2 and > 4.1), that could just be avoided disabling multiarch on debian/ > scripts. > > If you like we can try to build and fix gcc-4.3. In other cases, > give me some time to try to build 4.2 and 4.1 for sparc. (i'll do it > for unstable if you agree) > > Regards > Hi Hector, I just tried building the sparc toolchain with gcc-4.3 on a clean debian unstable installation. It failed while building gcc-4.3 with the following errors: /usr/sparc-linux-gnu/bin/ld: skipping incompatible /usr/sparc-linux-gnu/lib/libc.so when searching for -lc /usr/sparc-linux-gnu/bin/ld: skipping incompatible /usr/sparc-linux-gnu/lib/libc.a when searching for -lc /usr/sparc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc /usr/sparc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc /usr/sparc-linux-gnu/bin/ld: skipping incompatible /usr/sparc-linux-gnu/bin/../../lib/libc.so when searching for -lc /usr/sparc-linux-gnu/bin/ld: skipping incompatible /usr/sparc-linux-gnu/bin/../../lib/libc.a when searching for -lc /usr/sparc-linux-gnu/bin/ld: sparc:v8plus architecture of input file `/usr/sparc-linux-gnu/lib/crti.o' is incompatible with sparc:v9 output /usr/sparc-linux-gnu/bin/ld: sparc:v8plus architecture of input file `/usr/sparc-linux-gnu/lib/crtn.o' is incompatible with sparc:v9 output collect2: ld returned 1 exit status make[6]: *** [libgcc_s.so] Error 1 I found that you had similar problems in the past: http://sourceware.org/ml/crossgcc/2008-06/msg00003.html Have you managed to solve this in architectures other than sparc? One more thing that is bothering me is the "sparc:v8plus" input and sparc:v9 output. V9 is 64-bit and V8plus is a way of running 32bit applications on V9 hardware. What I would like to have is a V8 ABI for the LEON3 processor. I think (not sure) that V8plus will not do. So, how do I get a V8 libc6, and how do we set the output to V8 as well? I do recall Neil saying something about a mechanism for machine-specific tweaks in emdebian at FOSDEM, but I don't recall the details. Best regards, Dimitris -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

