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

Re: [MiNT] Binutils 2.18 + GCC 4.2.3



MiKRO wrote:
- native binutils2.18 patch isn't included in 13.01.2008 patch (forgotten?) -- that means that getopt() check and BASH_LINENO in ld/genscripts and libiberty bugs as well (EOF issue)

Normal.
I included the native patches in tne version binutils-2.18-mint-20080119
http://vincent.riviere.free.fr/soft/m68k-atari-mint/history.php
The current binutils patch is binutils-2.18-mint-20080126

/root/gcc-4.2.3-atari/./binutils/ar rc ./libgcc.a libgcc/./_mulsi3.o libgcc/./_udivsi3.o libgcc/./_divsi3.o libgcc/./_umodsi3.o libgcc/./_modsi3.o libgcc/./_double.o libgcc/./_float.o libgcc/./_floatex.o libgcc/./_eqdf2.o libgcc/./_nedf2.o libgcc/./_gtdf2.o libgcc/./_gedf2.o libgcc/./_ltdf2.o libgcc/./_ledf2.o libgcc/./_eqsf2.o libgcc/./_nesf2.o libgcc/./_gtsf2.o libgcc/./_gesf2.o libgcc/./_ltsf2.o libgcc/./_lesf2.o libgcc/./_muldi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o libgcc/./_ashldi3.o libgcc/./_ashrdi3.o libgcc/./_cmpdi2.o libgcc/./_ucmpdi2.o libgcc/./_clear_cache.o libgcc/./_enable_execute_stack.o libgcc/./_trampoline.o libgcc/./__main.o libgcc/./_absvsi2.o libgcc/./_absvdi2.o libgcc/./_addvsi3.o libgcc/./_addvdi3.o libgcc/./_subvsi3.o libgcc/./_subvdi3.o libgcc/./_mulvsi3.o libgcc/./_mulvdi3.o libgcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_ctors.o libgcc/./_ffssi2.o libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_clzsi2.o libgcc/./_clzdi2.o libgcc/./_ctzsi2.o libgcc/./_ctzdi2.o libgcc/./_popcount_tab.o libgcc/./_popcountsi2.o libgcc/./_popcountdi2.o libgcc/./_paritysi2.o libgcc/./_paritydi2.o libgcc/./_powisf2.o libgcc/./_powidf2.o libgcc/./_powixf2.o libgcc/./_powitf2.o libgcc/./_mulsc3.o libgcc/./_muldc3.o libgcc/./_mulxc3.o libgcc/./_multc3.o libgcc/./_divsc3.o libgcc/./_divdc3.o libgcc/./_divxc3.o libgcc/./_divtc3.o libgcc/./_fixunssfsi.o libgcc/./_fixunsdfsi.o libgcc/./_fixunsxfsi.o libgcc/./_fixsfdi.o libgcc/./_fixunssfdi.o libgcc/./_floatdisf.o libgcc/./_floatundisf.o libgcc/./_fixdfdi.o libgcc/./_fixunsdfdi.o libgcc/./_floatdidf.o libgcc/./_floatundidf.o libgcc/./_fixxfdi.o libgcc/./_fixunsxfdi.o libgcc/./_floatdixf.o libgcc/./_floatundixf.o libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o libgcc/./_floatditf.o libgcc/./_floatunditf.o libgcc/./_eprintf.o libgcc/./__gcc_bcmp.o libgcc/./_divdi3.o libgcc/./_moddi3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o libgcc/./fpgnulib.o libgcc/./xfgnulib.o libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde.o libgcc/./unwind-sjlj.o libgcc/./gthr-gnat.o libgcc/./unwind-c.o

produces bus error on 'ar' and absolutely nothing helps

Maybe a buffer overflow somewhere ?
gdb my help...

/root/gcc-4.2.3-atari/./gcc/xgcc -B/root/gcc-4.2.3-atari/./gcc/ -B/usr/m68k-atari-mint/bin/ -B/usr/m68k-atari-mint/lib/ -isystem /usr/m68k-atari-mint/include -isystem /usr/m68k-atari-mint/sys-include -L/root/gcc-4.2.3-atari/./ld -O2 -O2 -O2 -m68060 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../gcc-4.2.3/gcc -I../../gcc-4.2.3/gcc/. -I../../gcc-4.2.3/gcc/../include -I../../gcc-4.2.3/gcc/../libcpp/include -I../../gcc-4.2.3/gcc/../libdecnumber -I../libdecnumber -m68020-60 -DL_mulsi3 -xassembler-with-cpp -c ../../gcc-4.2.3/gcc/config/m68k/lb1sf68.asm -o libgcc/m68020-60/_mulsi3.o
Assembler messages:
Error: already selected `68040' architecture
../../gcc-4.2.3/gcc/config/m68k/lb1sf68.asm:373: Error: selected processor does not have all features of selected architecture

Try that command line and add -v. You will see the exact command-line passed to as, and maybe the source of the problem.

Good luck.

--
Vincent Rivière