This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/32212] New: Makefile:142: ../.././gcc/libgcc.mvars: No such file or directory

I want to build a gcc 4.3.0 fresh from svn for the fr30-elf target.
Binutils 2.17 are already installed in /usr/local/fr30-elf-new/.

In the gcc source directory I do:

  # ./configure --target=fr30-elf --prefix=/usr/local/fr30-elf-new/


  # make


The build fails with the following error message:

  Adding multilib support to Makefile in ../.././libgcc
  make[2]: Entering directory `/mnt/space/home/tk/gcc-svn/gcc/fr30-elf/libgcc'
  Makefile:142: ../.././gcc/libgcc.mvars: No such file or directory
  make[2]: *** No rule to make target `../.././gcc/libgcc.mvars'.  Stop.
  make[2]: Leaving directory `/mnt/space/home/tk/gcc-svn/gcc/fr30-elf/libgcc'
  make[1]: *** [all-target-libgcc] Error 2
  make[1]: Leaving directory `/mnt/space/home/tk/gcc-svn/gcc'
  make: *** [all] Error 2

In fr30-elf/libgcc/Makefile, line 142 reads:

  include $(gcc_objdir)/libgcc.mvars

and $(gcc_objdir) is defined in line 27 as

  gcc_objdir = $(MULTIBUILDTOP)../../$(host_subdir)/gcc

and $(host_subdir) is defined in line 24 as

  host_subdir = .

I found that in my build tree, the file libgcc.mvars is located in


So I changed line 24 of fr30-elf/libgcc/Makefile to

  host_subdir = host-i686-pc-linux-gnu

after that, I could build without problems.

I not familiar enough with autoconf and the gcc build system to hunt down that
bug, so I can't offer a patch for it.

Best regards,


           Summary: Makefile:142: ../.././gcc/libgcc.mvars: No such file or
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tk at maintech dot de
 GCC build triplet: host-i686-pc-linux-gnu
  GCC host triplet: host-i686-pc-linux-gnu
GCC target triplet: fr30-elf

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]