error when building gcc using buildroot/toolchain

liran tal liransgarage at gmail.com
Tue Oct 30 16:02:57 UTC 2007


Thank you Bernhard,

I've pulled the tree and I'm compiling as we speak I hope it will
end compilation without any problems.

I was wondering if the "adjust names of MIPS ABI for propagating down to uClibc"
commit was the fix for the problem I was having.
Probably it's a good idea to send all the patches to the upstream uClibc
developers as it appears we are not the only guys working with uClibc and
MIPS :)


Regards,
Liran.


On 10/30/07, liran tal <liransgarage at gmail.com> wrote:
> Hey everyone,
>
> In steps to building a cross-compiler for mips I've downloaded
> buildroot and followed
> the basic procedure of 'make menuconfig', setting Target Arch to mips,
> leaving the default
> options of Target ABI to EABI and all the rest.
>
> During the 'make' build I'm getting the error:
>
> /bin/sh /opt/uclibc/buildroot/toolchain_build_mips/gcc-4.2.1/gcc/mkconfig.sh
> tconfig.h
> /opt/uclibc/buildroot/toolchain_build_mips/gcc-4.2.1-initial/./gcc/xgcc
> -B/opt/uclibc/buildroot/toolchain_build_mips/gcc-4.2.1-initial/./gcc/
> -B/opt/uclibc/buildroot/build_mips/staging_dir/usr/mips-linux-uclibc/bin/
> -B/opt/uclibc/buildroot/build_mips/staging_dir/usr/mips-linux-uclibc/lib/
> -isystem /opt/uclibc/buildroot/build_mips/staging_dir/usr/mips-linux-uclibc/include
> -isystem /opt/uclibc/buildroot/build_mips/staging_dir/usr/mips-linux-uclibc/sys-include
> -O2 -g -Os -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
> -isystem ./include  -I. -I.
> -I/opt/uclibc/buildroot/toolchain_build_mips/gcc-4.2.1/gcc
> -I/opt/uclibc/buildroot/toolchain_build_mips/gcc-4.2.1/gcc/.
> -I/opt/uclibc/buildroot/toolchain_build_mips/gcc-4.2.1/gcc/../include
> -I/opt/uclibc/buildroot/toolchain_build_mips/gcc-4.2.1/gcc/../libcpp/include
> -I/opt/uclibc/buildroot/toolchain_build_mips/gmp/include
> -I/opt/uclibc/buildroot/toolchain_build_mips/mpfr/include
> -I/opt/uclibc/buildroot/toolchain_build_mips/gcc-4.2.1/gcc/../libdecnumber
> -I../libdecnumber  -g0 -finhibit-size-directive -fno-inline-functions
> -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder   \
>   -c /opt/uclibc/buildroot/toolchain_build_mips/gcc-4.2.1/gcc/crtstuff.c
> -DCRT_BEGIN \
>   -o crtbegin.o
> /opt/uclibc/buildroot/toolchain_build_mips/gcc-4.2.1/gcc/crtstuff.c:1:
> error: unsupported combination: -mabicalls -mabi=eabi
> make[2]: *** [crtbegin.o] Error 1
> make[2]: Leaving directory
> `/opt/uclibc/buildroot/toolchain_build_mips/gcc-4.2.1-initial/gcc'
> make[1]: *** [all-gcc] Error 2
> make[1]: Leaving directory
> `/opt/uclibc/buildroot/toolchain_build_mips/gcc-4.2.1-initial'
> make: *** [/opt/uclibc/buildroot/toolchain_build_mips/gcc-4.2.1-initial/.compiled]
> Error 2
>
>
>
> I've tried several things:
> 1. Using the svn version of uClibc
> 2. Using different versions of gcc (including gcc-4.2.1, gcc-4.1.2 and gcc-3.4.6
>
> It all resulted in the same error.
> The machine I'm running buildroot on is Debian Etch with gcc 4.1.1-21.
>
> In another attempt, I've also tried getting the svn of buildroot on a Mandrake10
> machine with gcc 3.3.2-6mdk but still the same error appears.
>
>
> This seems to be more than just a "configuration" or system-specific error.
> Is there any work-around?
>
>
> Regards,
> Liran.
>



More information about the uClibc mailing list