Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185406 - sys-kernel/xen-sources-2.6.16.52 compile fails on IP_SCTP
Summary: sys-kernel/xen-sources-2.6.16.52 compile fails on IP_SCTP
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-15 12:47 UTC by Cedric OLLIVIER
Modified: 2007-07-15 18:03 UTC (History)
0 users

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 Cedric OLLIVIER 2007-07-15 12:47:29 UTC
I tried to create a domU kernel with default config (just unset XEN_PRIVILEGED_GUEST)
An error happened during the compilation of the IP_SCTP module.

I unset IP_SCTP for creating the kernel

Reproducible: Always

Steps to Reproduce:
1.unset XEN_PRIVILEGED_GUEST
2.make

Actual Results:  
  LD      net/sctp/built-in.o
  CC [M]  net/sctp/sm_statetable.o
  CC [M]  net/sctp/sm_statefuns.o
  CC [M]  net/sctp/sm_sideeffect.o
  CC [M]  net/sctp/protocol.o
  CC [M]  net/sctp/endpointola.o
  CC [M]  net/sctp/associola.o
  CC [M]  net/sctp/transport.o
  CC [M]  net/sctp/chunk.o
  CC [M]  net/sctp/sm_make_chunk.o
net/sctp/sm_make_chunk.c: In function 'sctp_unpack_cookie':
net/sctp/sm_make_chunk.c:1350: warning: initialization discards qualifiers from pointer target type
  CC [M]  net/sctp/ulpevent.o
  CC [M]  net/sctp/inqueue.o
  CC [M]  net/sctp/outqueue.o
  CC [M]  net/sctp/ulpqueue.o
  CC [M]  net/sctp/command.o
  CC [M]  net/sctp/tsnmap.o
  CC [M]  net/sctp/bind_addr.o
  CC [M]  net/sctp/socket.o
  CC [M]  net/sctp/primitive.o
  CC [M]  net/sctp/output.o
  CC [M]  net/sctp/input.o
net/sctp/input.c: In function 'sctp_rcv':
net/sctp/input.c:137: error: too many arguments to function 'skb_linearize'
make[2]: *** [net/sctp/input.o] Error 1
make[1]: *** [net/sctp] Error 2
make: *** [net] Error 2


Expected Results:  
the creation of the kernel domU

# emerge --info
Portage 2.1.2.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 15 Jul 2007 11:20:01 +0000
ccache version 2.4 [disabled]
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ "
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode evo fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv isdnlog jpeg kerberos libg++ lirc mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl server session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xcomposite xml xorg xv zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" LIRC_DEVICES="inputlirc" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Micheal Marineau (RETIRED) gentoo-dev 2007-07-15 18:03:06 UTC
Fix added to xen-sources-2.6.16.52, no revision bump since it is a fairly minor issue. Thanks for the report :-)