Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154666 - sys-libs/zlib-1.2.3-r1 emerge fails on arm/softfloat
Summary: sys-libs/zlib-1.2.3-r1 emerge fails on arm/softfloat
Status: VERIFIED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 154667 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-10 05:08 UTC by Christian Reiser
Modified: 2006-11-13 13:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Compile History for emerge zlib. (emerge.zlib,7.23 KB, text/plain)
2006-11-10 05:50 UTC, Christian Reiser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Reiser 2006-11-10 05:08:11 UTC
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
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-10 05:30:36 UTC
*** Bug 154667 has been marked as a duplicate of this bug. ***
Comment 2 Christian Reiser 2006-11-10 05:50:34 UTC
Created attachment 101597 [details]
Compile History for emerge zlib.
Comment 3 SpanKY gentoo-dev 2006-11-11 19:39:38 UTC
upgrade your toolchain, 3.4.6 works fine for me
Comment 4 Christian Reiser 2006-11-13 06:38:06 UTC
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.
Comment 5 SpanKY gentoo-dev 2006-11-13 11:44:03 UTC
i really have no idea what "manuals" you're referring to as none state that

just upgrade your gcc to 3.4.6
Comment 6 Christian Reiser 2006-11-13 13:53:43 UTC
Okay - i upgraded uclibc and now zlib also compiles. Thanks a lot for your help.