This is GCC Bugzilla
This is GCC Bugzilla Version 2.20+
View Bug Activity | Format For Printing | Clone This Bug
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.
I don't know that many folks who build in the source directory :).
Created an attachment (id=17889) [edit] patch 2009-05-18 Robert Millan <rmh.gcc@aybabtu.com> * acx.m4: Fix ${host_subdir} initialization for libgcc.
ping