http://sourceware.org/bugzilla/show_bug.cgi?id=12180
--- Comment #4 from Finn Thain <fthain at telegraphics dot com.au> 2010-11-03 00:23:14 UTC --- I was able to reproduce the libgfortran problem with a cross-compiler. It turns out that with gcc-4.5-20101021 (binutils-2.20.51.201024), the CPU32 build for libgfortran fails as well (I didn't try debian gcc 4.4 yet). libtool: compile: /Volumes/btc-0.12/build/gcc-m68k-linux-gnu-3/./gcc/xgcc -B/Volumes/btc-0.12/build/gcc-m68k-linux-gnu-3/./gcc/ -B/Volumes/btc-0.12/gcc-4/m68k-linux-gnu/bin/ -B/Volumes/btc-0.12/gcc-4/m68k-linux-gnu/lib/ -isystem /Volumes/btc-0.12/gcc-4/m68k-linux-gnu/include -isystem /Volumes/btc-0.12/gcc-4/m68k-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../../../../gcc-4.5-20101021/libgfortran -iquote../../../../gcc-4.5-20101021/libgfortran/io -I../../../../gcc-4.5-20101021/libgfortran/../gcc -I../../../../gcc-4.5-20101021/libgfortran/../gcc/config -I../../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -fcx-fortran-rules -ffunction-sections -fdata-sections -g -O2 -mcpu=fidoa -MT set_exponent_r4.lo -MD -MP -MF .deps/set_exponent_r4.Tpo -c ../../../../gcc-4.5-20101021/libgfortran/generated/set_exponent_r4.c -save-temps -v -fPIC -DPIC -o .libs/set_exponent_r4.o ../../../../gcc-4.5-20101021/libgfortran/generated/set_exponent_r4.c: In function 'set_exponent_r4': /Volumes/btc-0.12/gcc-4/m68k-linux-gnu/sysroot/usr/include/bits/mathinline.h:275:749: error: impossible constraint in 'asm' For CPU32, the solution is to add -m68881 to the compiler flags. However, that doesn't work for fido: libtool: compile: /Volumes/btc-0.12/build/gcc-m68k-linux-gnu-3/./gcc/xgcc -B/Volumes/btc-0.12/build/gcc-m68k-linux-gnu-3/./gcc/ -B/Volumes/btc-0.12/gcc-4/m68k-linux-gnu/bin/ -B/Volumes/btc-0.12/gcc-4/m68k-linux-gnu/lib/ -isystem /Volumes/btc-0.12/gcc-4/m68k-linux-gnu/include -isystem /Volumes/btc-0.12/gcc-4/m68k-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../../../../gcc-4.5-20101021/libgfortran -iquote../../../../gcc-4.5-20101021/libgfortran/io -I../../../../gcc-4.5-20101021/libgfortran/../gcc -I../../../../gcc-4.5-20101021/libgfortran/../gcc/config -I../../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -fcx-fortran-rules -ffunction-sections -fdata-sections -g -O2 -mcpu=fidoa -m68881 -MT set_exponent_r4.lo -MD -MP -MF .deps/set_exponent_r4.Tpo -c ../../../../gcc-4.5-20101021/libgfortran/generated/set_exponent_r4.c -fPIC -DPIC -o .libs/set_exponent_r4.o /tmp/cc16Y0PJ.s: Assembler messages: /tmp/cc16Y0PJ.s:22: Error: selected processor does not have all features of selected architecture /tmp/cc16Y0PJ.s:38: Error: invalid instruction for this architecture; needs M68K fpu (68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360]) -- statement `fscale.l 12(%fp),%fp0' ignored -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils