Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 345193 - eix-0.20.5 fails to build on ARM (Omap3)
Summary: eix-0.20.5 fails to build on ARM (Omap3)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2010-11-12 09:23 UTC by Hasan Tezcan
Modified: 2010-11-12 15:53 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Hasan Tezcan 2010-11-12 09:23:37 UTC
Im sending you the fail log:

 [32;01m*[0m CPV:  app-portage/eix-0.20.5
 [32;01m*[0m REPO: gentoo
 [32;01m*[0m USE:  arm bzip2 elibc_glibc kernel_linux nls userland_GNU
>>> Unpacking source...
>>> Unpacking eix-0.20.5.tar.xz to /var/tmp/portage/app-portage/eix-0.20.5/work
>>> Source unpacked in /var/tmp/portage/app-portage/eix-0.20.5/work
>>> Preparing source in /var/tmp/portage/app-portage/eix-0.20.5/work/eix-0.20.5 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-portage/eix-0.20.5/work/eix-0.20.5 ...
 * econf: updating eix-0.20.5/config/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating eix-0.20.5/config/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=armv7a-unknown-linux-gnueabi --host=armv7a-unknown-linux-gnueabi --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-bzip2 --without-sqlite --without-rst --enable-nls --disable-separate-tools --disable-security --disable-optimization --disable-strong-optimization --disable-debugging --with-ebuild-sh-default=/usr/lib/portage/bin/ --with-portage-rootpath=/opt/bin:/usr/armv7a-unknown-linux-gnueabi/gcc-bin/4.4.3 --with-eprefix-default= --docdir=/usr/share/doc/eix-0.20.5 --htmldir=/usr/share/doc/eix-0.20.5/html
checking build system type... armv7a-unknown-linux-gnueabi
checking host system type... armv7a-unknown-linux-gnueabi
checking target system type... armv7a-unknown-linux-gnueabi
checking whether to enable maintainer-specific portions of Makefiles... no
configure: Trying to enable dependency tracking for consistency with silent rules
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for armv7a-unknown-linux-gnueabi-g++... armv7a-unknown-linux-gnueabi-g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether armv7a-unknown-linux-gnueabi-g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of armv7a-unknown-linux-gnueabi-g++... gcc3
checking whether debugging options should be used... no (on request)
checking whether strong optimization options should be used... no (on request)
checking whether optimization options should be used... no (on request)
checking whether strong warning options should be used... no (default)
checking whether warning options should be used... no (default)
checking whether security options should be used... no (on request)
checking whether options should not be tested individually... no (default)
checking how to run the C++ preprocessor... armv7a-unknown-linux-gnueabi-g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether CXXFLAGS=-Werror is known... yes
checking whether LDFLAGS=-Wl,--fatal-warnings is known... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for armv7a-unknown-linux-gnueabi-gcc... armv7a-unknown-linux-gnueabi-gcc
checking whether we are using the GNU C compiler... yes
checking whether armv7a-unknown-linux-gnueabi-gcc accepts -g... yes
checking for armv7a-unknown-linux-gnueabi-gcc option to accept ISO C89... none needed
checking dependency style of armv7a-unknown-linux-gnueabi-gcc... gcc3
checking for ld used by GCC... /usr/armv7a-unknown-linux-gnueabi/bin/ld
checking if the linker (/usr/armv7a-unknown-linux-gnueabi/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for null-device... /dev/null
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for regcomp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strrchr... yes
checking for fnmatch... yes
checking for memset... yes
checking for strtoul... yes
checking for strndup... yes
checking for canonicalize_file_name... yes
checking for realpath... yes
checking for vfork... yes
checking for setenv... yes
checking for geteuid... yes
checking for sys/param.h... yes
checking climits usability... yes
checking climits presence... yes
checking for climits... yes
checking tr1/cstdint usability... yes
checking tr1/cstdint presence... yes
checking for tr1/cstdint... yes
checking whether libbz2 should be used... yes (on request)
checking whether __builtin_expect can be used... yes
checking whether __attribute__ ((__unused__)) can be used... yes
checking whether __attribute__ ((__noreturn__)) can be used... yes
checking whether sqlite should be used... no (on request)
checking for armv7a-unknown-linux-gnueabi-pkg-config... no
checking for pkg-config... no
checking PORTDIR_CACHE_METHOD default... metadata-flat (default)
checking EPREFIX default... (empty)
checking EIX_PREFIX default... (empty)
checking ROOT default... (empty)
checking EXEC_EBUILD_SH default... /usr/lib/portage/bin/ (on request)
checking PORTAGE_ROOTPATH default... /opt/bin:/usr/armv7a-unknown-linux-gnueabi/gcc-bin/4.4.3
checking PORTAGE_BIN_PATH default... (empty)
checking default remote path...
checking whether byte ordering is bigendian... no
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking gcc version... 4.4.3
configure: creating ./config.status
config.status: creating Makefile
config.status: creating manpage/Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating po/
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

eix-0.20.5 configured successfully.

CXXFLAGS: -O2 -pipe -march=armv7-a -mfpu=vfp -mfloat-abi=softfp

LDFLAGS:  -Wl,-O1 -Wl,--as-needed

>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-portage/eix-0.20.5/work/eix-0.20.5 ...
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/app-portage/eix-0.20.5/work/eix-0.20.5'
Making all in po
make[2]: Entering directory `/var/tmp/portage/app-portage/eix-0.20.5/work/eix-0.20.5/po'
make[2]: Leaving directory `/var/tmp/portage/app-portage/eix-0.20.5/work/eix-0.20.5/po'
Making all in src
make[2]: Entering directory `/var/tmp/portage/app-portage/eix-0.20.5/work/eix-0.20.5/src'
  CXX    eixTk/ansicolor.o
  CXX    eixTk/argsreader.o
  CXX    eixTk/exceptions.o
  CXX    eixTk/filenames.o
  CXX    eixTk/formated.o
  CXX    eixTk/stringutils.o
  CXX    eixTk/sysutils.o
  CXX    eixTk/utils.o
  CXX    eixTk/varsreader.o
  CXX    database/io.o
  CXX    database/header.o
  CXX    database/package_reader.o
  CXX    portage/conf/portagesettings.o
  CXX    portage/conf/cascadingprofile.o
  CXX    portage/basicversion.o
  CXX    portage/extendedversion.o
  CXX    portage/mask.o
  CXX    portage/package.o
  CXX    portage/vardbpkg.o
  CXX    portage/packagetree.o
  CXX    portage/keywords.o
  CXX    portage/overlay.o
  CXX    portage/set_stability.o
  CXX    portage/version.o
  CXX    eixrc/eixrc.o
  CXX    eixrc/global1.o
{standard input}: Assembler messages:
{standard input}:0: Warning: end of file not at end of a line; newline inserted
{standard input}:573: Error: undefined local label `.L185'
{standard input}:620: Error: undefined local label `.L185'
{standard input}:658: Error: undefined local label `.L185'
armv7a-unknown-linux-gnueabi-g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <> for instructions.
make[2]: *** [eixrc/global1.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-portage/eix-0.20.5/work/eix-0.20.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-portage/eix-0.20.5/work/eix-0.20.5'
make: *** [all] Error 2
 [31;01m*[0m ERROR: app-portage/eix-0.20.5 failed:
 [31;01m*[0m   emake failed
 [31;01m*[0m Call stack:
 [31;01m*[0m, line  54:  Called src_compile
 [31;01m*[0m   environment, line 842:  Called _eapi2_src_compile
 [31;01m*[0m, line 646:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m   		emake || die "emake failed"
 [31;01m*[0m If you need support, post the output of 'emerge --info =app-portage/eix-0.20.5',
 [31;01m*[0m the complete build log and the output of 'emerge -pqv =app-portage/eix-0.20.5'.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/app-portage/eix-0.20.5/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/app-portage/eix-0.20.5/temp/environment'.
 [31;01m*[0m S: '/var/tmp/portage/app-portage/eix-0.20.5/work/eix-0.20.5'

Reproducible: Always
Comment 1 Martin Väth 2010-11-12 13:09:00 UTC
You are probably running out of memory. Try to add some swap.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-11-12 15:48:50 UTC
(In reply to comment #1)
> You are probably running out of memory. Try to add some swap.

Better yet, drop -pipe from C[XX]FLAGS.
And get more RAM. :)

And please post your `emerge --info' next time.