public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/32212] New: Makefile:142: ../.././gcc/libgcc.mvars: No such file or directory
@ 2007-06-04 23:33 tk at maintech dot de
2007-06-04 23:38 ` [Bug bootstrap/32212] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: tk at maintech dot de @ 2007-06-04 23:33 UTC (permalink / raw)
To: gcc-bugs
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
multidirs=
with_multisubdir=
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
host-i686-pc-linux-gnu/gcc/libgcc.mvars
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,
Thomas
--
Summary: Makefile:142: ../.././gcc/libgcc.mvars: No such file or
directory
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32212
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/32212] Makefile:142: ../.././gcc/libgcc.mvars: No such file or directory
2007-06-04 23:33 [Bug c/32212] New: Makefile:142: ../.././gcc/libgcc.mvars: No such file or directory tk at maintech dot de
@ 2007-06-04 23:38 ` pinskia at gcc dot gnu dot org
2007-06-05 0:06 ` tk at maintech dot de
2007-11-21 14:45 ` rask at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-04 23:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-04 23:37 -------
Building in the source directory is one of the least tested features of GCC,
you should try building in a different directory as recommended by
http://gcc.gnu.org/install .
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |bootstrap
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32212
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/32212] Makefile:142: ../.././gcc/libgcc.mvars: No such file or directory
2007-06-04 23:33 [Bug c/32212] New: Makefile:142: ../.././gcc/libgcc.mvars: No such file or directory tk at maintech dot de
2007-06-04 23:38 ` [Bug bootstrap/32212] " pinskia at gcc dot gnu dot org
@ 2007-06-05 0:06 ` tk at maintech dot de
2007-11-21 14:45 ` rask at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: tk at maintech dot de @ 2007-06-05 0:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from tk at maintech dot de 2007-06-05 00:06 -------
Ok, if I build outside the source tree, the problem doesn't appear.
I'm not sure if this is still a bug or not, so I'm leaving the ticket open.
Thanks for the hint!
--
tk at maintech dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32212
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/32212] Makefile:142: ../.././gcc/libgcc.mvars: No such file or directory
2007-06-04 23:33 [Bug c/32212] New: Makefile:142: ../.././gcc/libgcc.mvars: No such file or directory tk at maintech dot de
2007-06-04 23:38 ` [Bug bootstrap/32212] " pinskia at gcc dot gnu dot org
2007-06-05 0:06 ` tk at maintech dot de
@ 2007-11-21 14:45 ` rask at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: rask at gcc dot gnu dot org @ 2007-11-21 14:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rask at gcc dot gnu dot org 2007-11-21 14:44 -------
Strictly speaking, it is a bug that building in the source tree doesn't work,
but IIRC, the instructions on building GCC do mention that building in the
source tree doesn't work, and no fix seem likely any time soon.
--
rask at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WONTFIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32212
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-11-21 14:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-04 23:33 [Bug c/32212] New: Makefile:142: ../.././gcc/libgcc.mvars: No such file or directory tk at maintech dot de
2007-06-04 23:38 ` [Bug bootstrap/32212] " pinskia at gcc dot gnu dot org
2007-06-05 0:06 ` tk at maintech dot de
2007-11-21 14:45 ` rask at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).