[uClibc] Compilation fails on MIPS

Thomas Petazzoni thomas.petazzoni at enix.org
Thu Oct 14 13:28:49 UTC 2004


Hello,

Using the latest buildroot CVS (less than one hour ago), compilation
fails on MIPS architecture (selected MIPS32, Big Endian, with MMU),
with gcc 3.3.4, kernel headers for 2.6, binutils version 2.15.91.0.2.

You'll find the .config file attached.

This issue has already been discussed on binutils mailing list in May
2004 : http://sources.redhat.com/ml/binutils/2004-05/msg00112.html.

Here is what happens :

/home/u1/Thomas/buildroot-new/toolchain_build_mips/gcc-3.3.4-initial/gcc/xgcc
-B/home/u1/Thomas/buildroot-new/toolchain_build_mips/gcc-3.3.4-initial/gcc/
-B/home/u1/Thomas/buildroot-new/build_mips/staging_dir/mips-linux-uclibc/bin/
-B/home/u1/Thomas/buildroot-new/build_mips/staging_dir/mips-linux-uclibc/lib/
-isystem
/home/u1/Thomas/buildroot-new/build_mips/staging_dir/mips-linux-uclibc/include
-O2  -DIN_GCC -DCROSS_COMPILE  -DUSE_UCLIBC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-I.
-I. -I/home/u1/Thomas/buildroot-new/toolchain_build_mips/gcc-3.3.4/gcc
-I/home/u1/Thomas/buildroot-new/toolchain_build_mips/gcc-3.3.4/gcc/.
-I/home/u1/Thomas/buildroot-new/toolchain_build_mips/gcc-3.3.4/gcc/config
-I/home/u1/Thomas/buildroot-new/toolchain_build_mips/gcc-3.3.4/gcc/../include
-DL_divdi3 -c
/home/u1/Thomas/buildroot-new/toolchain_build_mips/gcc-3.3.4/gcc/libgcc2.c
-fexceptions -fnon-call-exceptions -o libgcc/./_divdi3.o
/tmp/ccwgrwJw.s: Assembler messages:
/tmp/ccwgrwJw.s:972: Error: operation combines symbols in different
segments
make[3]: *** [libgcc/./_divdi3.o] Error 1
make[3]: Leaving directory
`/home/u1/Thomas/buildroot-new/toolchain_build_mips/gcc-3.3.4-initial/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory
`/home/u1/Thomas/buildroot-new/toolchain_build_mips/gcc-3.3.4-initial/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory
`/home/u1/Thomas/buildroot-new/toolchain_build_mips/gcc-3.3.4-initial'
make: ***
[/home/u1/Thomas/buildroot-new/toolchain_build_mips/gcc-3.3.4-initial/.compiled]
Error 2

I will try with an other binutils version.

Thanks,

Thomas
-- 
PETAZZONI Thomas - thomas.petazzoni at enix.org 
http://thomas.enix.org - Jabber: kos_tom at sourcecode.de
KOS: http://kos.enix.org/ - Lolut: http://lolut.utbm.info
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E  1624 F653 CB30 98D3 F7A7
-------------- next part --------------
#
# Automatically generated make config: don't edit
#
BR2_HAVE_DOT_CONFIG=y
# BR2_arm is not set
# BR2_armeb is not set
# BR2_cris is not set
# BR2_i386 is not set
# BR2_m68k is not set
BR2_mips=y
# BR2_mipsel is not set
# BR2_powerpc is not set
# BR2_sh is not set
# BR2_sparc is not set
BR2_ARCH="mips"
BR2_WGET="wget --passive-ftp"
# BR2_TAR_VERBOSITY is not set

#
# Toolchain Options
#

#
# Kernel Header Options
#
# BR2_KERNEL_HEADERS_2_4 is not set
BR2_KERNEL_HEADERS_2_6=y
BR2_DEFAULT_KERNEL_HEADERS="2.6.8"

#
# uClibc Options
#
BR2_UCLIBC_VERSION_SNAPSHOT=y
BR2_USE_UCLIBC_SNAPSHOT="snapshot"
# BR2_ENABLE_LOCALE is not set

#
# Binutils Options
#
# BR2_BINUTILS_VERSION_2_14_90_0_6 is not set
# BR2_BINUTILS_VERSION_2_14_90_0_7 is not set
# BR2_BINUTILS_VERSION_2_14_90_0_8 is not set
# BR2_BINUTILS_VERSION_2_15 is not set
# BR2_BINUTILS_VERSION_2_15_90_0_1 is not set
# BR2_BINUTILS_VERSION_2_15_90_0_1_1 is not set
# BR2_BINUTILS_VERSION_2_15_90_0_2 is not set
# BR2_BINUTILS_VERSION_2_15_90_0_3 is not set
# BR2_BINUTILS_VERSION_2_15_91_0_1 is not set
BR2_BINUTILS_VERSION_2_15_91_0_2=y
# BR2_BINUTILS_VERSION_2_15_92_0_2 is not set
BR2_BINUTILS_VERSION="2.15.91.0.2"

#
# Gcc Options
#
# BR2_GCC_VERSION_2_95 is not set
# BR2_GCC_VERSION_3_3_3 is not set
BR2_GCC_VERSION_3_3_4=y
# BR2_GCC_VERSION_3_4_0 is not set
# BR2_GCC_VERSION_3_4_1 is not set
# BR2_GCC_VERSION_3_4_2 is not set
BR2_GCC_VERSION="3.3.4"
BR2_GCC_USE_SJLJ_EXCEPTIONS="--enable-sjlj-exceptions"
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
BR2_INSTALL_LIBSTDCPP=y
# BR2_INSTALL_LIBGCJ is not set

#
# Ccache Options
#
# BR2_CCACHE is not set

#
# Gdb Options
#
# BR2_PACKAGE_GDB is not set
# BR2_PACKAGE_GDB_SERVER is not set

#
# Common Toolchain Options
#
# BR2_ENABLE_MULTILIB is not set
# BR2_LARGEFILE is not set
# BR2_SOFT_FLOAT is not set
BR2_TARGET_OPTIMIZATION="-Os -pipe"

#
# Package Selection for the target
#

#
# The default minimal system
#
BR2_PACKAGE_BUSYBOX=y
# BR2_PACKAGE_BUSYBOX_SNAPSHOT is not set

#
# The minimum needed to build a uClibc development system
#
# BR2_PACKAGE_BASH is not set
# BR2_PACKAGE_BZIP2 is not set
# BR2_PACKAGE_COREUTILS is not set
# BR2_PACKAGE_DIFFUTILS is not set
# BR2_PACKAGE_ED is not set
# BR2_PACKAGE_FINDUTILS is not set
# BR2_PACKAGE_FLEX is not set
# BR2_PACKAGE_GAWK is not set
# BR2_PACKAGE_GCC_TARGET is not set
# BR2_PACKAGE_CCACHE_TARGET is not set
# BR2_PACKAGE_GREP is not set
# BR2_PACKAGE_MAKE is not set
# BR2_PACKAGE_PATCH is not set
# BR2_PACKAGE_SED is not set
# BR2_PACKAGE_TAR is not set

#
# Other stuff
#
# BR2_PACKAGE_AUTOCONF is not set
# BR2_PACKAGE_AUTOMAKE is not set
# BR2_PACKAGE_BERKELEYDB is not set
# BR2_PACKAGE_BISON is not set
# BR2_PACKAGE_BOA is not set
# BR2_PACKAGE_BRIDGE is not set
# BR2_PACKAGE_CONFIG is not set
# BR2_PACKAGE_CUSTOMIZE is not set
# BR2_PACKAGE_DHCP_RELAY is not set
# BR2_PACKAGE_DISTCC is not set
# BR2_PACKAGE_DNSMASQ is not set
# BR2_PACKAGE_DROPBEAR_SSHD is not set
# BR2_PACKAGE_FAKEROOT is not set
# BR2_PACKAGE_FILE is not set
# BR2_PACKAGE_GETTEXT is not set
# BR2_PACKAGE_GZIP is not set
# BR2_PACKAGE_HOSTAP is not set
# BR2_PACKAGE_HOTPLUG is not set
# BR2_PACKAGE_IPROUTE2 is not set
# BR2_PACKAGE_IPTABLES is not set
# BR2_PACKAGE_JPEG is not set
# BR2_PACKAGE_LESS is not set
# BR2_PACKAGE_LIBFLOAT is not set
# BR2_PACKAGE_LIBGLIB12 is not set
# BR2_PACKAGE_LIBMAD is not set
# BR2_PACKAGE_LIBTOOL is not set
# BR2_PACKAGE_LINKS is not set
# BR2_PACKAGE_LINUX is not set
# BR2_PACKAGE_LRZSZ is not set
# BR2_PACKAGE_LTP-TESTSUITE is not set
# BR2_PACKAGE_LTRACE is not set
# BR2_PACKAGE_LZO is not set
# BR2_PACKAGE_M4 is not set
# BR2_PACKAGE_MICROCOM is not set
# BR2_PACKAGE_MICROWIN is not set
# BR2_PACKAGE_MKDOSFS is not set
# BR2_PACKAGE_MKE2FS is not set
# BR2_PACKAGE_MPG123 is not set
# BR2_PACKAGE_MROUTED is not set
# BR2_PACKAGE_NANO is not set
# BR2_PACKAGE_NCURSES is not set
# BR2_PACKAGE_NETKITBASE is not set
# BR2_PACKAGE_NETKITTELNET is not set
# BR2_PACKAGE_NETSNMP is not set
# BR2_PACKAGE_NEWT is not set
# BR2_PACKAGE_NTP is not set
# BR2_PACKAGE_OPENSSH is not set
# BR2_PACKAGE_OPENSSL is not set
# BR2_PACKAGE_OPENVPN is not set
# BR2_PACKAGE_PCIUTILS is not set
# BR2_PACKAGE_PCMCIA is not set
# BR2_PACKAGE_PPPD is not set
# BR2_PACKAGE_PROCPS is not set
# BR2_PACKAGE_PYTHON is not set
# BR2_PACKAGE_RAIDTOOLS is not set
# BR2_PACKAGE_RSYNC is not set
# BR2_PACKAGE_RXVT is not set
# BR2_PACKAGE_SFDISK is not set
# BR2_PACKAGE_SLANG is not set
# BR2_PACKAGE_SOCAT is not set
# BR2_PACKAGE_STRACE is not set
# BR2_PACKAGE_TINYLOGIN is not set
# BR2_PACKAGE_TINYX is not set
# BR2_PACKAGE_TN5250 is not set
# BR2_PACKAGE_TTCP is not set
# BR2_PACKAGE_UDHCP is not set
# BR2_PACKAGE_UTIL-LINUX is not set
# BR2_PACKAGE_VALGRIND is not set
# BR2_PACKAGE_VTUN is not set
# BR2_PACKAGE_WGET is not set
# BR2_PACKAGE_WTOOLS is not set
# BR2_PACKAGE_ZLIB is not set

#
# Target Options
#
# BR2_TARGET_ROOTFS_CRAMFS is not set
BR2_TARGET_ROOTFS_EXT2=y
# BR2_TARGET_ROOTFS_JFFS2 is not set
# BR2_TARGET_ROOTFS_SQUASHFS is not set


More information about the uClibc mailing list