public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andrew Haley <aph@redhat.com>
To: java-patches@gcc.gnu.org
Subject: Re: PATCH: Avoid command line length limit building tools.zip (PR  libgcj/38251)
Date: Tue, 02 Mar 2010 11:10:00 -0000	[thread overview]
Message-ID: <4B8CF20B.9010205@redhat.com> (raw)
In-Reply-To: <yddy6ibm18l.fsf@manam.CeBiTec.Uni-Bielefeld.DE>

On 03/02/2010 11:06 AM, Rainer Orth wrote:
> Hi Ralf,
> 
>>> --- a/libjava/classpath/tools/Makefile.am       Mon Jan 11 04:28:36 2010 +0000
>>> +++ b/libjava/classpath/tools/Makefile.am       Wed Jan 20 17:49:17 2010 +0100
>>> @@ -373,6 +373,9 @@
>>>  ## BEGIN GCJ LOCAL
>>>         cp -pR $(srcdir)/asm .
>>>         cp -pR $(srcdir)/classes .
>>> +       if [ -d asm/.svn ]; then \
>>> +         find asm classes -depth -type d -name .svn -exec rm -rf \{\} \;; \
>>> +       fi
>>>  ## END GCJ LOCAL
>>
>> FWIW, this has the potential to corrupt a SVN source tree iff the build
>> tree and the source trees happen to coincide.
> 
> right, that occured to me some time ago.
> 
>> I have to admit that I haven't tested building GCC in-tree for a few
>> months now, but after fixing a couple of nasty bugs in this area around
>> 09/2009, it used to work well for me.  Don't remember if I built java
>> for those tests, but I usually do.
> 
> I've no idea if any developer does in-tree builds anymore.  If so, I'm
> not sure even the cp -pR part is guaranteed to work.  And end-users who
> do are probably building from a tarball and don't care about a SVN
> checkout anyway.
> 
> Thoughts?

Either  a) don't do this, or b) issue an error if a user tries
to configure in-tree.

Andrew.

  reply	other threads:[~2010-03-02 11:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-15 12:48 Rainer Orth
2010-01-20 16:59 ` Rainer Orth
2010-03-01 19:10   ` Ralf Wildenhues
2010-03-02 11:06     ` Rainer Orth
2010-03-02 11:10       ` Andrew Haley [this message]
2010-03-02 20:08       ` Ralf Wildenhues
2010-03-04 17:22         ` Rainer Orth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B8CF20B.9010205@redhat.com \
    --to=aph@redhat.com \
    --cc=java-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).