Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75285 - gentoo-dev-sources-2.6.9-r11 compile failure
Summary: gentoo-dev-sources-2.6.9-r11 compile failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
: 75334 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-22 01:39 UTC by Andrei Ivanov
Modified: 2004-12-23 04:18 UTC (History)
6 users (show)

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


Attachments
The config file (.config,19.74 KB, text/plain)
2004-12-22 01:42 UTC, Andrei Ivanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Ivanov 2004-12-22 01:39:02 UTC
ipc/shm.c: In function `sys_shmctl':
ipc/shm.c:528: error: structure has no member named `rlim'
make[1]: *** [ipc/shm.o] Error 1
make: *** [ipc] Error 2

Using the same .config, 2.6.9-r10 compiles fine.

Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r10 i686)
=================================================================
System uname: 2.6.9-gentoo-r10 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4,dev-lang/python-2.2.3-r5 [2.3.4 (#1, Aug  3 2004, 07:36:11)]
dev-lang/python:     2.3.4, 2.2.3-r5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks fixpackages sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.lug.ro/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl adns apache2 berkdb bitmap-fonts crypt curl fam flash fortran gd gif gpm imap innodb ipv6 javamail jpeg libwww maildir memlimit ncurses nls noauthcram nptl oss pam pdflib pg-hier pg-intdatetime pg-vacuumdelay pic png python readline samba slp spell sse ssl tcpd tiff truetype unicode xml xml2 zlib"
Comment 1 Andrei Ivanov 2004-12-22 01:42:08 UTC
Created attachment 46612 [details]
The config file
Comment 2 Bas van Dijk 2004-12-22 05:52:44 UTC
I have the same error.

Also look at the latest Changelog entry:

Add more AF_UNIX security fixes, and a SHM_LOCK DoS fix.

Maybe that has something todo with it?
Comment 3 Daniel Rose 2004-12-22 07:00:28 UTC
Can confirm this error. The shm-patch seems to be corrupt.
Comment 4 Andreas Korinek 2004-12-22 07:23:07 UTC
Same problem on my machines
Comment 5 Matt Taylor 2004-12-22 07:37:34 UTC
from the forums:

change Line 528 of ipc/shm.c from:

!current->signal->rlim[RLIMIT_MEMLOCK].rlim_cur)

to

!current->rlim[RLIMIT_MEMLOCK].rlim_cur)
Comment 6 Roman Dilken 2004-12-22 07:54:53 UTC
This works here...
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2004-12-22 09:54:17 UTC
*** Bug 75334 has been marked as a duplicate of this bug. ***
Comment 8 Nicolas Vollmar 2004-12-22 14:14:58 UTC
Same here

Portage 2.0.51-r3 (gcc34-x86-2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r10 i686)
=================================================================
System uname: 2.6.9-gentoo-r10 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.8
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
Comment 9 Daniel Drake (RETIRED) gentoo-dev 2004-12-22 14:39:41 UTC
Please assign to (or CC) all kernel bugs to kernel@gentoo.org
I wouldn't have seen this if it wasn't for a user pointing it out to me. I made this error, not Greg.
Comment 10 Daniel Drake (RETIRED) gentoo-dev 2004-12-23 04:18:20 UTC
Fixed in -r12