Bug 29851 - Need to strip trailing slashes on include pathnames
Summary: Need to strip trailing slashes on include pathnames
Status: RESOLVED DUPLICATE of bug 22133
Alias: None
Product: gcc
Classification: Unclassified
Component: preprocessor (show other bugs)
Version: 4.3.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks: 29842
  Show dependency tree / graph
 
Reported: 2006-11-15 20:45 UTC by Jorn Wolfgang Rennecke
Modified: 2007-04-05 19:15 UTC (History)
5 users (show)

See Also:
Host: *mingw*
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2006-11-25 02:09:39


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jorn Wolfgang Rennecke 2006-11-15 20:45:38 UTC
The stat call on mingw fails when a trailing slash is included in the pathname.
Hence, trailing slashes need to be stripped from include directory pathnames,
lest gcc thinks these paths do not exist.

A patch is here:
http://gcc.gnu.org/ml/gcc-patches/2006-03/msg00598.html
Comment 1 Drea Pinski 2006-11-25 02:09:39 UTC
Confirmed.
Comment 2 Tom Tromey 2007-01-08 02:24:56 UTC
What is the status of this?
The patch looks reasonable to me (though I can't approve it)
but seems to have been dropped.
Comment 3 Eric Weddington 2007-04-02 17:41:14 UTC
Can someone please commit this patch? I need this for mingw-hosted cross toolchains.
Comment 4 Eric Weddington 2007-04-05 18:07:45 UTC
This is a duplicate of bug #22133.
Comment 5 Drea Pinski 2007-04-05 19:15:51 UTC

*** This bug has been marked as a duplicate of 22133 ***