Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 530166 - cross-armv7a-unknown-linux-gnueabihf/glibc-2.20 - checking for sysdeps preconfigure fragments... aarch64 alpha arm configure: error: Old ABI no longer supported
Summary: cross-armv7a-unknown-linux-gnueabihf/glibc-2.20 - checking for sysdeps precon...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-23 11:17 UTC by Patrick Nicolas
Modified: 2015-02-09 16:11 UTC (History)
1 user (show)

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


Attachments
cross-armv7a-unknown-linux-gnueabihf-info (cross-armv7a-unknown-linux-gnueabihf-info.log,18.08 KB, text/plain)
2014-11-23 21:23 UTC, Patrick Nicolas
Details
cross-armv7a-unknown-linux-gnueabihf-glibc-headers.log.xz (cross-armv7a-unknown-linux-gnueabihf-glibc-headers.log.xz,2.14 KB, application/x-xz)
2014-11-23 21:24 UTC, Patrick Nicolas
Details
build-default-armv7a-unknown-linux-gnueabihf-nptl/config.log (config.log,17.22 KB, text/plain)
2014-11-23 21:25 UTC, Patrick Nicolas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Nicolas 2014-11-23 11:17:41 UTC
When creating a new cross toolchain for arm targets with glibc 2.20, configure fails.

File glibc-2.20/sysdeps/arm/preconfigure has
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

#if !__ARM_EABI__
#error
#endif
int
main ()
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :

else
  as_fn_error $? "Old ABI no longer supported" "$LINENO" 5
fi

which is executed before an arm compiler is present. __ARM_EABI__ is undefined and configure fails.

Requesting a 2.19 glibc passes that step.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-23 20:52:12 UTC
1) Please post your `(cross-)emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 Patrick Nicolas 2014-11-23 21:19:36 UTC
emerge --info
Portage 2.2.14 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop/gnome, gcc-4.8.3, glibc-2.20, 3.17.1-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.17.1-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16133732 total,   3460404 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Sun, 23 Nov 2014 09:45:02 +0000
ld GNU ld (GNU Binutils) 2.24
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p30-r1
dev-lang/perl:            5.20.1-r2
dev-lang/python:          2.7.8, 3.3.5-r1, 3.4.2
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.5
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.3-r2
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers)
sys-libs/glibc:           2.20
Repositories: gentoo crossdev dotnet Xytovl
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 AdobeFlash-11.x PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mavx -msse4.2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=corei7-avx -fexcess-precision=fast -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mavx -msse4.2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=corei7-avx -fexcess-precision=fast -pipe -O2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-j5 --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/ http://gentoo.mneisen.org/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8 -l10"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/tmp/portagetmpfs"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/crossdev /var/lib/layman/dotnet /usr/local/portage/xytovl"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi avx bash-completion berkdb bluetooth branding bzip2 cairo cdda cli colord cracklib crypt cups cxx dbus dri dts dvb dvd eds emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk2 gtk3 iconv imap introspection ipv6 jabber jingle jpeg lcms libnotify libsecret lm_sensors mad mmx mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl nptlonly nsplugin ogg opengl openmp openvg pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline scanner sdl session smp socialweb spell sse sse2 sse3 sse4_1 ssl ssse3 startup-notification svg systemd tcpd threads tiff truetype udev udisks unicode upower usb userlocales vaapi vdpau vorbis vpx wxwidgets x264 xcb xinerama xml xv xvid zeroconf zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core authz_host dir mime proxy proxy_fcgi socache_shmcb unixd log_config dav authz_groupfile dav_fs authn_file auth_digest" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" 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 ublox 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="fr it en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_USER_TARGETS="arm" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel i965 radeonsi radeon" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Patrick Nicolas 2014-11-23 21:23:52 UTC
Created attachment 390160 [details]
cross-armv7a-unknown-linux-gnueabihf-info
Comment 4 Patrick Nicolas 2014-11-23 21:24:24 UTC
Created attachment 390162 [details]
cross-armv7a-unknown-linux-gnueabihf-glibc-headers.log.xz
Comment 5 Patrick Nicolas 2014-11-23 21:25:47 UTC
Created attachment 390164 [details]
build-default-armv7a-unknown-linux-gnueabihf-nptl/config.log
Comment 6 Anthoine Bourgeois 2014-11-26 19:11:44 UTC
This patch :
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=34d97d87bb1c08e34d08a9d4be24a3b1d53a4ddb

from Mike Frysinger <vapier@gentoo.org> 3 days ago helps.
Comment 7 SpanKY gentoo-dev 2015-02-09 16:11:18 UTC
  31 Dec 2014; Mike Frysinger <vapier@gentoo.org> glibc-2.20-r1.ebuild:
  Fix cross-compiler bootstrapping for arm targets.