g++.dg/pch/pch.exp and gcc.dg/pch/pch.exp use "file copy" to copy files. But it doesn't work well with relative symlinks since "file copy" will just copy symlinks, which is usually incorrect for relative symlinks.
Created attachment 4046 [details] A patch to correctly copy symlinks
Could you send your patch to gcc-patches@gcc.gnu.org as reviewers do not always read bugs for patches?
See http://gcc.gnu.org/ml/gcc-patches/2003-04/msg01984.html I suggest assign this bug to mrs@apple.com or geoffk@apple.com.
I assigned it to geoffk@gcc.gnu.org aka geoffk@apple.com.
Created attachment 4176 [details] An updated patch This one works with Mark's changes.
Patch checked in: <http://gcc.gnu.org/ml/gcc-cvs/2003-06/msg00302.html>