Re: toplevel Makefile.tpl hacking

2005-11-03 Thread Paolo Bonzini
François-Xavier Coudert wrote: - with this patch, the libgfortran is built, but the gfortran testsuite doesn't run; why isn't $(RPATH_ENVVAR) including HOST_LIB_PATH for the testsuite? It should Well, it doesn't. The problem is that the gfortran testsuite is not run with the topl

Re: diffing directories with merged-as-deleted files?

2005-11-03 Thread Daniel Berlin
On Thu, 2005-11-03 at 20:29 -0500, Joern Rennecke wrote: > > What version of svn? > > The 1.3 release candidate. > > > What is the exact branch you are trying to diff?? > > I had checked out a copy of the sh-elf-4_1-branch, and used > svn merge to apply the patches from the last merge point to >

Re: diffing directories with merged-as-deleted files?

2005-11-03 Thread Joern Rennecke
> What version of svn? The 1.3 release candidate. > What is the exact branch you are trying to diff?? I had checked out a copy of the sh-elf-4_1-branch, and used svn merge to apply the patches from the last merge point to the current mainline. This merge deleted the .cvsignore file in my workin

Re: diffing directories with merged-as-deleted files?

2005-11-03 Thread amylaar
>> cvs would never do such nonsense. >Absolutely! It would just print all the directory names in the middle of the >diffs. I call that nonsense as well. But the directory names go to stderr. When you redirect stdout to a file, a diff without the directory names is written to that file, while yo

Re: svn diff branch woprking copy against mainline?

2005-11-03 Thread Branko Čibej
Kevin Puetz wrote: I'm replying to a thread off of gcc-devel, but as I think I may have just had a thought that hasn't already been chewed through. So, I'm shifting to subversion-devel. If I'm wrong and this is already debunked, just shoot me down... Branko Čibej wrote: Andreas Schwab wrote

Re: svn diff branch woprking copy against mainline?

2005-11-03 Thread Kevin Puetz
I'm replying to a thread off of gcc-devel, but as I think I may have just had a thought that hasn't already been chewed through. So, I'm shifting to subversion-devel. If I'm wrong and this is already debunked, just shoot me down... Branko Čibej wrote: > Andreas Schwab wrote: >> Branko Čibej <[EMA

Re: diffing directories with merged-as-deleted files?

2005-11-03 Thread Daniel Berlin
On Thu, 2005-11-03 at 19:13 -0500, Daniel Berlin wrote: > On Thu, 2005-11-03 at 12:03 -0800, Mike Stump wrote: > > On Nov 3, 2005, at 11:15 AM, Joern RENNECKE wrote: > > > bash-2.05b$ svn diff --old svn+ssh://[EMAIL PROTECTED]/svn/gcc/ > > > trunk/gcc --new gcc > > > > > /usr/bin/diff -up -F'^('

Re: diffing directories with merged-as-deleted files?

2005-11-03 Thread Daniel Berlin
On Thu, 2005-11-03 at 20:18 +, Joern RENNECKE wrote: > Daniel Jacobowitz wrote: > > > > > > >Whatever you want. It should probably either return success, or use -N. > > > > > I also get a failure when I comment out the diff-cmd line in my > ~/.subversion/config . > Does that mean that ev

Re: diffing directories with merged-as-deleted files?

2005-11-03 Thread Daniel Berlin
On Thu, 2005-11-03 at 12:03 -0800, Mike Stump wrote: > On Nov 3, 2005, at 11:15 AM, Joern RENNECKE wrote: > > bash-2.05b$ svn diff --old svn+ssh://[EMAIL PROTECTED]/svn/gcc/ > > trunk/gcc --new gcc > > > /usr/bin/diff -up -F'^(' -u -L gcc/.cvsignore (.../svn+ssh:// > > [EMAIL PROTECTED]/svn/gc

Re: diffing directories with merged-as-deleted files?

2005-11-03 Thread Daniel Berlin
On Thu, 2005-11-03 at 20:36 +, Joern RENNECKE wrote: > Daniel Jacobowitz wrote: > > > > > > >Whatever you want. It should probably either return success, or use -N. > > > > > > > P.S.: When I use a diff-cmd with -N, I not only get a diff for the 44 > files that are different, Don't use

Re: diffing directories with merged-as-deleted files?

2005-11-03 Thread Phil Edwards
On Fri, Nov 04, 2005 at 12:58:11AM +0100, Giovanni Bajo wrote: > Joern RENNECKE <[EMAIL PROTECTED]> wrote: > > > P.S.: When I use a diff-cmd with -N, I not only get a diff for the 44 > > files that are different, > > but also a header for each of the 752 files that are identical, i.e. > > two line

Re: diffing directories with merged-as-deleted files?

2005-11-03 Thread Giovanni Bajo
Joern RENNECKE <[EMAIL PROTECTED]> wrote: > P.S.: When I use a diff-cmd with -N, I not only get a diff for the 44 > files that are different, > but also a header for each of the 752 files that are identical, i.e. > two lines for each file like: > > Index: gcc/tree-ssa-operands.c >

Re: svn diff branch woprking copy against mainline?

2005-11-03 Thread Joern RENNECKE
Joern Rennecke wrote: but you should be able to name a branch/tag and thus imply a root directory for the location, in the current head revision unless modified with @rev-number (on the branch name) or -D. P.S.: instead of adding a -D option we could also a syntax of -r [EMAIL PROTECTED]

Re: svn repository incorrectly converted or corrupted

2005-11-03 Thread Daniel Berlin
On Thu, 2005-11-03 at 23:49 +, Joern RENNECKE wrote: > Daniel Berlin wrote: > > > > > > > > >Simply do a recopy of libjava from the approriate tag, and all will be > >well. > > > > > Do you have a list of potentially affected files? Anything on vendor imports from classpath. Unless you'

Re: svn repository incorrectly converted or corrupted

2005-11-03 Thread Joern RENNECKE
Daniel Berlin wrote: Simply do a recopy of libjava from the approriate tag, and all will be well. Do you have a list of potentially affected files?

Re: svn diff branch woprking copy against mainline?

2005-11-03 Thread Joern RENNECKE
Branko Čibej wrote: "--old" "--new" Hmm, that finds a lot more, although not specific to options. I've found one thread that seems slightly relevant, Diff syntax changes for issue #1093 . I get the impression that you

Re: svn url shortcuts

2005-11-03 Thread DJ Delorie
This is crude, but it lets you use "tag:foo/bar/grill" as a repository, and it replaces the "tag:foo" with a matching entry in ~/.svnrc like this: tag foo svn://gcc.gnu.org/svn/gcc/trunk/whatever So, with a .svnrc like this: tag trunk svn://gcc.gnu.org/svn/gcc/trunk tag 4.0 svn://gcc.gnu.org/sv

Re: svn repository incorrectly converted or corrupted

2005-11-03 Thread Daniel Berlin
On Thu, 2005-11-03 at 21:27 +, Joern RENNECKE wrote: > cvs version version 1.1.1.1.2.1 of > gcc/libjava/classpath/java/awt/im/InputContext.java , i.e. the > sh-elf-4_1-branch head, > is supposed to correspond to > svn+ssh://[EMAIL > PROTECTED]/svn/gcc/branches/sh-elf-4_1-branch/libjava/class

Re: svn diff branch woprking copy against mainline?

2005-11-03 Thread Branko Čibej
Andreas Schwab wrote: Branko Čibej <[EMAIL PROTECTED]> writes: Paolo Bonzini wrote: More formally, you can say that any file in the checkout is made of BASE/DIR/filename where BASE is the URL passed to the latest `svn co' or svn switch' command. The current SVN working copy phil

Re: svn diff branch woprking copy against mainline?

2005-11-03 Thread Andreas Schwab
Branko Čibej <[EMAIL PROTECTED]> writes: > Paolo Bonzini wrote: >> More formally, you can say that any file in the checkout is made of >> BASE/DIR/filename where BASE is the URL passed to the latest `svn co' or >> svn switch' command. > The current SVN working copy philosophy (the same as CVS's, b

Re: toplevel Makefile.tpl hacking

2005-11-03 Thread Andreas Schwab
François-Xavier Coudert <[EMAIL PROTECTED]> writes: > (after all, make check-gcc and make check-g++ > can be run from the toplevel makefile) The toplevel makefile only knows about check-gcc, which translates to "cd gcc; make check" (modulo variable passing). If you want to run only the g++ tests

Re: svn diff branch woprking copy against mainline?

2005-11-03 Thread Andreas Schwab
Joern RENNECKE <[EMAIL PROTECTED]> writes: > export > gcc_4_1_1_release='svn+ssh://[EMAIL PROTECTED]/svn/gcc/tags/gcc_4_1_1_release' Btw, if you put the following in your ~/.ssh/config: Host gcc.gnu.org User amylaar you don't have to specify the username in the svn URL (or any other ssh com

Re: svn diff branch woprking copy against mainline?

2005-11-03 Thread Branko Čibej
Joern RENNECKE wrote: Branko Čibej wrote: It certainly seems that --old and --new are redundant. I suggest a search in http://svn.haxx.se/dev/. What should we search for? I tried both of --old and --new, and both searches came up empty. Heh, that's Google search for you... Try

Re: svn diff branch woprking copy against mainline?

2005-11-03 Thread Branko Čibej
Paolo Bonzini wrote: More formally, you can say that any file in the checkout is made of BASE/DIR/filename where BASE is the URL passed to the latest `svn co' or `svn switch' command. The current SVN working copy philosophy (the same as CVS's, by the way) is that every working copy directory is

Re: toplevel Makefile.tpl hacking

2005-11-03 Thread François-Xavier Coudert
>> - with this patch, the libgfortran is built, but the gfortran >> testsuite doesn't run; why isn't $(RPATH_ENVVAR) including HOST_LIB_PATH >> for the testsuite? > > It should Well, it doesn't. The problem is that the gfortran testsuite is not run with the toplevel Makefile, but by going into t

Re: weird installation problem on i686-pc-linux-gnu

2005-11-03 Thread Martin Reinecke
On Thu, Nov 03, 2005 at 10:25:28AM -0800, James E Wilson wrote: > On Wed, 2005-11-02 at 02:35, Martin Reinecke wrote: > > Unfortunately I have no way of finding out more about the local "install", > > as it doesn't accept the --help flag: > > Did you check to see if it might be a shell script? If

Re: timezone of svn server for -r?

2005-11-03 Thread Andreas Schwab
Joern RENNECKE <[EMAIL PROTECTED]> writes: > What timezone does the svn server use when I specify time & date with -r? > With cvs that was never an issue because I appended UTC to the time, but svn > rejects that, so it seems I have to convert the time into whatever > timezone the server > happen

Re: weird installation problem on i686-pc-linux-gnu

2005-11-03 Thread James E Wilson
On Wed, 2005-11-02 at 02:35, Martin Reinecke wrote: > Unfortunately I have no way of finding out more about the local "install", > as it doesn't accept the --help flag: Did you check to see if it might be a shell script? If so, there might be comments in it. If it isn't a shell script, then runn

svn repository incorrectly converted or corrupted

2005-11-03 Thread Joern RENNECKE
cvs version version 1.1.1.1.2.1 of gcc/libjava/classpath/java/awt/im/InputContext.java , i.e. the sh-elf-4_1-branch head, is supposed to correspond to svn+ssh://[EMAIL PROTECTED]/svn/gcc/branches/sh-elf-4_1-branch/libjava/classpath/java/awt/im/[EMAIL PROTECTED] . However, every single line that

Re: diffing directories with merged-as-deleted files?

2005-11-03 Thread Joern RENNECKE
Daniel Jacobowitz wrote: Whatever you want. It should probably either return success, or use -N. P.S.: When I use a diff-cmd with -N, I not only get a diff for the 44 files that are different, but also a header for each of the 752 files that are identical, i.e. two lines for each file

Re: diffing directories with merged-as-deleted files?

2005-11-03 Thread Joern RENNECKE
Daniel Jacobowitz wrote: Whatever you want. It should probably either return success, or use -N. I also get a failure when I comment out the diff-cmd line in my ~/.subversion/config . Does that mean that every subversion configuration that doesn't configure a diff-cmd to deal with non-

Re: bug 24599

2005-11-03 Thread Doug Evans
It seems like there's a whole range of issues once boolean_true_node (or any such global tree node) has been clobbered. #include int main (int argc, char **argv) { if ((bool)((1527719483 + 1477819644))) { } return 0; } bool t1 = true; --- [EMAIL PROTECTED] gcc]$ ./xgcc -B./ -O3 -S foo2.

Re: diffing directories with merged-as-deleted files?

2005-11-03 Thread Daniel Jacobowitz
On Thu, Nov 03, 2005 at 08:08:27PM +, Joern RENNECKE wrote: > Daniel Jacobowitz wrote: > > >On Thu, Nov 03, 2005 at 07:15:22PM +, Joern RENNECKE wrote: > > > > > >>Index: gcc/.cvsignore > >>=== > >>/usr/bin/diff -up -F'^(' -u

Re: diffing directories with merged-as-deleted files?

2005-11-03 Thread Joern RENNECKE
Daniel Jacobowitz wrote: On Thu, Nov 03, 2005 at 07:15:22PM +, Joern RENNECKE wrote: Index: gcc/.cvsignore === /usr/bin/diff -up -F'^(' -u -L gcc/.cvsignore (.../svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk/gcc) (revision

Re: diffing directories with merged-as-deleted files?

2005-11-03 Thread Daniel Jacobowitz
On Thu, Nov 03, 2005 at 07:15:22PM +, Joern RENNECKE wrote: > Index: gcc/.cvsignore > === > /usr/bin/diff -up -F'^(' -u -L gcc/.cvsignore > (.../svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk/gcc) (revision 0) -L > gcc/.cvsignore

Re: diffing directories with merged-as-deleted files?

2005-11-03 Thread Mike Stump
On Nov 3, 2005, at 11:15 AM, Joern RENNECKE wrote: bash-2.05b$ svn diff --old svn+ssh://[EMAIL PROTECTED]/svn/gcc/ trunk/gcc --new gcc /usr/bin/diff -up -F'^(' -u -L gcc/.cvsignore (.../svn+ssh:// [EMAIL PROTECTED]/svn/gcc/trunk/gcc) (revision 0) -L gcc/.cvsignore (.../gcc) (revis

Re: svn diff branch woprking copy against mainline?

2005-11-03 Thread Daniel Berlin
[(I've copied this to [EMAIL PROTECTED], because there were questions about what users actually wanted)] On Thu, 2005-11-03 at 11:23 -0800, Mike Stump wrote: > On Nov 2, 2005, at 7:45 PM, Branko Čibej wrote: > > However, before coming up with a zillion suggestions about how to > > make the synta

Re: -Wuninitialized issues

2005-11-03 Thread David Taylor
> From: Jeffrey A Law <[EMAIL PROTECTED]> > Date: Wed, 02 Nov 2005 19:17:06 -0700 > > On Wed, 2005-11-02 at 20:44 -0500, Daniel Jacobowitz wrote: > > People who use -Wall -Werror are _already_ pissed off about > > -Wuninitialized. It virtually guarantees that your build will fail on > > a new re

Re: svn diff branch woprking copy against mainline?

2005-11-03 Thread Mike Stump
On Nov 2, 2005, at 7:45 PM, Branko Čibej wrote: However, before coming up with a zillion suggestions about how to make the syntax nicer, please do consider the idea that we did put a lot of thought into the diff syntax, and that covering all the uses and edge cases and is not easy. Any sys

diffing directories with merged-as-deleted files?

2005-11-03 Thread Joern RENNECKE
I've a working copy of a branch in which I merged changes from mainline - including the deletion of the .cvsignore files. When I try to diff a diretory, it errors out on the .cvsignore files. Is there an option not to diff files that don't exist? bash-2.05b$ svn diff --old svn+ssh://[EMAIL

timezone of svn server for -r?

2005-11-03 Thread Joern RENNECKE
What timezone does the svn server use when I specify time & date with -r? With cvs that was never an issue because I appended UTC to the time, but svn rejects that, so it seems I have to convert the time into whatever timezone the server happens to use.

GCC mainline now open for bug fixes under normal Stage 3 rules

2005-11-03 Thread Mark Mitchell
There are now 99 serious regressions against GCC 4.1. >From now until November 18th, the GCC mainline will be open for bug fixes under the usual Stage 3 rules, rather than the more restrictive rules we've been operating under recently. On November 18th, I plan to make the branch and open Stage 1

Re: bug 24599

2005-11-03 Thread Doug Evans
A question for the general group. Is it really the case that it's ok that a testcase clobbers boolean_true_node and sets overflow? (and is this one case of a more general problem?) If that's not unintended, ok, but it seems confusing (aka source of bugs). Or, which is certainly not unexpected, is

Re: interesting anecdote on gcc speed

2005-11-03 Thread Karel Gardas
True! The same applies also to GNU C++ and MICO as a testing base. In fact every compiler from the 3.2, 3.3, 3.4, 4.0 set is faster than previous line. Well, 4.0.x is really fast! Only Intel's C++ and Sun's C++ are faster (comparison made on linux and on solaris) when optimization is switche

interesting anecdote on gcc speed

2005-11-03 Thread Joe Buck
Many of us worry about the compiler getting slower over time, so I was pleased to see a bit of good news from Planet Debian. Norbert Tretkowski reports on his blog at http://www.inittab.de/blog/2005/11/03#20051103_gcc33vs40 : > Comparing gcc 3.3 and 4.0 > Kernel 2.6.14 builds fine with gcc 4.0

[gfortran] Problem parsing hexadecimal constants?

2005-11-03 Thread Ioannis E. Venetis
Dear all, Firstly, let me say that I don't know that much about Fortran, but I use a source-code transformation tool that creates Fortran 77 code, which I feed to gfortran. During this last stage, gfortran seems to have some problems to parse hexadecimal constants. I managed to reduce the pr

Re: Howto Cross Compile GCC to run on PPC Platform

2005-11-03 Thread Kai Ruottu
Jeff Stevens wrote: I am creating the target tree on my host, so that I can later transfer it to a USB storage device. I was going to manually move everything, but only saw one binary, xgcc. Is that all, or aren't there some other utilities that go along with it? The 'cpp', 'cc1*', 'collect2

cross newlib builds on svn head

2005-11-03 Thread Joel Sherrill <[EMAIL PROTECTED]>
Hi, I have been trying to build sparc-rtems4.7 on the head using newlib's head for a few days now. I have finally narrowed the behavior down. If I configure for sparc I am configuring for sparc-rtems4.7 with c and c++, it builds fine. The build process uses xgcc for newlib as one would ex

Re: svn diff branch woprking copy against mainline?

2005-11-03 Thread Joern RENNECKE
Branko Čibej wrote: It certainly seems that --old and --new are redundant. I suggest a search in http://svn.haxx.se/dev/. What should we search for? I tried both of --old and --new, and both searches came up empty. Also, you could consider stealing some ideas from Perforce, where

Re: Howto Cross Compile GCC to run on PPC Platform

2005-11-03 Thread Jeff Stevens
I am creating the target tree on my host, so that I can later transfer it to a USB storage device. I was going to manually move everything, but only saw one binary, xgcc. Is that all, or aren't there some other utilities that go along with it? I just didn't know exactly what to copy and where to

Re: Howto Cross Compile GCC to run on PPC Platform

2005-11-03 Thread Kai Ruottu
Jeff Stevens wrote: .../gcc-3.4.4/configure --build=`../gcc-3.4.4/config.guess` --target=powerpc-linux --host=powerpc-linux --prefix=${PREFIX} --enable-languages=c and then a make all. The make went fine, and completed without any errors. However, when I ran 'make install' I got the following

Re: Howto Cross Compile GCC to run on PPC Platform

2005-11-03 Thread Jeff Stevens
I am using the AMCC 440SP processor. I went and bought "Building Embedded Linux Systems" by Karim Yaghmour. It seems to be a pretty complete book, and I have gotten the cross-compiler completely installed, but it doesn't get into installing a native compiler. However, I tried cross compiling gcc

Re: Patch reviews for 4.1

2005-11-03 Thread Paolo Bonzini
Middle-End -- >> >> [snip approvals] This only leaves out the two patches for 23948 and 24365, which are both showstoppers; plus 24408, whose audit trail says it's rather hard to fix it in 4.1. Paolo

Re: toplevel Makefile.tpl hacking

2005-11-03 Thread Paolo Bonzini
- I should add a GMPLBISDIR variable in the configure.in to store the paths to the libraries as a colon-separated list of absolute paths - the GMPLIBSDIR should be added to the HOST_LIB_PATH Yes. - then, i don't really know how this should come into HOST_LIB_PATH; perhaps by way of HOST

RE: Patch reviews for 4.1

2005-11-03 Thread Dave Korn
Mark Mitchell wrote: > This rather horrid URL: > > http://gcc.gnu.org/bugzilla/buglist.cgi?query_format=advanced&short_desc_type= allwordssubstr&short_desc=4.1&target_milestone=4.0.3&target_milestone=4.1.0&kn own_to_fail_type=allwordssubstr&known_to_work_type=allwordssubstr&long_desc_ty pe=allword

toplevel Makefile.tpl hacking

2005-11-03 Thread FX Coudert
I've been working on PR libfortran/21547: f951 is linked with libgmp, but when this library is shared and located in a non-standard path, building with ./configure --with-gmp=/foo/bar fails because the correct $(RPATH_ENVVAR) is not set when building the libgfortran. The conclusions I draw afte

Re: svn diff branch woprking copy against mainline?

2005-11-03 Thread Paolo Bonzini
Branko Čibej wrote: Joe Buck wrote: On Wed, Nov 02, 2005 at 06:28:42PM -0500, Daniel Berlin wrote: On Wed, 2005-11-02 at 14:33 -0800, Mike Stump wrote: On Nov 2, 2005, at 2:18 PM, Joern RENNECKE wrote: I tried: bash-2.05b$ svn diff Makefile.in svn+ssh://[EMAIL PROTECTED]/svn/

Re: Patch reviews for 4.1

2005-11-03 Thread Ian Lance Taylor
Mark Mitchell <[EMAIL PROTECTED]> writes: > Middle-End > -- > 23109 > 23948 These are the same patch, and it's too complicated for me. > 24365 Looks plausible but I don't understand the code well enough. > 24483 Approved. > 24589 Approved. > 23155 Approved. > 24408 The followup