Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 40191
Product:  
Component:  
Status: UNCONFIRMED
Resolution:
Assigned To: Not yet assigned to anyone <unassigned@gcc.gnu.org>
Host:
Reported against  
Priority:  
Severity:  
Target Milestone:  
 
 
Target:
Reporter: Robert Millan <rmh.gcc@aybabtu.com>
Add CC:
CC:
Remove selected CCs
Build:
URL:
Summary:
Keywords:
Known to work:
Known to fail:

Attachment Description Type Created Size Actions
libgcc_mvars.diff patch patch 2009-05-18 20:45 297 bytes Edit | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 40191 depends on: Show dependency tree
Show dependency graph
Bug 40191 blocks:

Additional Comments:






Mark bug as waiting for feedback



    

    

View Bug Activity   |   Format For Printing   |   Clone This Bug


Description:   Last confirmed: Opened: 2009-05-18 20:42
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.

------- Comment #1 From Andrew Pinski 2009-05-18 20:43 -------
I don't know that many folks who build in the source directory :).

------- Comment #2 From Robert Millan 2009-05-18 20:45 -------
Created an attachment (id=17889) [edit]
patch

2009-05-18  Robert Millan <rmh.gcc@aybabtu.com>

* acx.m4: Fix ${host_subdir} initialization for libgcc.

------- Comment #3 From Robert Millan 2009-07-28 22:11 -------
ping

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug