Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 448322

Summary: make fails on kernel/sched/core.o when trying to build sys-kernel/hardened-sources-3.5.4-r1
Product: Gentoo Linux Reporter: haxle <haxle>
Component: HardenedAssignee: The Gentoo Linux Hardened Team <hardened>
Status: RESOLVED NEEDINFO    
Severity: major CC: pageexec
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description haxle 2012-12-23 20:01:31 UTC
I'm getting this when trying to make: 

ircd linux # make
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `relocs'.
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
make[3]: `arch/x86/realmode/rm/realmode.bin' is up to date.
  CC      kernel/sched/core.o
*** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins.
Event                            | Plugins
PLUGIN_FINISH_TYPE               | constify_plugin
PLUGIN_ATTRIBUTES                | latent_entropy_plugin size_overflow_plugin constify_plugin
PLUGIN_START_UNIT                | start_unit start_unit colorize_plugin
kernel/sched/core.c: In function 'get_user_cpu_mask':
kernel/sched/core.c:8525:1: internal compiler error: in gimple_build_call, at gimple.c:243
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
make[2]: *** [kernel/sched/core.o] Error 1
make[1]: *** [kernel/sched] Error 2
make: *** [kernel] Error 2

my emerge --info:

ircd ~ # emerge --info
Portage 2.1.11.31 (hardened/linux/x86, gcc-4.5.4, glibc-2.15-r3, 3.2.11-hardened i686)
=================================================================
System uname: Linux-3.2.11-hardened-i686-Intel-R-_Pentium-R-_4_CPU_1.60GHz-with-gentoo-2.
Timestamp of tree: Sat, 22 Dec 2012 04:15:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-lang/python:          3.2.3
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-march=i686 -O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks filafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-featues-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-march=i686 -O2 -pipe"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.hoobly.com/ ttp://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ http://gentoo.cites.uiuc.edu/pubgentoo/ http://mirror.usu.edu/mirrors/gentoo/ ftp://ftp.wallawalla.edu/pub/mirrors/ftp.getoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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.us.gentoo.org/gentoo-portage"
USE="acl berkdb bindist bzip2 cli cracklib crypt cups cxx dri gdbm gpm hardened iconv ipv mmx modules mudflap ncurses nls nptl openmp pam pax_kernel pcre pic pppd readline sessio sse sse2 ssl tcpd unicode urandom x86 zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-moem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intl8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lflat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODLES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authnanon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_hos authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cace env expires ext_filter file_cache filter headers include info log_config logio mem_cach mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack host_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braidump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" LIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclck itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf sperstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBROFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" UERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 intel mah64 mga nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga rident tseng v4l vesa via vmware nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmarkipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZI2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON 

My .config is a little long so i wgetpasted it here: 

 http://bpaste.net/show/66177/

I'm not entirely sure if a emerge world won't fix the issue but i've been trying everything i can think of to fix it.  Thank you for your time.

Reproducible: Always

Steps to Reproduce:
1. emerge hardened-sources
2. cd /usr/src/linux
3. make menuconfig, and config to system specs
4. make
Actual Results:  
 ircd linux # make
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `relocs'.
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
make[3]: `arch/x86/realmode/rm/realmode.bin' is up to date.
  CC      kernel/sched/core.o
*** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins.
Event                            | Plugins
PLUGIN_FINISH_TYPE               | constify_plugin
PLUGIN_ATTRIBUTES                | latent_entropy_plugin size_overflow_plugin constify_plugin
PLUGIN_START_UNIT                | start_unit start_unit colorize_plugin
kernel/sched/core.c: In function 'get_user_cpu_mask':
kernel/sched/core.c:8525:1: internal compiler error: in gimple_build_call, at gimple.c:243
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
make[2]: *** [kernel/sched/core.o] Error 1
make[1]: *** [kernel/sched] Error 2
make: *** [kernel] Error 2


Expected Results:  
arch/x86/boot/bzImage is ready

the server had been unused for quite a while before i decided to bring it back to life, rather than updating everything i thought i would just re-install, I reformatted the hdd and unpacked the latest hardened stage3 and proceeded to install, before I did that however i made a backup of the kernel, which is the only reason it's still up and running right now.  I don't remember the version of the kernel because i was lazy.  sorry about that.  At any rate I was unable to build the kernel when I was using the rescue cd kernel or the old kernel that was previously on the machine.
Comment 1 PaX Team 2013-01-18 21:53:13 UTC
is this still a problem with 3.7?
Comment 2 Anthony Basile gentoo-dev 2013-04-13 22:34:26 UTC
please reopen if this is still a problem