This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Avoid command line length limit building tools.zip (PR libgcj/38251)


Hello Rainer,

* Rainer Orth wrote on Wed, Jan 20, 2010 at 05:59:37PM CET:
> Ok for mainline now?  Tested as above, and it fixes a regression in GCC
> 4.4/4.5.

> 2010-01-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
> 
>         PR libgcj/38251
>         * tools/Makefile.am (dist-hook): Prune .svn directories in asm and
>         classes copies.
>         * tools/Makefile.in: Regenerate.

> --- 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.

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.

Cheers,
Ralf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]