public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/40191] New: fails to build a cross-compiler in-tree
@ 2009-05-18 20:42 rmh at gcc dot gnu dot org
2009-05-18 20:43 ` [Bug target/40191] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: rmh at gcc dot gnu dot org @ 2009-05-18 20:42 UTC (permalink / raw)
To: gcc-bugs
I found this when building a i586-mingw32 cross-compiler directly in srcdir.
Build fails with:
make[2]: Entering directory `/tmp/trunk/i586-mingw32msvc/libgcc'
Makefile:143: ../.././gcc/libgcc.mvars: No such file or directory
make[2]: *** No rule to make target `../.././gcc/libgcc.mvars'. Stop.
This happens because ${host_subdir} gets the wrong path (fallbacks to ".").
The check in acx.m4 doesn't take into account that ${host_noncanonical} changes
its meaning when we switched from gcc/ to libgcc/.
Patch attached.
--
Summary: fails to build a cross-compiler in-tree
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Keywords: build, patch
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rmh at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40191
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/40191] fails to build a cross-compiler in-tree
2009-05-18 20:42 [Bug c/40191] New: fails to build a cross-compiler in-tree rmh at gcc dot gnu dot org
@ 2009-05-18 20:43 ` pinskia at gcc dot gnu dot org
2009-05-18 20:45 ` rmh at gcc dot gnu dot org
2009-07-28 22:11 ` rmh at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-05-18 20:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2009-05-18 20:43 -------
I don't know that many folks who build in the source directory :).
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |target
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40191
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/40191] fails to build a cross-compiler in-tree
2009-05-18 20:42 [Bug c/40191] New: fails to build a cross-compiler in-tree rmh at gcc dot gnu dot org
2009-05-18 20:43 ` [Bug target/40191] " pinskia at gcc dot gnu dot org
@ 2009-05-18 20:45 ` rmh at gcc dot gnu dot org
2009-07-28 22:11 ` rmh at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: rmh at gcc dot gnu dot org @ 2009-05-18 20:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rmh at gcc dot gnu dot org 2009-05-18 20:45 -------
Created an attachment (id=17889)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17889&action=view)
patch
2009-05-18 Robert Millan <rmh.gcc@aybabtu.com>
* acx.m4: Fix ${host_subdir} initialization for libgcc.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40191
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/40191] fails to build a cross-compiler in-tree
2009-05-18 20:42 [Bug c/40191] New: fails to build a cross-compiler in-tree rmh at gcc dot gnu dot org
2009-05-18 20:43 ` [Bug target/40191] " pinskia at gcc dot gnu dot org
2009-05-18 20:45 ` rmh at gcc dot gnu dot org
@ 2009-07-28 22:11 ` rmh at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: rmh at gcc dot gnu dot org @ 2009-07-28 22:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rmh at gcc dot gnu dot org 2009-07-28 22:11 -------
ping
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40191
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-07-28 22:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-18 20:42 [Bug c/40191] New: fails to build a cross-compiler in-tree rmh at gcc dot gnu dot org
2009-05-18 20:43 ` [Bug target/40191] " pinskia at gcc dot gnu dot org
2009-05-18 20:45 ` rmh at gcc dot gnu dot org
2009-07-28 22:11 ` rmh 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).