public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/52122] New: [4.6.x/4.7] incorrect ln -s replacement for mingw like targets in configure files
@ 2012-02-04 13:24 daniel.f.starke at freenet dot de
  2012-04-05 10:57 ` [Bug target/52122] [4.6/4.7/4.8 Regression] " rguenth at gcc dot gnu.org
                   ` (38 more replies)
  0 siblings, 39 replies; 40+ messages in thread
From: daniel.f.starke at freenet dot de @ 2012-02-04 13:24 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52122

             Bug #: 52122
           Summary: [4.6.x/4.7] incorrect ln -s replacement for mingw like
                    targets in configure files
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: daniel.f.starke@freenet.de


Taking the current gcc 4.7 trunk revision 183875 (and even older versions like
4.6.x) as well as the libraries used the configure files are set to use "cp -p"
as replacement for "ln -s" for mingw targets. This is correct for files but not
for directories especially when contianing sub directories. My proposal is to
replace it with "cp -pr" to handle recursion. As a result of the current
problem ada fails bootstrapping on mingw while trying to copy a folder of
header files.

Extract from gcc/configure:
472    as_ln_s='ln -s'
473    # ... but there are two gotchas:
474    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476    # In both cases, we have to default to `cp -p'.
477    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
478      as_ln_s='cp -p'

I hope this is the right place for this issue as I am not certain how the
configure system is handled.


^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2013-05-13 20:09 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-04 13:24 [Bug target/52122] New: [4.6.x/4.7] incorrect ln -s replacement for mingw like targets in configure files daniel.f.starke at freenet dot de
2012-04-05 10:57 ` [Bug target/52122] [4.6/4.7/4.8 Regression] " rguenth at gcc dot gnu.org
2012-04-05 16:14 ` daniel.f.starke at freenet dot de
2012-04-26 14:06 ` rguenth at gcc dot gnu.org
2012-04-26 18:07 ` daniel.f.starke at freenet dot de
2012-04-26 18:08 ` daniel.f.starke at freenet dot de
2012-05-29 14:12 ` rguenth at gcc dot gnu.org
2012-08-08 21:10 ` tim.vanholder at anubex dot com
2012-09-22 16:00 ` daniel.f.starke at freenet dot de
2012-09-23  5:56 ` andris.pavenis at iki dot fi
2012-09-24 16:56 ` daniel.f.starke at freenet dot de
2012-09-24 16:58 ` daniel.f.starke at freenet dot de
2013-01-16  9:09 ` jakub at gcc dot gnu.org
2013-01-16  9:52 ` ktietz at gcc dot gnu.org
2013-02-08 17:28 ` karlson2k at gmail dot com
2013-02-09 15:03 ` karlson2k at gmail dot com
2013-02-12 15:33 ` ktietz at gcc dot gnu.org
2013-02-12 15:37 ` ktietz at gcc dot gnu.org
2013-02-12 15:39 ` ktietz at gcc dot gnu.org
2013-02-12 15:44 ` ktietz at gcc dot gnu.org
2013-02-12 17:51 ` dominiq at lps dot ens.fr
2013-02-12 18:03 ` ktietz at gcc dot gnu.org
2013-02-12 18:05 ` ktietz at gcc dot gnu.org
2013-02-12 18:07 ` dominiq at lps dot ens.fr
2013-02-12 18:11 ` k2k at narod dot ru
2013-02-12 18:42 ` jakub at gcc dot gnu.org
2013-02-12 19:15 ` dominiq at lps dot ens.fr
2013-02-12 19:49 ` jakub at gcc dot gnu.org
2013-02-12 20:17 ` dominiq at lps dot ens.fr
2013-02-13  9:53 ` vries at gcc dot gnu.org
2013-02-13 10:04 ` ktietz at gcc dot gnu.org
2013-02-13 10:06 ` vries at gcc dot gnu.org
2013-02-13 10:09 ` jakub at gcc dot gnu.org
2013-02-13 10:20 ` ktietz at gcc dot gnu.org
2013-02-13 10:21 ` ktietz at gcc dot gnu.org
2013-02-13 10:22 ` ktietz at gcc dot gnu.org
2013-02-13 10:25 ` vries at gcc dot gnu.org
2013-02-14  4:26 ` andris.pavenis at iki dot fi
2013-04-12 15:18 ` [Bug target/52122] [4.7/4.8/4.9 " jakub at gcc dot gnu.org
2013-05-13 20:09 ` ktietz at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).