Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557110 - gettext-0-19.5.1 crossdev fails to link
Summary: gettext-0-19.5.1 crossdev fails to link
Status: RESOLVED DUPLICATE of bug 555876
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: ARM Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-09 10:29 UTC by Even Oscar Andersen
Modified: 2015-08-13 11:11 UTC (History)
1 user (show)

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


Attachments
armv7a-hardfloat-linux-gnueabi-emerge --info (emerge.info,2.20 KB, text/plain)
2015-08-09 10:29 UTC, Even Oscar Andersen
Details
build.log (build.log.gz,68.09 KB, application/x-gzip)
2015-08-09 12:25 UTC, Even Oscar Andersen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Even Oscar Andersen 2015-08-09 10:29:35 UTC
Created attachment 408606 [details]
armv7a-hardfloat-linux-gnueabi-emerge  --info

Hello,

I am trying to emerge gettext-0.19.5.1 in a crossdev environment, but the build is failing.

Regards,

Even

localhost ~ # ARCH=arm armv7a-hardfloat-linux-gnueabi-emerge -v gettext

...
libtool: relink: armv7a-hardfloat-linux-gnueabi-gcc -std=gnu99 -shared  -fPIC -DPIC  .libs/copy-acl.o .libs/set-acl.o .libs/acl-errno-valid.o .libs/acl-internal.o .libs/get-permissions.o .libs/set-permissions.o .libs/allocator.o .
...
.libs/strstr.o .libs/tparm.o .libs/tputs.o .libs/vasnprintf.o  -Wl,--whole-archive ./.libs/libcroco_rpl.a ./.libs/libglib_rpl.a ./.libs/libxml_rpl.a -Wl,--no-whole-archive  -L/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-devel/gettext-0.19.5.1/image//usr/lib -L/usr/lib -lintl -lc -liconv  -O2   -Wl,-soname -Wl,libgettextlib-0.19.5.1.so -o .libs/libgettextlib-0.19.5.1.so
/usr/libexec/gcc/armv7a-hardfloat-linux-gnueabi/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/lib/libc.a: error adding symbols: File format not recognized
collect2: error: ld returned 1 exit status
libtool:   error: error: relink 'libgettextlib.la' with the above command before installing it
Comment 1 Even Oscar Andersen 2015-08-09 10:30:47 UTC
evena@localhost ~ $ armv7a-hardfloat-linux-gnueabi-emerge  --info
Portage 2.2.20 (python 2.7.9-final-0, embedded, gcc-4.8.4, unavailable, 4.0.5-gentoo x86_64)
=================================================================
System uname: Linux-4.0.5-gentoo-x86_64-AMD_A10-7300_Radeon_R6,_10_Compute_Cores_4C+6G-with-gentoo-2.2
KiB Mem:     4053804 total,   3133972 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 08 Aug 2015 08:00:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash: 4.4_alpha-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-Os -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc noinfo noman parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-Os -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS=""
PKGDIR="/usr/armv7a-hardfloat-linux-gnueabi/packages/"
PORTAGE_CONFIGROOT="/usr/armv7a-hardfloat-linux-gnueabi/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/usr/armv7a-hardfloat-linux-gnueabi/tmp/"
USE="arm kdrive minimal multicall zlib" INPUT_DEVICES="evdev mouse keyboard tslib" KERNEL="linux" LINGUAS="en" PYTHON_TARGETS="python2_7" USERLAND="GNU" VIDEO_CARDS="fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

evena@localhost ~ $ epiphany 
^Z
[1]+  Stopped                 epiphany
evena@localhost ~ $ bg
[1]+ epiphany &
evena@localhost ~ $ armv7a-hardfloat-linux-gnueabi-emerge  --info > /var/tmp/emerge.info
evena@localhost ~ $ 

evena@localhost ~ $ armv7a-hardfloat-linux-gnueabi-emerge  --info
Portage 2.2.20 (python 2.7.9-final-0, embedded, gcc-4.8.4, unavailable, 4.0.5-gentoo x86_64)
=================================================================
System uname: Linux-4.0.5-gentoo-x86_64-AMD_A10-7300_Radeon_R6,_10_Compute_Cores_4C+6G-with-gentoo-2.2
KiB Mem:     4053804 total,   2269792 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 08 Aug 2015 08:00:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash: 4.4_alpha-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-Os -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc noinfo noman parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-Os -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS=""
PKGDIR="/usr/armv7a-hardfloat-linux-gnueabi/packages/"
PORTAGE_CONFIGROOT="/usr/armv7a-hardfloat-linux-gnueabi/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/usr/armv7a-hardfloat-linux-gnueabi/tmp/"
USE="arm kdrive minimal multicall zlib" INPUT_DEVICES="evdev mouse keyboard tslib" KERNEL="linux" LINGUAS="en" PYTHON_TARGETS="python2_7" USERLAND="GNU" VIDEO_CARDS="fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

evena@localhost ~ $
Comment 2 Even Oscar Andersen 2015-08-09 12:25:35 UTC
Created attachment 408618 [details]
build.log
Comment 3 Pacho Ramos gentoo-dev 2015-08-13 11:11:00 UTC

*** This bug has been marked as a duplicate of bug 555876 ***