[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian Linux-m68k 2.4.26 kernel on Atari - report and patch

On Tue, Aug 03, 2004 at 02:32:52AM +0200, Petr Stehlik wrote:
> I hope this mail can help improving the kernel in time for Sarge
> release.

I am trying your patch with a cross-compiler to save some time.
Unfortunately my gcc-2.95 as an ICE, with gcc-3.4 I have to uncomment ide-cd
to prevent an ICE, but then it fails here:

m68k-linux-gcc -D__KERNEL__
 -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-O2 -fomit-frame-pointer -pipe -fno-strength-reduce
 -ffixed-a2   -nostdinc -iwithprefix include -DKBUILD_BASENAME=ataints  -c
-o ataints.o ataints.c
ataints.c:276:41: missing terminating " character
ataints.c: In function `atari_fast_prio_irq_dummy':
ataints.c:277: error: parse error before "orw"
ataints.c:277: error: syntax error at '#' token
ataints.c:278: error: stray '\' in program

/* Dummy function to allow asm with operands.  */
void atari_fast_prio_irq_dummy (void) {
__asm__ (__ALIGN_STR "\n"
SYMBOL_NAME_STR(atari_fast_irq_handler) ":
        orw     #0x700,%%sr             /* disable all interrupts */
"SYMBOL_NAME_STR(atari_prio_irq_handler) ":\t
        addql   #1,%2\n"                /* local_irq_count++ */
        SAVE_ALL_INT "\n"
        GET_CURRENT(%%d0) "
        /* get vector number from stack frame and convert to source */

Too many """ for me, is there one missing or does my compiler have a

BTW with Geert's gcc (2.95) it compiles...
get it from: http://auric.debian.org/~cts/atari/
and tell me if it works.


Reply to: