[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, 3 Aug 2004, Christian T. Steigies wrote:
> 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__
> -I/home/cts/debian/m68k/cross-compile/kernel-image-2.4.26-m68k-2.4.26/kernel-source-2.4.26/include
>  -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) ":

gcc 3.x doesn't like multi-line strings anymore. This was fixed in 2.6. No one
bothered to fix 2.4, though.

Is 2.4 safe to be compiled with gcc 3.x on other archs?

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds



Reply to: