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

Re: [MiNT] gcc-4.5.2-mint-20110128



Hi,

I found some time to play with that:

1) With -m68020-60, floats are returned into d0/d1, exactly as other configurations. I believe this was the case in ancient GCC versions, but GCC 2.95.3 was configured to return floats to fp0, as well as previous versions of GCC 4.x.
Could you tell us poor asm coders how we are supposed return double/extended precision numbers in d0/d1 then? I really hope it isn't something like:

fmove.d fp0,some_memory
move.l some_memory,d0
move.l some_memory+4,d1

Then, during compilation I've seen this:

gcc  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -DGENERATOR_FILE  -o build/genrecog \
            build/genrecog.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/errors.o ../build-x86_64-unknown-linux-gnu/libiberty/libiberty.a
build/genrecog ../../gcc-4.5.2/gcc/config/m68k/m68k.md \
          insn-conditions.md > tmp-recog.c
../../gcc-4.5.2/gcc/config/m68k/m68k.md:3748: warning: operand 1 missing mode?
../../gcc-4.5.2/gcc/config/m68k/m68k.md:3929: warning: operand 1 missing mode?
../../gcc-4.5.2/gcc/config/m68k/m68k.md:5934: warning: source missing a mode?
../../gcc-4.5.2/gcc/config/m68k/m68k.md:5943: warning: source missing a mode?
../../gcc-4.5.2/gcc/config/m68k/m68k.md:5952: warning: source missing a mode?
../../gcc-4.5.2/gcc/config/m68k/m68k.md:5962: warning: source missing a mode?
/bin/bash ../../gcc-4.5.2/gcc/../move-if-change tmp-recog.c insn-recog.c

I don't know how harmful it is.

And last thing / biggest problem, I'm unable to compile gcc under both Arch and Kubuntu:

checking if /home/mikro/atari/gnu/gcc-4.5.2-cross/./gcc/xgcc -B/home/mikro/atari/gnu/gcc-4.5.2-cross/./gcc/ -B/home/mikro/gnu-tools/m68k-atari-mint/bin/ -B/home/mikro/gnu-tools/m68k-atari-mint/lib/ -isystem /home/mikro/gnu-tools/m68k-atari-mint/include -isystem /home/mikro/gnu-tools/m68k-atari-mint/sys-include    supports -fno-rtti -fno-exceptions... no
checking for /home/mikro/atari/gnu/gcc-4.5.2-cross/./gcc/xgcc -B/home/mikro/atari/gnu/gcc-4.5.2-cross/./gcc/ -B/home/mikro/gnu-tools/m68k-atari-mint/bin/ -B/home/mikro/gnu-tools/m68k-atari-mint/lib/ -isystem /home/mikro/gnu-tools/m68k-atari-mint/include -isystem /home/mikro/gnu-tools/m68k-atari-mint/sys-include    option to produce PIC... -fPIC -DPIC
checking if /home/mikro/atari/gnu/gcc-4.5.2-cross/./gcc/xgcc -B/home/mikro/atari/gnu/gcc-4.5.2-cross/./gcc/ -B/home/mikro/gnu-tools/m68k-atari-mint/bin/ -B/home/mikro/gnu-tools/m68k-atari-mint/lib/ -isystem /home/mikro/gnu-tools/m68k-atari-mint/include -isystem /home/mikro/gnu-tools/m68k-atari-mint/sys-include    PIC flag -fPIC -DPIC works... no
checking if /home/mikro/atari/gnu/gcc-4.5.2-cross/./gcc/xgcc -B/home/mikro/atari/gnu/gcc-4.5.2-cross/./gcc/ -B/home/mikro/gnu-tools/m68k-atari-mint/bin/ -B/home/mikro/gnu-tools/m68k-atari-mint/lib/ -isystem /home/mikro/gnu-tools/m68k-atari-mint/include -isystem /home/mikro/gnu-tools/m68k-atari-mint/sys-include    static flag -static works... no
checking if /home/mikro/atari/gnu/gcc-4.5.2-cross/./gcc/xgcc -B/home/mikro/atari/gnu/gcc-4.5.2-cross/./gcc/ -B/home/mikro/gnu-tools/m68k-atari-mint/bin/ -B/home/mikro/gnu-tools/m68k-atari-mint/lib/ -isystem /home/mikro/gnu-tools/m68k-atari-mint/include -isystem /home/mikro/gnu-tools/m68k-atari-mint/sys-include    supports -c -o file.o... yes
checking if /home/mikro/atari/gnu/gcc-4.5.2-cross/./gcc/xgcc -B/home/mikro/atari/gnu/gcc-4.5.2-cross/./gcc/ -B/home/mikro/gnu-tools/m68k-atari-mint/bin/ -B/home/mikro/gnu-tools/m68k-atari-mint/lib/ -isystem /home/mikro/gnu-tools/m68k-atari-mint/include -isystem /home/mikro/gnu-tools/m68k-atari-mint/sys-include    supports -c -o file.o... (cached) yes
checking whether the /home/mikro/atari/gnu/gcc-4.5.2-cross/./gcc/xgcc -B/home/mikro/atari/gnu/gcc-4.5.2-cross/./gcc/ -B/home/mikro/gnu-tools/m68k-atari-mint/bin/ -B/home/mikro/gnu-tools/m68k-atari-mint/lib/ -isystem /home/mikro/gnu-tools/m68k-atari-mint/include -isystem /home/mikro/gnu-tools/m68k-atari-mint/sys-include    linker (/home/mikro/atari/gnu/gcc-4.5.2-cross/./gcc/collect-ld) supports shared libraries... no
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... unsupported
checking for shl_load... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
make[2]: *** [configure-target-libstdc++-v3] Error 1
make[2]: Leaving directory `/home/mikro/atari/gnu/gcc-4.5.2-cross'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/mikro/atari/gnu/gcc-4.5.2-cross'
make: *** [gcc] Error 2
mikro@mikro-desktop:~/atari/gnu$

xgcc is compiled just fine as you see (i.e. I'm able to compile both libc and libm, they are installed but still the same result). Did you change something crucial in your "scripts" ? Do I need to set something special?

--
MiKRO / Mystic Bytes
http://mikro.atari.org