The magic that groks the multilib set in libada is unable to process the one for the m68k. Maybe someone who is configure/awk proficient can spot the issue. This works on other targets.
make -C ../.././gcc/ada "MAKEOVERRIDES=" "LDFLAGS=" "LN_S=ln -s" "SHELL=/bin/sh" "GNATLIBFLAGS=-W -Wall -gnatpg " "GNATLIBCFLAGS=-g -O2 " "TARGET_LIBGCC2_CFLAGS=" "THREAD_KIND=native" "TRACE=no" "MULTISUBDIR=" "libsubdir=/home/joel/test-gcc/install/lib/gcc/m68k-rtems4.10/4.4.0" "objext=.o" "prefix=/home/joel/test-gcc/install" "exeext=.exeext.should.not.be.used " 'CC=the.host.compiler.should.not.be.needed' "GCC_FOR_TARGET=/home/joel/test-gcc/b-gcc2-m68k/./gcc/xgcc -B/home/joel/test-gcc/b-gcc2-m68k/./gcc/ -nostdinc -B/home/joel/test-gcc/b-gcc2-m68k/m68k-rtems4.10/newlib/ -isystem /home/joel/test-gcc/b-gcc2-m68k/m68k-rtems4.10/newlib/targ-include -isystem /home/joel/test-gcc/gcc-svn/newlib/libc/include -B/home/joel/test-gcc/install/m68k-rtems4.10/bin/ -B/home/joel/test-gcc/install/m68k-rtems4.10/lib/ -isystem /home/joel/test-gcc/install/m68k-rtems4.10/include -isystem /home/joel/test-gcc/install/m68k-rtems4.10/sys-include" "CFLAGS=-B/home/joel/test-gcc/bsp-install/m68k-rtems4.10/mcf5206elite/lib/ -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes" gnatlib \ && touch stamp-libada make[3]: BEGIN { FS="[ \t]*[,()][ \t]*"; ORS=" " }; /^M68K_DEVICE/ { CPU=$3; FLAGS=$8; CPU_NAME=substr($2,2,length($2)-2); MLIB=substr($5,2,length($5)-2); if ( (CPU_NAME == MLIB) && (match(MLIB, "^68") || MLIB == "cpu32" || MLIB == "5206" || MLIB == "5208" || MLIB == "5307" || MLIB == "5407" || MLIB == "5475")) print "m"MLIB }: Command not found make[3]: Entering directory `/home/joel/test-gcc/b-gcc2-m68k/gcc/ada' make[3]: BEGIN { FS="[ \t]*[,()][ \t]*"; ORS=" " }; /^M68K_DEVICE/ { CPU=$3; FLAGS=$8; CPU_NAME=substr($2,2,length($2)-2); MLIB=substr($5,2,length($5)-2); if ( CPU == "") print MLIB }: Command not found -- Summary: libada parsing of multilib options Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: joel at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu GCC target triplet: m68k-rtems4.10 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39172