This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -remap: Should we remap before / after simplification?
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Subject: Re: -remap: Should we remap before / after simplification?
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 15 Mar 2001 01:51:55 -0300
- Cc: gcc at gcc dot gnu dot org, Zack Weinberg <zackw at Stanford dot EDU>
- Organization: GCC Team, Red Hat
- References: <20010314074414.N4250@daikokuya.demon.co.uk>
On Mar 14, 2001, Neil Booth <neil@daikokuya.demon.co.uk> wrote:
> a/b/c/../d -> a/b/d
> internally. Now consider what happens in the case that "a/b/c" is a
> directory with header remappings.
Not only that: consider a GCC checked-out tree in which a few
top-level links have been created to a sibling `src' directory in
which binutils was checked out. Then, run .../gcc/configure and try
to bootstrap them together with some 2.96 or newer GCC.
bfd won't build, because it simplifies .../gcc/bfd/../include
.../gcc/include, but GCC's include directory doesn't contain bfd's
headers.
Before simplifying a pathname, we should at least verify that they
have the same inode and device numbers.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me