Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71266 - linux-2.4.24-openmosix-r5 compile error on tty_io.c
Summary: linux-2.4.24-openmosix-r5 compile error on tty_io.c
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major
Assignee: Konstantin Arkhipov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-15 02:49 UTC by Peter Bienstman (RETIRED)
Modified: 2004-11-16 03:49 UTC (History)
1 user (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 Peter Bienstman (RETIRED) gentoo-dev 2004-11-15 02:49:02 UTC
Upgrading from linux-2.4.24-openmosix-r4 to linux-2.4.24-openmosix-r5 with an identical config file fails on this:

gcc -D__KERNEL__ -I/usr/src/linux-2.4.24-openmosix-r5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686   -nostdinc -iwithprefix include -DKBUILD_BASENAME=tty_io  -DEXPORT_SYMTAB -c tty_io.c
tty_io.c: In function `tty_set_ldisc':
tty_io.c:466: warning: unused variable `work'
tty_io.c:774:8: warning: "/*" within comment
tty_io.c: In function `do_tty_hangup':
tty_io.c:704: warning: unused variable `n'
tty_io.c:701: warning: `p' might be used uninitialized in this function
tty_io.c: At top level:
tty_io.c:785: error: syntax error before "do"
tty_io.c:809: error: syntax error before numeric constant
tty_io.c:809: warning: type defaults to `int' in declaration of `set_bit'
tty_io.c:809: warning: function declaration isn't a prototype
tty_io.c:809: error: conflicting types for `set_bit'
/usr/src/linux-2.4.24-openmosix-r5/include/asm/bitops.h:37: error: previous declaration of `set_bit'
tty_io.c:809: warning: data definition has no type or storage class
make[3]: *** [tty_io.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.24-openmosix-r5/drivers/char'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.24-openmosix-r5/drivers/char'
make[1]: *** [_subdir_char] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.24-openmosix-r5/drivers'
make: *** [_dir_drivers] Error 2

So, I guess the problem must have been caused by the recent security patches

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, uclibc-0.9.26-r7, 
2.4.24-openmosix-r4 i686) 
================================================================= 
System uname: 2.4.24-openmosix-r4 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz 
Gentoo Base System version 1.4.16 
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.14.90.0.8-r1 
Headers:  
sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1 
Libtools: sys-devel/libtool-1.5.2-r5 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium3 -O3 -funroll-loops -fprefetch-loop-arrays 
-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="-march=pentium3 -O3 -funroll-loops -fprefetch-loop-arrays 
-fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache distlocks sandbox sfperms" 
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ 
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo 
http://ftp.easynet.nl/mirror/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X aalib alsa apm arts atlas avi berkdb bitmap-fonts cdr crypt cups encode 
esd f77 fam flac foomaticdb fortran gdbm ggi gif gphoto2 gpm gtk gtk2 guile 
imagemagick imap imlib java jpeg junit kde ldap libg++ libwww mad mikmod mmx 
motif mpeg ncurses nls oggvorbis opengl oss pam pda pdflib perl pic plotutils 
png prelink python qt qtmt quicktime readline samba sdl slang smime snmp speex 
spell sse ssl svga tcltk tcpd tetex tiff truetype x86 xml xml2 xmms xv zlib"
Comment 1 Jeff Smelser 2004-11-15 08:15:11 UTC
I just got this too, on all 5 of my machines.
Comment 2 Konstantin Arkhipov (RETIRED) gentoo-dev 2004-11-16 03:49:06 UTC
fixed in .24-r7
thanks everyone.