First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 132052
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo VPS Team <vserver-devs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christian Bricart <christian@bricart.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 132052 depends on: Show dependency tree
Bug 132052 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-05-02 13:19 0000
magrathea linux-2.6.15-vserver-2.0.1-r4 # make
  CHK     include/linux/version.h
  CC      arch/i386/kernel/asm-offsets.s
In file included from arch/i386/kernel/asm-offsets.c:7:
include/linux/sched.h:1141: error: syntax error before '||' token
make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
magrathea linux-2.6.15-vserver-2.0.1-r4 #



magrathea linux-2.6.15-vserver-2.0.1-r4 # emerge --info
Portage 2203-svn (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3,
2.6.15-vs2.0.1-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-vs2.0.1-gentoo-r1 i686 AMD Duron(tm) processor
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo
/etc/env.d"
CXXFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext 7zip X X509 a52 aac aalib acpi alsa apache2 apm arts
artworkextra audiofile avi bash-completion berkdb bitmap-fonts blender-game
bluetooth browserplugin bzip2 bzlib c++ cairo calendar cardbus ccache cdda cddb
cdio cdparanoia cdr cdrom cgi chroot cli codecs courier crypt css cups curl
cvsgraph dbi dbus dbx devmap dga directfb divx4linux dmx dri dts dv dvd dvdr
dvdread eds elf emboss encode epson escreen esd evo exif expat extensions faad
fam fame fax fb fbcon fbdev fbsplash ffmpeg fftw figlet firefox flac flash
font-server foomaticdb fortran fping freetype ftp gd gdbm geoip gif gimp
gimpprint glut gmp gnome gpm gs gstreamer gtk gtk2 gtkhtml gzip hal http httpd
icecast icq id3 idn image imagemagick imap imlib imlib2 innodb ipv6 isdnlog
j2ee java javascript jpeg jpeg2k kde lame latex lcd lcms ldap libg++ libwww
lm_sensors logitech-mouse ltsp mad maildir memlimit mhash mikmod mime ming
mjpeg mmx mmxext mng monkey motif mozcalendar mozdevelop mozilla mozsvg mp3
mp4live mpeg mpeg2 mpeg4 mplayer mpm-prefork nas ncurses netboot network nfs
nls nptl nsplugin ntfs ogg openal opengl openssh openssl oss pam pcre pdf
pdflib pear-db perl pg-vacuumdelay php png posix postfix postgres povray pppd
procmail python qt quicktime rar rdesktop readline real recode reflection
reiserfs rrdtool samba sasl scanner screen sdl sensord session shaper slang slp
soap spell spl ssl stream subversion svg svga svgz sysfs syslog t1lib tcpd
tetex tga theora tiff toolbar tools transcode truetype truetype-fonts type1
type1-fonts udev unicode urandom usb utf8 v4l v4l2 vcd vcdimager vhosts vidix
vim vim-pager vim-with-x vmdbpostgres vorbis wifi win32codecs winbind x11vnc
xanim xchattext xine xinerama xml xml2 xmlrpc xmms xorg xosd xpm xprint
xscreensaver xsl xslt xv xvid xvmc yp yv12 zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS,
PORTDIR_OVERLAY

------- Comment #1 From Pedro Algarvio 2006-05-04 14:16:40 0000 -------
Same here:
(chroot) livecd linux # make
  CHK     include/linux/version.h
  CC      arch/i386/kernel/asm-offsets.s
In file included from arch/i386/kernel/asm-offsets.c:7:
include/linux/sched.h:1128: error: syntax error before '||' token
make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

(chroot) livecd linux # emerge --info
Portage 2203-svn (default-linux/x86/vserver, gcc-3.4.5, glibc-2.3.6-r3,
2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-march=athlon -O2 -mtune=i686 -pipe -fomit-frame-pointer -ftracer
-fforce-addr"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon -O2 -mtune=i686 -pipe -fomit-frame-pointer -ftracer
-fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo/
http://linuv.uv.es/mirror/gentoo/            http://ftp.caliu.info/pub/gentoo/"
LANG="en_GB.ISO-8859-15"
LC_ALL=""
LINGUAS="en pt"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://ftp.rnl.ist.utl.pt/gentoo-portage"
USE="x86 apache2 bash-completion berkdb bitmap-fonts bzip2 cli crypt dri expat
fortran ipv6 ncurses nls pam pcre perl python readline reflection session spl
ssl tcpd truetype-fonts type1-fonts userlocales vhosts xorg zlib linguas_en
linguas_pt userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, PORTDIR_OVERLAY

------- Comment #2 From Pedro Algarvio 2006-05-04 14:31:46 0000 -------
with help of daniel_hozac from #vserver at oftc

the fix is to remove that 1128 line and the whole vx_capable definition bellow.

After this it will build

------- Comment #3 From Pedro Algarvio 2006-05-04 14:35:07 0000 -------
Aparently not, now it fails elsewhere:
.... more more more .....
  CC      fs/nfsd/nfs4recover.o
fs/nfsd/nfs4recover.c: In function `nfsd4_create_clid_dir':
fs/nfsd/nfs4recover.c:158: error: too few arguments to function `vfs_mkdir'
fs/nfsd/nfs4recover.c: In function `nfsd4_remove_clid_file':
fs/nfsd/nfs4recover.c:263: error: too few arguments to function `vfs_unlink'
fs/nfsd/nfs4recover.c: In function `nfsd4_clear_clid_dir':
fs/nfsd/nfs4recover.c:278: error: too few arguments to function `vfs_rmdir'
make[2]: *** [fs/nfsd/nfs4recover.o] Error 1
make[1]: *** [fs/nfsd] Error 2
make: *** [fs] Error 2

------- Comment #4 From Fernão 2006-05-05 02:04:40 0000 -------
http://bugs.gentoo.org/show_bug.cgi?id=132052


(In reply to comment #3)
> Aparently not, now it fails elsewhere:
> .... more more more .....
>   CC      fs/nfsd/nfs4recover.o
> fs/nfsd/nfs4recover.c: In function `nfsd4_create_clid_dir':
> fs/nfsd/nfs4recover.c:158: error: too few arguments to function `vfs_mkdir'
> fs/nfsd/nfs4recover.c: In function `nfsd4_remove_clid_file':
> fs/nfsd/nfs4recover.c:263: error: too few arguments to function `vfs_unlink'
> fs/nfsd/nfs4recover.c: In function `nfsd4_clear_clid_dir':
> fs/nfsd/nfs4recover.c:278: error: too few arguments to function `vfs_rmdir'
> make[2]: *** [fs/nfsd/nfs4recover.o] Error 1
> make[1]: *** [fs/nfsd] Error 2
> make: *** [fs] Error 2
> 

(In reply to comment #3)
> Aparently not, now it fails elsewhere:
> .... more more more .....
>   CC      fs/nfsd/nfs4recover.o
> fs/nfsd/nfs4recover.c: In function `nfsd4_create_clid_dir':
> fs/nfsd/nfs4recover.c:158: error: too few arguments to function `vfs_mkdir'
> fs/nfsd/nfs4recover.c: In function `nfsd4_remove_clid_file':
> fs/nfsd/nfs4recover.c:263: error: too few arguments to function `vfs_unlink'
> fs/nfsd/nfs4recover.c: In function `nfsd4_clear_clid_dir':
> fs/nfsd/nfs4recover.c:278: error: too few arguments to function `vfs_rmdir'
> make[2]: *** [fs/nfsd/nfs4recover.o] Error 1
> make[1]: *** [fs/nfsd] Error 2
> make: *** [fs] Error 2
> 

I was getting the same error.

I've commented the lines as said at comment 2
(http://bugs.gentoo.org/show_bug.cgi?id=132052#c2)

A second bug appeared for me:
   ...

   CC      init/version.o
   LD      init/built-in.o
   LD      .tmp_vmlinux1
mm/built-in.o: Infunction `__xip_unmap`:
filemap_xip.c:(.text+0x1d637): undefined reference to `vx_file_rsspages_dec`
make: *** [.tmp_vmlinux1] Error 1

I've follow Bertl's tip (at
http://irc.13thfloor.at/LOG/2006-01/LOG_2006-01-27.txt) and patched
'mm/filemap_xip.c' file with this patch:
http://vserver.13thfloor.at/Devel/PAT-2.6.15/delta-xip-fix01.diff

So, finally I've got my kernel compiled.
Thanks!
[]s

Here goes my 'emerge --info':

Gentoo Base System version 1.6.14
Portage 2203-svn (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3,
2.6.16-gentoo-r3 i686)
=================================================================
System uname: 2.6.16-gentoo-r3 i686 Pentium III (Katmai)
dev-lang/python:     2.4.2
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 cli crypt cups dri
eds emboss encode esd expat foomaticdb fortran gdbm gif gpm gstreamer gtk2
imlib ipv6 isdnlog jpeg libg++ libwww mad mikmod motif mp3 mpeg ncurses nls
nptl ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline
reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts
udev usb vorbis xml xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS,
PORTDIR_OVERLAY

------- Comment #5 From Benedikt Böhm 2006-05-06 00:17:49 0000 -------
all 3 issues should be fixed in 2.0.1-r5

First Last Prev Next    No search results available      Search page      Enter new bug