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

Re: [MiNT] Kernel compiling error



On 09/06/2011 17:26, Miro Kropáček wrote:
> 
>     m68k-atari-mint-gcc -I../.. -D__KERNEL__ -DLANG_ENGLISH -DVERBOSE_BOOT
>     -DWITH_SINGLE_TASK_SUPPORT -DCRYPTO_CODE -DSOFT_UNITABLE -DBUILTIN_SHELL
>     -DM68030 -m68020-60 -Werror -mshort -O2 -pipe -fomit-frame-pointer -Wall
>     -Wmissing-prototypes -Wshadow -Wpointer-arith -Waggregate-return -c
>     ../mmu030.S -o mmu030.o
> 
> I was right (just tested it) -- look at the "-m68020-60" switch, this is
> no-no for 030-only instructions. But as Vincent has suggested, there's
> no point of having 020-60 optimizations, in theory, it's even worse for
> your 68030 than using plain -m68030.

But i have the 68882 fpu installed, is'nt this switch useful at all
(apart for the kernel)?

>     2. it has always worked, i've started to compile mint from cvs since
>     1-17 with this option active, using gcc 4.4.3 or 4.5.1 without any
> 
> And are you sure the the binutils were the same, too? Because the error
> comes from gnu as, not the gcc. 

Yes, same binutils 2.21 since Vincent released them (in february if i
remember well).
I've checked the cvs releases with the -D switch from  may 30 to  june
04 and the make error appear only after that release. So something is
changed in the sources. I'm just curious to know why the 020-60 switch
was working before and not now.

> In any way, this setting for 030 kernel
> is illegal.

And now that i know that, i'm back to standard kernel :)
Roberto