On Thu, 2003-09-18 at 20:11, Fred Clausen wrote:
> >
> >>Hey all -
> >>
> >>I am having a couple of issues with things that I am trying to compile 
> >>and I am at a wits end trying to figure out what to do.
> >>
> >>All of these issues revolve around nmemonics.  If I try to compile any 
> >>2.4.xx kernel, I get an error, in random places, about an invalid 
> >>nmemonic ';'.  Sometimes the error happens in the same place.  This 
> >>happens with the kernels I have mentioned, and several other packages.  
> >>Sometimes I can fix the problem sometimes by re-emerging the package.  I 
> >>don't know what this means.  I think it could be my RAM, however after 
> >>running a RAM tester program(memtest), I don't get any errors with my 
> >>RAM.  Any thoughts? Here is a copy of the error I get when I try and 
> >>compile the kernel(one of them at least):
> >>
> >>gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-gaming-r5/include  -Wall 
> >>-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
> >>-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 
> >>-fno-optimize-sibling-calls  -D_LINUX 
> >>-I/usr/src/linux-2.4.20-gaming-r5/drivers/acpi/include -nostdinc 
> >>-iwithprefix include -DKBUILD_BASENAME=evevent  -c -o evevent.o evevent.c
> >>{standard input}: Assembler messages:
> >>{standard input}:287: Error: invalid character ';' in mnemonic
> >>make[4]: *** [evevent.o] Error 1
> >>make[4]: Leaving directory 
> >>`/usr/src/linux-2.4.20-gaming-r5/drivers/acpi/events'
> >>make[3]: *** [first_rule] Error 2
> >>make[3]: Leaving directory 
> >>`/usr/src/linux-2.4.20-gaming-r5/drivers/acpi/events'
> >>make[2]: *** [_subdir_events] Error 2
> >>make[2]: Leaving directory `/usr/src/linux-2.4.20-gaming-r5/drivers/acpi'
> >>make[1]: *** [_subdir_acpi] Error 2
> >>make[1]: Leaving directory `/usr/src/linux-2.4.20-gaming-r5/drivers'
> >>make: *** [_dir_drivers] Error 2
> >
> The output from emerge info:
> 
> [EMAIL PROTECTED]: pts/3: 20 files 564Kb -> emerge info
> Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 
> 2.4.20-gentoo-r6)
> =================================================================
> System uname: 2.4.20-gentoo-r6 i686 AMD Athlon(tm) XP 2000+
> ACCEPT_KEYWORDS="x86"
> AUTOCLEAN="yes"
> CFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe"
> CHOST="i686-pc-linux-gnu"
> COMPILER="gcc3"
> CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
> /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
> /usr/share/config"
> CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
> CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="sandbox ccache autoaddcvs"
> GENTOO_MIRRORS="http://gentoo.oregonstate.edu
> http://distro.ibiblio.org/pub/Linux/distributions/gentoo";
> MAKEOPTS="-j2"
> PKGDIR="/usr/portage/packages"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> PORTDIR_OVERLAY=""
> SYNC="rsync://rsync.gentoo.org/gentoo-portage"
> USE="x86 oss apm avi crypt encode foomaticdb gif gpm jpeg gnome libg++ 
> mad mikmod mmx ncurses nls pdflib quicktime spell xml2 xmms xv zlib gdbm 
> berkdb slang readline arts svga tcltk sdl tcpd pam libwww ssl python esd 
> imlib oggvorbis qt motif opengl cdr X gtk kde alsa mozilla png mpeg java 
> perl pda -cups xinerama truetype flash dga"
> 
> Fred Clausen

I doubt this matters, but emerge info at the top says 2.4.20-gentoo-r6
while you are working on the gaming kernel. That's a bit strange, but
probably not a problem.

I had trouble with the gcc3.3 stuff. One of the main problems was it
gets more strict about bits of code. I turned in two that made it into
-r7 I think. Maybe you found another?

Also, since it seems to be an assembler error, maybe you want to look at
your compile flags? I run an Athlon XP also, but I don't use these two
options:

-funroll-loops -fprefetch-loop-arrays

I checked Bugzilla but didn't see anything...

- Mark


--
[EMAIL PROTECTED] mailing list

Reply via email to