Hi, i am trying to set up a system on a NSLU2 (XScale-based System) arm-softfloat. I used a normal stage3 tarball. Now i am trying to update the System. [...] armeb-softfloat-linux-uclibc-gcc -march=armv5t -Os -fPIC -DHAS_attribute_visibility -fvisibility=hidden -DNO_vsnprintf -DUSE_MMAP -o example example.o libz.a /usr/lib/gcc/armeb-softfloat-linux-uclibc/3.4.4/../../../../armeb-softfloat-linux-uclibc/bin/ld: example: hidden symbol `main' in example.o is referenced by DSO /usr/lib/gcc/armeb-softfloat-linux-uclibc/3.4.4/../../../../armeb-softfloat-linux-uclibc/bin/ld: final link failed: Nonrepresentable section on output collect2: ld returned 1 exit status make: *** [example] Error 1 !!! ERROR: sys-libs/zlib-1.2.3-r1 failed. !!! Function src_compile, Line 39, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. I will add the complete compile-history as attachment. Gentoo Base System version 1.12.5 Portage 2.0.51.22-r2 (uclibc/arm, gcc-3.4.4, uclibc-0.9.27-r0, 2.6.16 armv5teb) ================================================================= System uname: 2.6.16 armv5teb XScale-IXP42x Family rev 1 (v5b) app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.3.5 dev-python/pycrypto: [Not Present] dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="arm" AUTOCLEAN="yes" CBUILD="armeb-softfloat-linux-uclibc" CFLAGS="-march=armv5t -Os" CHOST="armeb-softfloat-linux-uclibc" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks nodoc noinfo noman sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="arm apache2 bitmap-fonts bzip2 cli cracklib dlloader dri expat ncurses pcre perl python readline reflection session spl truetype-fonts type1-fonts uclibc xorg zlib video_cards_dummy video_cards_fbdev video_cards_v4l input_devices_keyboard input_devices_mouse input_devices_evdev userland_GNU kernel_linux elibc_uclibc" Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
*** Bug 154667 has been marked as a duplicate of this bug. ***
Created attachment 101597 [details] Compile History for emerge zlib.
upgrade your toolchain, 3.4.6 works fine for me
Could you please provide me with an information, how to upgrade the toolchain? There are several manuals stating, that i need to execute "emerge -e system" twice. But this command fails when trying to upgrade zlib. The other way would be to upgrade binutils, coreutils, uclibc and gcc. Unfortunately uclibc fails to upgrade - i will file a bug soon.
i really have no idea what "manuals" you're referring to as none state that just upgrade your gcc to 3.4.6
Okay - i upgraded uclibc and now zlib also compiles. Thanks a lot for your help.