Summary: | error compiling kernel 5.1.15-gentoo ppc (multiple definition of `yylloc') using gcc gnu-10.3.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alvaro Soto <alsotoes> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | alsotoes |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alvaro Soto
2021-09-20 17:58:41 UTC
More info about my system. pagani /usr/src/linux # emerge --sync >>> Syncing repository 'gentoo' into '/usr/portage'... * Using keys from /usr/share/openpgp-keys/gentoo-release.asc * Refreshing keys via WKD ... [ ok ] >>> Starting rsync with rsync://[2a01:90:200:10::1a]/gentoo-portage... >>> Checking server timestamp ... rsync: getaddrinfo: 2a01:90:200:10::1a 873: Address family for hostname not supported rsync error: error in socket IO (code 10) at clientserver.c(137) [Receiver=3.2.3] >>> Retrying... >>> Starting retry 1 of 2 with rsync://81.91.253.252/gentoo-portage >>> Checking server timestamp ... Welcome to starling.gentoo.org / rsync.gentoo.org Server Address : 81.91.253.252, 2a01:90:200:10::1a Contact Name : mirror-admin@gentoo.org Hardware : 2 x Intel(R) Xeon(R) CPU E5-2470 0 @ 2.30GHz, 3946MB RAM Sponsor : Qube Managed Services Limited, Zurich, Switzerland, EU ... ... ... * - timestamp: 2021-09-20 17:39:12 UTC * Verifying /usr/portage/.tmp-unverified-download-quarantine ... [ ok ] === Sync completed for gentoo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pagani /usr/src/linux # emerge -pv gentoo-sources These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-kernel/gentoo-sources-5.10.61:5.10.61::gentoo USE="-build -experimental -symlink" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB * IMPORTANT: 22 news items need reading for repository 'gentoo'. * Use eselect news read to view new items. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pagani /usr/src/linux # eselect profile list Available profile symlink targets: [1] default/linux/powerpc/ppc32/17.0 (stable) * [2] default/linux/powerpc/ppc32/17.0/desktop (stable) [3] default/linux/powerpc/ppc32/17.0/desktop/gnome (stable) [4] default/linux/powerpc/ppc32/17.0/desktop/gnome/systemd (stable) [5] default/linux/powerpc/ppc32/17.0/developer (stable) [6] default/linux/powerpc/ppc64/17.0/32bit-userland (stable) [7] default/linux/powerpc/ppc64/17.0/32bit-userland/desktop (stable) [8] default/linux/powerpc/ppc64/17.0/32bit-userland/desktop/gnome (stable) [9] default/linux/powerpc/ppc64/17.0/32bit-userland/desktop/gnome/systemd (stable) [10] default/linux/powerpc/ppc64/17.0/32bit-userland/developer (stable) [11] default/linux/powerpc/ppc32/17.0/musl (exp) [12] default/linux/powerpc/ppc32/17.0/musl/hardened (exp) [13] default/linux/powerpc/ppc32/17.0/uclibc (exp) [14] default/linux/powerpc/ppc32/17.0/uclibc/hardened (exp) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pagani /usr/src/linux # emerge --info Portage 3.0.20 (python 3.9.6-final-0, default/linux/powerpc/ppc32/17.0, gcc-10.3.0, glibc-2.33-r1, 4.9.16-gentoo ppc) ================================================================= System uname: Linux-4.9.16-gentoo-ppc-7447A,_altivec_supported-with-glibc2.33 KiB Mem: 1026264 total, 58776 free KiB Swap: 4194300 total, 4190816 free Timestamp of repository gentoo: Wed, 15 Sep 2021 00:00:02 +0000 Head commit of repository gentoo: b67f3c23744d8b66f299b3202e3fb68f7df78740 Head commit of repository pentoo: 710cf36d9e724172e37c6f5130ed2599f2aa5c8d sh bash 5.1_p8 ld GNU ld (Gentoo 2.34 p1) 2.34.0 distcc 3.3.3 powerpc-unknown-linux-gnu [disabled] ccache version 4.3 [enabled] app-shells/bash: 5.1_p8::gentoo dev-lang/perl: 5.34.0::gentoo dev-lang/python: 2.7.18_p13::gentoo, 3.6.14_p1::gentoo, 3.9.6_p2::gentoo dev-util/ccache: 4.3-r2::gentoo dev-util/cmake: 3.20.5::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.43.5::gentoo sys-apps/sandbox: 2.24::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.15.1-r2::gentoo, 1.16.3-r1::gentoo sys-devel/binutils: 2.28-r2::gentoo, 2.30-r3::gentoo, 2.32-r1::gentoo, 2.34::gentoo, 2.36.1-r2::gentoo sys-devel/gcc: 5.4.0-r4::gentoo, 7.3.0-r3::gentoo, 9.1.0-r1::gentoo, 10.3.0-r2::gentoo sys-devel/gcc-config: 2.4::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers) sys-libs/glibc: 2.33-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: pentoo location: /var/lib/layman/pentoo sync-type: git sync-uri: https://github.com/pentoo/pentoo-overlay.git masters: gentoo priority: 50 ACCEPT_KEYWORDS="ppc" ACCEPT_LICENSE="@FREE" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -pipe -mpowerpc-gfxopt -fomit-frame-pointer -maltivec -mabi=altivec -Wno-format-y2k" CHOST="powerpc-unknown-linux-gnu" 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 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -pipe -mpowerpc-gfxopt -fomit-frame-pointer -maltivec -mabi=altivec -Wno-format-y2k" DISTDIR="/usr/portage/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" 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 --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl bash-completion big-endian bindist bzip2 cli crypt dri fortran fuse gdbm iconv json kmod libglvnd ncurses nls nptl openmp pam pcre ppc readline seccomp split-usr ssl tcpd udev unicode vim-syntax xattr xml yaml zlib" ABI_PPC="32" ADA_TARGET="gnat_2018" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="radeon fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS This looks like an -fno-common (https://bugs.gentoo.org/705764) issue. BTW, Linux 5.1.15 was released at 25 Jun 2019 and is no longer available in the gentoo repo. I think there is nothing to do on the Gentoo side. You can fix this by hand, but yeah, we don't have this kernel in our repo, so we can't really fix this. https://lore.kernel.org/lkml/20200331085429.266293703@linuxfoundation.org/ |