[Bug c/42557] New: gcc no compile for m68k(coff/elf)

miltoncsl at yahoo dot com gcc-bugzilla@gcc.gnu.org
Wed Dec 30 20:51:00 GMT 2009


I tried to compile gcc (4.4.1 and 4.4.2) for m68k-coff for Linux. I'm
using Ubuntu 9.10 AMD64. However, I get an error stating that gas is not
supported for the version of binutils (2.20) used:

...
Configuring in ./gas
configure: creating cache ./config.cache
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... m68k-unknown-coff
checking for x86_64-unknown-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for library containing strerror... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for x86_64-unknown-linux-gnu-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... ld
checking if the linker (ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 3458764513820540925
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for ld option to reload object files... -r
checking for x86_64-unknown-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-unknown-linux-gnu-ar... ar
checking for x86_64-unknown-linux-gnu-strip... no
checking for strip... strip
checking for x86_64-unknown-linux-gnu-ranlib... ranlib
checking command to parse nm output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (ld -m elf_x86_64) supports shared libraries...
yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
Setting warning flags = -W -Wall -Wstrict-prototypes -Wmissing-prototypes
-Werror
checking whether byte ordering is bigendian... no
This target is no longer supported in gas
make[1]: *** [configure-gas] Error 1
make[1]: Leaving directory `/home/miltoncsl/Documents/coldfire/binutils-2.20'
make: *** [all] Error 2
$

When compiling m68k-elf the process went
smoothly and I can install (m68k-elf-as, m68k-elf-ar, etc.). But this
time I can not compile gcc 4.4.1 or 4.4.2 (m68k-elf-gcc) because I
get an error stating problems with libgcc.mvars:

configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... no
checking for mawk... mawk
checking build system type... x86_64-unknown-linux-gnu
checking host system type... m68k-unknown-elf
checking for m68k-elf-ar... /usr/m68k-elf/bin/ar
checking for m68k-elf-lipo... m68k-elf-lipo
checking for m68k-elf-nm...
/home/miltoncsl/Documents/coldfire/gcc-4.4-4.4.1.orig/gcc-4.4.1/host-x86_64-unknown-linux-gnu/gcc/nm
checking for m68k-elf-ranlib... /usr/m68k-elf/bin/ranlib
checking for m68k-elf-strip... /usr/m68k-elf/bin/strip
checking whether ln -s works... yes
checking
for m68k-elf-gcc...
/home/miltoncsl/Documents/coldfire/gcc-4.4-4.4.1.orig/gcc-4.4.1/host-x86_64-unknown-linux-gnu/gcc/xgcc
-B/home/miltoncsl/Documents/coldfire/gcc-4.4-4.4.1.orig/gcc-4.4.1/host-x86_64-unknown-linux-gnu/gcc/
-B/usr/m68k-elf/bin/ -B/usr/m68k-elf/lib/ -isystem
/usr/m68k-elf/include -isystem /usr/m68k-elf/sys-include  -mcpu=fidoa
-msoft-float
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking
whether
/home/miltoncsl/Documents/coldfire/gcc-4.4-4.4.1.orig/gcc-4.4.1/host-x86_64-unknown-linux-gnu/gcc/xgcc
-B/home/miltoncsl/Documents/coldfire/gcc-4.4-4.4.1.orig/gcc-4.4.1/host-x86_64-unknown-linux-gnu/gcc/
-B/usr/m68k-elf/bin/ -B/usr/m68k-elf/lib/ -isystem
/usr/m68k-elf/include -isystem /usr/m68k-elf/sys-include  -mcpu=fidoa
-msoft-float accepts -g... yes
checking for
/home/miltoncsl/Documents/coldfire/gcc-4.4-4.4.1.orig/gcc-4.4.1/host-x86_64-unknown-linux-gnu/gcc/xgcc
-B/home/miltoncsl/Documents/coldfire/gcc-4.4-4.4.1.orig/gcc-4.4.1/host-x86_64-unknown-linux-gnu/gcc/
-B/usr/m68k-elf/bin/ -B/usr/m68k-elf/lib/ -isystem
/usr/m68k-elf/include -isystem /usr/m68k-elf/sys-include  -mcpu=fidoa
-msoft-float option to accept ANSI C... none needed
checking how to
run the C preprocessor...
/home/miltoncsl/Documents/coldfire/gcc-4.4-4.4.1.orig/gcc-4.4.1/host-x86_64-unknown-linux-gnu/gcc/xgcc
-B/home/miltoncsl/Documents/coldfire/gcc-4.4-4.4.1.orig/gcc-4.4.1/host-x86_64-unknown-linux-gnu/gcc/
-B/usr/m68k-elf/bin/ -B/usr/m68k-elf/lib/ -isystem
/usr/m68k-elf/include -isystem /usr/m68k-elf/sys-include  -mcpu=fidoa
-msoft-float -E
checking whether decimal floating point is supported... no
checking whether fixed-point is supported... no
checking for __attribute__((visibility("hidden")))... yes
checking whether the target assembler supports thread-local storage... yes
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: executing default commands
Adding multilib support to Makefile in ../../../.././libgcc
with_multisubdir=mfidoa/softfp
make[2]: Entering directory
`/home/miltoncsl/Documents/coldfire/gcc-4.4-4.4.1.orig/gcc-4.4.1/m68k-elf/libgcc'
Makefile:143: ../.././gcc/libgcc.mvars: No such file or directory
make[2]: *** No rule to make target `../.././gcc/libgcc.mvars'.  Stop.
make[2]: Leaving directory
`/home/miltoncsl/Documents/coldfire/gcc-4.4-4.4.1.orig/gcc-4.4.1/m68k-elf/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory
`/home/miltoncsl/Documents/coldfire/gcc-4.4-4.4.1.orig/gcc-4.4.1'
make: *** [all] Error 2

The fact of using a 64bit system would be impeding the progress of the process?
(googleTranslate)

Milton César Disegna de Souza Leite


-- 
           Summary: gcc no compile for m68k(coff/elf)
           Product: gcc
           Version: 4.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: miltoncsl at yahoo dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42557



More information about the Gcc-bugs mailing list