Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337293 - sys-kernel/hardened-sources-2.6.32-r16 fails to compile on ia64: implicit declaration of function ‘atomic_inc_return_unchecked’
Summary: sys-kernel/hardened-sources-2.6.32-r16 fails to compile on ia64: implicit dec...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Kernel Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-14 15:47 UTC by Dennis Schridde
Modified: 2010-09-16 12:22 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2010-09-14 15:47:26 UTC
net/sunrpc/sched.c: In function ‘rpc_task_set_debuginfo’:
net/sunrpc/sched.c:240: error: implicit declaration of function ‘atomic_inc_return_unchecked’

-r15 compiled with the same .config file

Reproducible: Always




Portage 2.2_rc81 (hardened/linux/ia64/10.0/server, gcc-4.4.4, glibc-2.11.2-r0, 2.6.32-hardened-r15 ia64)
=================================================================
System uname: Linux-2.6.32-hardened-r15-ia64-31-with-gentoo-2.0.1
Timestamp of tree: Tue, 14 Sep 2010 12:45:01 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="ia64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="ia64-unknown-linux-gnu"
CFLAGS="-pipe -mtune=mckinley -O2 -ftree-vectorize"
CHOST="ia64-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/portage /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-pipe -mtune=mckinley -O2 -ftree-vectorize"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j3"
PKGDIR="/var/cache/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="      --include='/sci-libs/' --include='/sci-libs/gsl/' --exclude='/sci-libs/*/'      --include='/x11-libs/'          --include='/x11-libs/qt*/'              --include='/x11-libs/cairo/' --include='/x11-libs/pango/' --include='/x11-libs/pixman/' --exclude='/x11-libs/*/'    --include='/x11-misc/' --include='/x11-misc/util-macros/' --exclude='/x11-misc/*/'      --exclude='/games*/' --exclude='/gnome*/' --exclude='/gnustep*/' --exclude='/gpe*/' --exclude='/kde*/' --exclude='/lxde*/' --exclude='/rox*/' --exclude='/sci*/' --exclude='/x11*/' --exclude='/xfce*/'"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/cache/portage/gentoo"
PORTDIR_OVERLAY="/var/cache/portage/layman/sunrise /var/cache/portage/local"
[...]
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS
Comment 1 Anthony Basile gentoo-dev 2010-09-15 11:44:56 UTC
(In reply to comment #0)
> net/sunrpc/sched.c: In function ‘rpc_task_set_debuginfo’:
> net/sunrpc/sched.c:240: error: implicit declaration of function
> ‘atomic_inc_return_unchecked’
> 
> -r15 compiled with the same .config file
> 

Hi devurandom, before posting bugs about the hardened kernel, can you try the corresponding vanilla with the same config (minus grsec/pax obviously) and see if you get the same error.  From the change log you can see that -16 is based on 2.6.32.21.

I'm happy to support ia64 but its a marginal arch and

1) our own arch teams have been skipping stabilization of ia64 kernels

2) all i have to test is the vm you lent me and that's not always idea for testing kernels.
Comment 2 Dennis Schridde 2010-09-15 14:36:50 UTC
(In reply to comment #1)
> Hi devurandom, before posting bugs about the hardened kernel, can you try the
> corresponding vanilla with the same config (minus grsec/pax obviously) and see
> if you get the same error.  From the change log you can see that -16 is based
> on 2.6.32.21.
How do I get vanilla to accept the config file? It always discards it and restarts configuration...
Comment 3 Dennis Schridde 2010-09-16 12:22:16 UTC
Fixed in -r17