Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 568524 - sys-devel/gcc-5.3: makes kernels <4.3 unbootable
Summary: sys-devel/gcc-5.3: makes kernels <4.3 unbootable
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal blocker (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-5
  Show dependency tree
 
Reported: 2015-12-17 12:15 UTC by Perfect Gentleman
Modified: 2015-12-27 17:55 UTC (History)
2 users (show)

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


Attachments
PGs-config (PGs-config,78.46 KB, text/plain)
2015-12-22 00:30 UTC, Ryan Hill (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Perfect Gentleman 2015-12-17 12:15:46 UTC
Building kernel with version less 4.3 with gcc-5.3 makes them unbootable because of errors during build
----------------------
drivers/usb/host/ehci-pci.o
drivers/usb/host/xhci-pci.c:176:13: warning: ‘xhci_pme_quirk’ defined but not used [-Wunused-function]
 static void xhci_pme_quirk(struct xhci_hcd *xhci)
==================================================
drivers/hid/hid-input.c: In function ‘hidinput_hid_event’:
drivers/hid/hid-input.c:1163:67: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
  if (usage->type == EV_KEY && !!test_bit(usage->code, input->key) != value)
============================================================================

Reproducible: Always
Comment 1 Mike Gilbert gentoo-dev 2015-12-17 16:26:43 UTC
I see no errors, only warnings. Please provide a full log.
Comment 2 Perfect Gentleman 2015-12-17 16:29:04 UTC
(In reply to Mike Gilbert from comment #1)
> I see no errors, only warnings. Please provide a full log.

can u give a clue how to do that?
Comment 3 Tomáš Mózes 2015-12-17 16:57:58 UTC
You can redirect output or you tee.
Comment 4 SpanKY gentoo-dev 2015-12-19 21:13:27 UTC
(In reply to Perfect Gentleman from comment #2)

make >& log
xz log
Comment 5 Perfect Gentleman 2015-12-20 15:53:26 UTC
http://itmages.com/image/view/3315331/deba6a46 - that where booting stops

make log - https://bpaste.net/show/ff3da5d5d0c8
Comment 6 Marco Ziebell 2015-12-21 09:56:09 UTC
Could you provide more information about your system environment like "emerge --info" and or kernel ".config" file. I'm using 
"Linux MG 4.3.3-gentoo #1 SMP Thu Dec 17 20:06:13 CET 2015 x86_64 AMD A6-4400M APU with Radeon(tm) HD Graphics AuthenticAMD GNU/Linux"
with
"gcc (Gentoo 5.3.0 p1.0, pie-0.6.5) 5.3.0"
and its working/booting fine since 4.3.2, so the problem doesn't seem to apply to the kernel in general, rather to a specific module
Comment 7 Marco Ziebell 2015-12-21 09:57:28 UTC
I have to correct my self. It's working fine since gcc-5.3.0 hit the tree.
Comment 8 Perfect Gentleman 2015-12-21 10:00:01 UTC
emerge --info - https://bpaste.net/show/898ece6d964a
.config - https://bpaste.net/show/4d6568077757
Comment 9 Ryan Hill (RETIRED) gentoo-dev 2015-12-22 00:30:32 UTC
Created attachment 420124 [details]
PGs-config

Please make attachments so we have a permanent record.

Portage 2.2.26 (python 3.5.1-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.3.0, glibc-2.22-r1, 4.4.0-rc5 x86_64)
=================================================================
System uname: Linux-4.4.0-rc5-x86_64-Intel-R-_Core-TM-_i7-4770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:    16088828 total,    481788 free
KiB Swap:   16777212 total,  16777212 free
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r1::gentoo, 3.4.3-r6::gentoo, 3.5.1-r1::gentoo
dev-util/cmake:           3.4.1::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.3.0::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git://anongit.gentoo.org/repo/gentoo.git
    priority: -1000

pg_overlay
    location: /home/perfect_gentleman_007/local_overlay/
    masters: gentoo

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/x11
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer -fno-stack-protector"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
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=native -mtune=native -O2 -pipe -fomit-frame-pointer -fno-stack-protector"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned 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="-j9"
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="/tmp"
USE="X accessibility acl acpi alsa amd64 bash-completion branding bzip2 cairo cli consolekit cracklib custom-cflags dbus declarative dri dts dvdr emboss encode exif fam ffmpeg firefox flac fontconfig gif glamor gmp iconv icu introspection ios jabber jit jpeg kipi lcms libass libnotify lm_sensors lua lzma lzo matroska mmx mmxext mng modules multilib ncurses nls nptl nsplugin ntpl ogg opengl openmp orc pam pango pcre pdf plasma png policykit ppds pulseaudio qml qt5 readline seccomp session smp sox spell sse sse2 ssl svg symlink taglib tcpd threads tiff truetype udev udisks udisks2 unicode upower usb v4l vaapi vorbis wavpack widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="emu10k1" 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" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 roccat_kovaplus roccat_ryosmk" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_4 python3_5" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="intel i965" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 10 Perfect Gentleman 2015-12-27 17:55:51 UTC
the problem was in corrupted filesystem