Re: trying to build OpenSSI [with 2.6.14 kernel] from source
John Hughes <[email protected]> Mon, 05 Jul 2010 13:11:33 +0200
| Newsgroups | gmane.linux.cluster.ssic.user |
|---|---|
| Message-ID | <[email protected]> |
Scott Walters wrote: > Hi all, > > I spent some time tracking down security fixes to the Linux kernel and > patching 2.6.14-ssi. > > Trying to build the linux-source-2.6.14-ssi.tar.bz2 kernel from > `apt-get install linux-source-2.6.14-ssi`, I get: > > CC init/main.o > In file included from include/asm/mpspec.h:5, > from include/asm/smp.h:18, > from include/linux/smp.h:19, > from include/linux/sched.h:26, > from include/linux/module.h:10, > from init/main.c:16: > include/asm/mpspec_def.h:78: warning: 'packed' attribute ignored for > field of type 'unsigned char[6]' > In file included from include/linux/blkdev.h:10, > from include/linux/ide.h:14, > from include/cluster/synch.h:35, > from include/linux/vproc.h:16, > from init/main.c:76: > include/linux/pagemap.h: In function 'fault_in_pages_readable': > include/linux/pagemap.h:236: warning: passing argument 1 of > 'ssi_rcopy_from_user' discards qualifiers from pointer target type > include/linux/pagemap.h:236: error: assignment of read-only variable '__gux_val' > include/linux/pagemap.h:242: warning: passing argument 1 of > 'ssi_rcopy_from_user' discards qualifiers from pointer target type > include/linux/pagemap.h:242: error: assignment of read-only variable '__gux_val' > make[1]: *** [init/main.o] Error 1 > make: *** [init] Error 2 > > I get this same fatal in the patched and unpatched source trees. > > Is this a toolchain problem? Are there known-good versions of things > I should be using to build this? Is building from source particularly > tricky? > > Yes, yes and yes. You need gcc-3.3 or gcc-3.4 > Also: > > Trying to check out CI from `cvs > -d:pserver:[email protected]:/cvsroot/ci-linux login`, the > (empty) password is rejected: > > scott@debian:~/ssi$ cvs > -d:pserver:[email protected]:/cvsroot/ci-linux login > Logging in to :pserver:[email protected]:2401/cvsroot/ci-linux > CVS password: > cvs login: authorization failed: server cvs.openssi.org rejected > access to /cvsroot/ci-linux for user anonymous > scott@debian:~/ssi$ > Using the command shown on the http://ci-linux.sourceforge.net/ page works for me: cvs -d:pserver:[email protected]:/cvsroot/ci-linux login (Sourceforge's CVS configuration is a never ending mystery. There are innumerable commands that look like they might work, but you have to give exactly the right one). ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first