Ticket #276 (new defect)

Opened 3 years ago

Last modified 2 years ago

crosscompile net-fs/nfs-utils-1.2.0 failed : error: bad value (armv4t) for -march= switch

Reported by: pierrearinsal Owned by:
Priority: major Milestone: milestone6
Component: target Keywords:
Cc:

Description

hello crosscompile net-fs/nfs-utils-1.2.0 failed : error: bad value (armv4t) for -march= switch

emerge-armv4tl-softfloat-linux-gnueabi --info

Portage 2.1.6.13 (!/usr/portage/local/freerunner/openmoko-overlay/openmoko-target/profiles/openmoko, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-58-with-gentoo-2.0.1
Timestamp of tree: Tue, 28 Jul 2009 15:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="arm ~arm"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -pipe -march=armv4t -mtune=arm920t"
CHOST="armv4tl-softfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -pipe -march=armv4t -mtune=arm920t"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks fixpackages nodoc noinfo noman parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS=""
LINGUAS="en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/local/moko"
PORTAGE_CONFIGROOT="/usr/armv4tl-softfloat-linux-gnueabi/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/freerunner/openmoko-overlay/openmoko-target"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arm bash-completion bzip2 cairo dbus directfb dri gif gnutls gps gstreamer hal iconv jpeg midi minimal multicall ncurses nls nptl pam png python readline sdl sqlite ssl svg threads tiff truetype tslib xorg xpm zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="void evdev keyboard mouse tslib" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fbdev glamo dummy"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

pierre

Attachments

build.log (18.7 kB) - added by Openfree 2 years ago.
hello, here is my build.log! It should compile with cross-compile, but strangely it call host gcc, that's why it fail to recongnize -march and -mtune flags

Change History

Changed 2 years ago by sleipnir

  • milestone changed from unsorted to milestone6

Changed 2 years ago by Openfree

hello, here is my build.log! It should compile with cross-compile, but strangely it call host gcc, that's why it fail to recongnize -march and -mtune flags

Note: See TracTickets for help on using tickets.