Created attachment 352404 [details] kernel config file used for sys-kernel/hardened-sources-3.9.5 Hi, As the hardened/uclibc profile is experimental, I rated this bug as minor. When kernel config has CONFIG_PAX_SIZE_OVERFLOW=y, I get: # nice -n 19 make make[1]: Nothing to be done for `all'. make[1]: Nothing to be done for `relocs'. CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CALL scripts/checksyscalls.sh CC scripts/mod/devicetable-offsets.s GEN scripts/mod/devicetable-offsets.h HOSTCC scripts/mod/file2alias.o HOSTLD scripts/mod/modpost CC init/main.o init/main.c: In function 'start_kernel': include/linux/seqlock.h:155:20: sorry, unimplemented: inlining failed in call to 'write_seqcount_end': function body not available init/main.c:530:24: sorry, unimplemented: called from here include/linux/seqlock.h:155:20: sorry, unimplemented: inlining failed in call to 'write_seqcount_end': function body not available init/main.c:530:24: sorry, unimplemented: called from here include/linux/seqlock.h:155:20: sorry, unimplemented: inlining failed in call to 'write_seqcount_end': function body not available init/main.c:530:24: sorry, unimplemented: called from here include/linux/seqlock.h:155:20: sorry, unimplemented: inlining failed in call to 'write_seqcount_end': function body not available init/main.c:530:24: sorry, unimplemented: called from here make[1]: *** [init/main.o] Error 1 make: *** [init] Error 2 Whithout CONFIG_PAX_SIZE_OVERFLOW, kernel build is OK. This is a new gentoo install, and it happens while chrooted from a long standing working (and non uclibc) hardened gentoo. # emerge --info Portage 2.1.12.2 (hardened/linux/uclibc/amd64, gcc-4.6.3, uclibc-0.9.33.2-r4, 3.9.4-hardened-r2 x86_64) ================================================================= System uname: Linux-3.9.4-hardened-r2-x86_64-AMD_Turion-tm-_II_Neo_N40L_Dual-Core_Processor-with-gentoo-2.2 KiB Mem: 2014192 total, 218280 free KiB Swap: 2097148 total, 2003228 free Timestamp of tree: Mon, 01 Jul 2013 02:45:01 +0000 ld GNU ld (GNU Binutils) 2.22 app-shells/bash: 4.2_p45 dev-lang/python: 2.7.3-r3, 3.2.3-r2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.69 sys-devel/automake: 1.12.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.7 (virtual/os-headers) sys-libs/uclibc: 0.9.33.2-r4 Repositories: gentoo x-portage ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-gentoo-linux-uclibc" CFLAGS="-O2 -march=native -msse4a -pipe" CHOST="x86_64-gentoo-linux-uclibc" CONFIG_PROTECT="/etc /opt/i2p /opt/i2p/*.config /usr/share/easy-rsa" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=native -msse4a -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildsyspkg ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://gentoo.modulix.net/gentoo/ ftp://gentoo.imj.fr/pub/gentoo/" LANG="fr_FR.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/var/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="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext acl aio amd64 bash-completion caps cli cracklib cxx dri fortran gpm hardened hardenedphp iconv ipv6 ithreads lm_sensors logrotate mmx mmxext modules mudflap ncurses nfs nptl openmp pax_kernel pcre pic readline session sse sse2 sse3 sse4a ssl threads threadsafe uclibc unicode xattr zlib" ALSA_CARDS="hda-intel" 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="uclibc" 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 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="en fr" NGINX_MODULES_HTTP="auth_basic autoindex gzip proxy rewrite fastcgi uwsgi" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Hi, Did you mean CONFIG_PAX_SIZE_OVERFLOW? Could you run this command: make V=1 init/main.i and send me the output of this command and the main.i file? Thanks, Emese
Hi Emese, I fixed bugreport title, and sent you requested files. Regards, Elgo
I didn't see any followup on this. I'm going to assume its fixed in the latest patchset. Please reopen if it isn't.