| Summary: | sys-libs/libseccomp-2.2.0 does not compile on armv7a-hardfloat-linux-gnueabi | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Mads <mads> |
| Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | floppym, mads |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | ARM | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build.log | ||
Created attachment 405984 [details]
build.log
Tested with both gcc-4.8.4 and gcc-4.9.2. This looks like bug 551248. What version of sys-kernel/linux-headers do you have installed? Your emerge --info says: sys-kernel/linux-headers: 3.10::gentoo Are you running emerge on an out-of-date tree or with --nodeps? *** This bug has been marked as a duplicate of bug 551248 *** You're right, I have linux-headers-9999 in package.provided and then the 3.10 headers installed, because I use a 3.10 kernel... (this is on a odroid c1, 3.10 is unfortunately the latest kernel version they provide) Are there any known consequence of having glibc built on 3.18 headers together with a 3.10 kernel? Sorry for not finding this bug in bugzilla before reporting... (In reply to Mads from comment #5) > Are there any known consequence of having glibc built on 3.18 headers > together with a 3.10 kernel? Sorry for not finding this bug in bugzilla > before reporting... It is generally safe to mix newer headers with an older kernel; glibc tends to deal with ENOSYS and other related failures gracefully. |
Making all in tools In file included from /var/tmp/portage/sys-libs/libseccomp-2.2.0/work/libseccomp-2.2.0/tools/scmp_bpf_disasm.c:30:0: /var/tmp/portage/sys-libs/libseccomp-2.2.0/work/libseccomp-2.2.0/tools/scmp_bpf_disasm.c: In function ‘main’: /var/tmp/portage/sys-libs/libseccomp-2.2.0/work/libseccomp-2.2.0/tools/scmp_bpf_disasm.c:322:12: error: ‘EM_ARM’ undeclared (first use in this function) arch = AUDIT_ARCH_ARM; ^ /var/tmp/portage/sys-libs/libseccomp-2.2.0/work/libseccomp-2.2.0/tools/scmp_bpf_disasm.c:322:12: note: each undeclared identifier is reported only once for each function it appears in In file included from /var/tmp/portage/sys-libs/libseccomp-2.2.0/work/libseccomp-2.2.0/tools/scmp_bpf_disasm.c:35:0: /var/tmp/portage/sys-libs/libseccomp-2.2.0/work/libseccomp-2.2.0/tools/util.h:46:29: error: ‘EM_AARCH64’ undeclared (first use in this function) #define AUDIT_ARCH_AARCH64 (EM_AARCH64|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE) ^ /var/tmp/portage/sys-libs/libseccomp-2.2.0/work/libseccomp-2.2.0/tools/scmp_bpf_disasm.c:324:12: note: in expansion of macro ‘AUDIT_ARCH_AARCH64’ arch = AUDIT_ARCH_AARCH64; ^ Makefile:491: recipe for target 'scmp_bpf_disasm.o' failed make[2]: *** [scmp_bpf_disasm.o] Error 1 make[2]: *** Waiting for unfinished jobs.... libtool: compile: armv7a-hardfloat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-libs/libseccomp-2.2.0/work/libseccomp-2.2.0/tools -I.. -I/var/tmp/portage/sys-libs/libseccomp-2.2.0/work/libsecco$ In file included from /var/tmp/portage/sys-libs/libseccomp-2.2.0/work/libseccomp-2.2.0/tools/util.c:25:0: /var/tmp/portage/sys-libs/libseccomp-2.2.0/work/libseccomp-2.2.0/tools/util.c:44:22: error: ‘EM_ARM’ undeclared here (not in a function) #define ARCH_NATIVE AUDIT_ARCH_ARM ^ /var/tmp/portage/sys-libs/libseccomp-2.2.0/work/libseccomp-2.2.0/tools/util.c:70:17: note: in expansion of macro ‘ARCH_NATIVE’ uint32_t arch = ARCH_NATIVE; ^ Makefile:507: recipe for target 'util.lo' failed make[2]: *** [util.lo] Error 1 Makefile:480: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 Makefile:388: recipe for target 'all' failed make: *** [all] Error 2 sys-libs/libseccomp-2.1.1 works. Reproducible: Always # emerge --info Portage 2.2.20 (python 2.7.9-final-0, default/linux/arm/13.0/armv7a, gcc-4.9.2, glibc-2.20-r2, 3.10.80-odroidc1 armv7l) ================================================================= System uname: Linux-3.10.80-odroidc1-armv7l-ARMv7_Processor_rev_1_-v7l-with-gentoo-2.2 KiB Mem: 1001892 total, 142932 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 29 Jun 2015 10:45:01 +0000 sh bash 4.3_p33-r2 ld GNU ld (Gentoo 2.25 p1.2) 2.25 app-shells/bash: 4.3_p33-r2::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.13.11::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.69::gentoo sys-devel/automake: 1.14.1::gentoo sys-devel/binutils: 2.25-r1::gentoo sys-devel/gcc: 4.8.4::gentoo, 4.9.2::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.10::gentoo sys-libs/glibc: 2.20-r2::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo/gentoo-portage-rsync-mirror priority: -1000 odroidc1-overlay location: /var/lib/layman/odroidc1-overlay sync-type: laymansync sync-uri: https://github.com/nemunaire/odroidc1-overlay.git masters: gentoo priority: 50 ACCEPT_KEYWORDS="arm ~arm" ACCEPT_LICENSE="* -@EULA" CBUILD="armv7a-hardfloat-linux-gnueabi" CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard" CHOST="armv7a-hardfloat-linux-gnueabi" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard" DISTDIR="/var/cache/distfiles" FCFLAGS="-O2 -pipe -march=armv7-a" 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 xattr" FFLAGS="-O2 -pipe -march=armv7-a" GENTOO_MIRRORS="http://distfiles.gentoo.org" INSTALL_MASK=" /usr/share/bash-completion /etc/runlevels /etc/conf.d /etc/init.d " LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/var/db/repos/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" USE="acl arm armv5te armv6 armv6t2 bzip2 caps cli cracklib crypt cxx dbus dri fortran iconv icu idn ipv6 lto lzma modules ncurses nls nptl openmp pam pcre readline session ssl systemd tcpd threads udev unicode xattr zlib" 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 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" 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" USE_PYTHON="2.7 3.4" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS