Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 443912 - =sys-devel/gcc-4.7.2 fails to stage2/stage3 bootstrap compares using armv7a-hardfloat-linux-gnueabi
Summary: =sys-devel/gcc-4.7.2 fails to stage2/stage3 bootstrap compares using armv7a-h...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-19 11:14 UTC by Samuli Suominen (RETIRED)
Modified: 2015-10-22 14:20 UTC (History)
3 users (show)

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


Attachments
build.log.xz (sys-devel:gcc-4.7.2:20121118-095443.log.xz,72.92 KB, application/octet-stream)
2012-11-19 11:19 UTC, Samuli Suominen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2012-11-19 11:14:37 UTC
I'm trying to upgrade this box from =sys-devel/gcc-4.5* to =sys-devel/gcc-4.7* to switch from:

-march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard

To:

-march=cortex-a8 -mfpu=neon -mfloat-abi=hard

This is Efika MX NetTop v3

Don't let the hostname 'fedora-arm' confuse anything, I'm just inside chroot with /sys /proc /dev all mounted to it, as I'm trying to setup the box's toolchain before eg. building the kernel

fedora-arm tmp # cat /etc/make.conf
INPUT_DEVICES="evdev"
VIDEO_CARDS="fbdev"
LINGUAS="en"
CLEAN_DELAY=0
EMERGE_WARNING_DELAY=0
FEATURES="-splitdebug -test -test-fail-continue"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j2"
# Replace current values with -march=cortex-a8 -mfpu=neon when supported:
# -fno-tree-vectorize is coming from http://wiki.debian.org/ArmHardFloatPort/VfpComparison#NEON
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard" # -fno-tree-vectorize"
CXXFLAGS="${CFLAGS}"
FCFLAGS="${CFLAGS}"
FFLAGS="${CFLAGS}"
CHOST="armv7a-hardfloat-linux-gnueabi"
USE="-consolekit -polkit -cups -neon -qt4"
USE="${USE} perl python"
ACCEPT_KEYWORDS="~arm"
fedora-arm tmp # emerge --info
Portage 2.2.0_alpha142 (default/linux/arm/10.0/armv7a/developer, gcc-4.5.4, glibc-2.16.0, 3.4.2-3.fc17.armv7hl.imx armv7l)
=================================================================
System uname: Linux-3.4.2-3.fc17.armv7hl.imx-armv7l-ARMv7_Processor_rev_5_-v7l-with-gentoo-2.2
Timestamp of tree: Fri, 16 Nov 2012 15:30:01 +0000
ld GNU ld (GNU Binutils) 2.23
app-shells/bash:          4.2_p39
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.2
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.4
sys-devel/binutils:       2.23
sys-devel/gcc:            4.5.4, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo
ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv7a-hardfloat-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa arm berkdb bluetooth bzip2 cairo cdda cdr cli cracklib crypt cxx dbus dts dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap ncurses nls nptl ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support readline sdl session snmp spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets xcb xml xv xvid 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-11-19 11:19:32 UTC
Created attachment 329942 [details]
build.log.xz

Had to `xz` this because of the filesize.
Comment 2 Steev Klimaszewski (RETIRED) gentoo-dev 2012-11-19 19:08:11 UTC
Hi Samuli,

Using your make infos, I can't seem to get a failure here, although I built on a 3.0.35 kernel on an MX6 board.  I will start a build on 2 different machines when I get home, to see if I can replicate the issue on an efikamx itself.

Please note: For my mx6 build, I extracted the latest hardfp stage3 on the tds.net mirror, and chrooted, keyworded/unmasked 4.7.2, and changed CFLAGS/make.conf to match what you have in your comment and then built it.

Do you have a link handy for the fedora sdcard image you're using?
Comment 3 SpanKY gentoo-dev 2015-10-22 14:20:22 UTC
gcc-4.9 is stable now, so throwing away older bugs we don't plan on doing backports for as this should be fixed w/4.9+.  please re-open if it's still an issue with 4.9.3+ though.