public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* tree-ssa branch: Fortran libraries don't build
@ 2003-05-05 21:12 Joe Buck
  2003-05-07 17:47 ` Diego Novillo
  0 siblings, 1 reply; 16+ messages in thread
From: Joe Buck @ 2003-05-05 21:12 UTC (permalink / raw)
  To: gcc

When trying to bootstrap the tree-ssa branch on a Red Hat 7.2 i686 system,
the build of libI77 fails in the configure step.  The top-level configure
line is

/u/jbuck/gnu/src/cvs/tree-ssa/gcc/configure \
    --prefix /usr/localdisk/gcc-cvs/tree-ssa \
    --with-as=/usr/localdisk/binutils-2.13.1/bin/as \
    --with-ld=/usr/localdisk/binutils-2.13.1/bin/ld \
    --enable-languages=c,c++,objc,f77

However, when the build (from make bootstrap-lean) attempts to configure
in libI77, we get

configuring in libI77
running /bin/sh /u/jbuck/gnu/src/cvs/tree-ssa/gcc/libf2c/libI77/configure  --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --enable-multilib --prefix --with-as=/usr/localdisk/binutils-2.13.1/bin/as --with-ld=/usr/localdisk/binutils-2.13.1/bin/ld --enable-languages=c,c++,objc,f77 --with-gcc-version-trigger=/u/jbuck/gnu/src/cvs/tree-ssa/gcc/gcc/version.c --with-libbanshee --with-target-subdir=i686-pc-linux-gnu --cache-file=../../config.cache --srcdir=/u/jbuck/gnu/src/cvs/tree-ssa/gcc/libf2c/libI77
configure: error: expected an absolute directory name for --prefix: --with-as=/usr/localdisk/binutils-2.13.1/bin/as

Notice that the value of the prefix option has been dropped, so the
--with-as switch is assumed to be the value of the prefix option.
This problem does not happen on the trunk or on the 3.3 branch (for
the identical configure line).

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

* Re: tree-ssa branch: Fortran libraries don't build
  2003-05-05 21:12 tree-ssa branch: Fortran libraries don't build Joe Buck
@ 2003-05-07 17:47 ` Diego Novillo
  2003-05-08  0:57   ` Joe Buck
  0 siblings, 1 reply; 16+ messages in thread
From: Diego Novillo @ 2003-05-07 17:47 UTC (permalink / raw)
  To: Joe Buck; +Cc: gcc

On Mon, 2003-05-05 at 17:12, Joe Buck wrote:
> When trying to bootstrap the tree-ssa branch on a Red Hat 7.2 i686 system,
> the build of libI77 fails in the configure step.  The top-level configure
> line is
> 
> /u/jbuck/gnu/src/cvs/tree-ssa/gcc/configure \
>     --prefix /usr/localdisk/gcc-cvs/tree-ssa \
>     --with-as=/usr/localdisk/binutils-2.13.1/bin/as \
>     --with-ld=/usr/localdisk/binutils-2.13.1/bin/ld \
>     --enable-languages=c,c++,objc,f77
> 
Joe,

I just tried this after the latest merge and I can't reproduce the
failure.  We don't have any changes in libI77, so this may have been
fixed by the merge.  Could you try it again after updating your local
tree?


Thanks.  Diego.

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

* Re: tree-ssa branch: Fortran libraries don't build
  2003-05-07 17:47 ` Diego Novillo
@ 2003-05-08  0:57   ` Joe Buck
  2003-05-08 13:23     ` Diego Novillo
  0 siblings, 1 reply; 16+ messages in thread
From: Joe Buck @ 2003-05-08  0:57 UTC (permalink / raw)
  To: Diego Novillo; +Cc: gcc

On Wed, May 07, 2003 at 01:46:56PM -0400, Diego Novillo wrote:
> I just tried this after the latest merge and I can't reproduce the
> failure.  We don't have any changes in libI77, so this may have been
> fixed by the merge.  Could you try it again after updating your local
> tree?

I have a successful build now (the bug was probably in the makefile one
level up, but I'm not sure).

Test results are at 

http://gcc.gnu.org/ml/gcc-testresults/2003-05/msg00454.html

for C, C++, ObjC and Fortran.

There are more failures than for the trunk, but not vastly more.

By the way, the version isn't updated every day as it is on other branches
(so the title of the gcc-testresults mail says 20030504, not 0507).
Should this be fixed?  It makes the web archive of the list harder to
read (as all test results get put in the same thread).

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

* Re: tree-ssa branch: Fortran libraries don't build
  2003-05-08  0:57   ` Joe Buck
@ 2003-05-08 13:23     ` Diego Novillo
  2003-05-08 13:28       ` Andrew Pinski
                         ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Diego Novillo @ 2003-05-08 13:23 UTC (permalink / raw)
  To: Joe Buck; +Cc: gcc

On Wed, 2003-05-07 at 20:57, Joe Buck wrote:

> I have a successful build now (the bug was probably in the makefile one
> level up, but I'm not sure).
> 
Good.  Thanks.

> By the way, the version isn't updated every day as it is on other branches
> (so the title of the gcc-testresults mail says 20030504, not 0507).
> Should this be fixed?  It makes the web archive of the list harder to
> read (as all test results get put in the same thread).
>
I manually update the version every time I merge with mainline.  Is
there any script that will the daily update automatically?  Or do people
just commit new changes to version.c every day?


Diego.

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

* Re: tree-ssa branch: Fortran libraries don't build
  2003-05-08 13:23     ` Diego Novillo
@ 2003-05-08 13:28       ` Andrew Pinski
  2003-05-08 13:30       ` Andreas Jaeger
  2003-05-08 13:40       ` Gerald Pfeifer
  2 siblings, 0 replies; 16+ messages in thread
From: Andrew Pinski @ 2003-05-08 13:28 UTC (permalink / raw)
  To: Diego Novillo; +Cc: Andrew Pinski, Joe Buck, gcc

Look at maintainer-scripts/update_version.
I think the only thing you need to do is to add the tree-ssa branch 
name to `BRANCHES'.


Thanks,
Andrew Pinski

On Thursday, May 8, 2003, at 09:23 US/Eastern, Diego Novillo wrote:

> On Wed, 2003-05-07 at 20:57, Joe Buck wrote:
>
>> I have a successful build now (the bug was probably in the makefile 
>> one
>> level up, but I'm not sure).
>>
> Good.  Thanks.
>
>> By the way, the version isn't updated every day as it is on other 
>> branches
>> (so the title of the gcc-testresults mail says 20030504, not 0507).
>> Should this be fixed?  It makes the web archive of the list harder to
>> read (as all test results get put in the same thread).
>>
> I manually update the version every time I merge with mainline.  Is
> there any script that will the daily update automatically?  Or do 
> people
> just commit new changes to version.c every day?
>
>
> Diego.
>
>
>

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

* Re: tree-ssa branch: Fortran libraries don't build
  2003-05-08 13:23     ` Diego Novillo
  2003-05-08 13:28       ` Andrew Pinski
@ 2003-05-08 13:30       ` Andreas Jaeger
  2003-05-08 13:40       ` Gerald Pfeifer
  2 siblings, 0 replies; 16+ messages in thread
From: Andreas Jaeger @ 2003-05-08 13:30 UTC (permalink / raw)
  To: Diego Novillo; +Cc: Joe Buck, gcc

Diego Novillo <dnovillo@redhat.com> writes:

> I manually update the version every time I merge with mainline.  Is
> there any script that will the daily update automatically?  Or do people
> just commit new changes to version.c every day?

The script is:
gcc/maintainer-scripts/update_version

and it's installed on gcc.gnu.org (ask Gerald Pfeifer for details),

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

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

* Re: tree-ssa branch: Fortran libraries don't build
  2003-05-08 13:23     ` Diego Novillo
  2003-05-08 13:28       ` Andrew Pinski
  2003-05-08 13:30       ` Andreas Jaeger
@ 2003-05-08 13:40       ` Gerald Pfeifer
  2003-05-08 13:57         ` Diego Novillo
  2 siblings, 1 reply; 16+ messages in thread
From: Gerald Pfeifer @ 2003-05-08 13:40 UTC (permalink / raw)
  To: Diego Novillo; +Cc: Joe Buck, gcc

On Thu, 8 May 2003, Diego Novillo wrote:
> I manually update the version every time I merge with mainline.  Is
> there any script that will the daily update automatically?  Or do people
> just commit new changes to version.c every day?

This is fully automatic every since
  http://gcc.gnu.org/ml/gcc/1998-04/msg00952.html
which probably was my first serious use of sed. ;-)

If you update maintainer-scripts/update_version as others have suggested,
I'll happily install the updated version on gcc.gnu.org then.

Gerald
-- 
Gerald "Jerry"   pfeifer@dbai.tuwien.ac.at   http://www.pfeifer.com/gerald/

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

* Re: tree-ssa branch: Fortran libraries don't build
  2003-05-08 13:40       ` Gerald Pfeifer
@ 2003-05-08 13:57         ` Diego Novillo
  2003-05-08 14:03           ` Andrew Pinski
  2003-05-08 14:57           ` Alexandre Oliva
  0 siblings, 2 replies; 16+ messages in thread
From: Diego Novillo @ 2003-05-08 13:57 UTC (permalink / raw)
  To: Gerald Pfeifer; +Cc: Joe Buck, gcc

On Thu, 2003-05-08 at 09:40, Gerald Pfeifer wrote:

> If you update maintainer-scripts/update_version as others have suggested,
> I'll happily install the updated version on gcc.gnu.org then.
> 
Excellent.  Thanks.  The change would have to be in mainline, I
suppose.  Is this patch OK?


Diego.


        * update_version (BRANCHES): Add tree-ssa branch.

Index: update_version
===================================================================
RCS file: /cvs/gcc/gcc/maintainer-scripts/update_version,v
retrieving revision 1.11
diff -d -u -p -r1.11 update_version
--- update_version      4 May 2003 22:51:26 -0000       1.11
+++ update_version      8 May 2003 13:56:50 -0000
@@ -17,6 +17,7 @@ $CVS co gcc/ChangeLog
 BRANCHES=`$CVS status -v gcc/ChangeLog \
           | awk '{print $1;}' \
           | egrep 'gcc-[0-9]+_[0-9]+-branch$' \
+          | egrep 'tree-ssa-[0-9]+-branch$' \
           | egrep -v $IGNORE_BRANCHES`
 # Always update the mainline.
 BRANCHES="${BRANCHES} HEAD"

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

* Re: tree-ssa branch: Fortran libraries don't build
  2003-05-08 13:57         ` Diego Novillo
@ 2003-05-08 14:03           ` Andrew Pinski
  2003-05-08 14:20             ` Diego Novillo
  2003-05-08 14:57           ` Alexandre Oliva
  1 sibling, 1 reply; 16+ messages in thread
From: Andrew Pinski @ 2003-05-08 14:03 UTC (permalink / raw)
  To: Diego Novillo; +Cc: Andrew Pinski, Gerald Pfeifer, Joe Buck, gcc

I do not think this will work since the pervious egrep will get rid of 
the branch name before the new one is ran,
The additional egrep will get rid of all the previous (release) 
branches.

Thanks,
Andrew Pinski

On Thursday, May 8, 2003, at 09:57 US/Eastern, Diego Novillo wrote:

> On Thu, 2003-05-08 at 09:40, Gerald Pfeifer wrote:
>
>> If you update maintainer-scripts/update_version as others have 
>> suggested,
>> I'll happily install the updated version on gcc.gnu.org then.
>>
> Excellent.  Thanks.  The change would have to be in mainline, I
> suppose.  Is this patch OK?
>
>
> Diego.
>
>
>         * update_version (BRANCHES): Add tree-ssa branch.
>
> Index: update_version
> ===================================================================
> RCS file: /cvs/gcc/gcc/maintainer-scripts/update_version,v
> retrieving revision 1.11
> diff -d -u -p -r1.11 update_version
> --- update_version      4 May 2003 22:51:26 -0000       1.11
> +++ update_version      8 May 2003 13:56:50 -0000
> @@ -17,6 +17,7 @@ $CVS co gcc/ChangeLog
>  BRANCHES=`$CVS status -v gcc/ChangeLog \
>            | awk '{print $1;}' \
>            | egrep 'gcc-[0-9]+_[0-9]+-branch$' \
> +          | egrep 'tree-ssa-[0-9]+-branch$' \
>            | egrep -v $IGNORE_BRANCHES`
>  # Always update the mainline.
>  BRANCHES="${BRANCHES} HEAD"
>
>
>

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

* Re: tree-ssa branch: Fortran libraries don't build
  2003-05-08 14:03           ` Andrew Pinski
@ 2003-05-08 14:20             ` Diego Novillo
  0 siblings, 0 replies; 16+ messages in thread
From: Diego Novillo @ 2003-05-08 14:20 UTC (permalink / raw)
  To: Andrew Pinski; +Cc: Gerald Pfeifer, Joe Buck, gcc

On Thu, May 08, 2003 at 10:03:04AM -0400, Andrew Pinski wrote:
> I do not think this will work since the pervious egrep will get rid of 
> the branch name before the new one is ran,
> The additional egrep will get rid of all the previous (release) 
> branches.
> 
Oh, right.  Serves me right for trying to play cute.  This one
based on brute force and ignorance should work.


Diego.

	* update_version (BRANCHES): Add tree-ssa branch.

Index: update_version
===================================================================
RCS file: /cvs/gcc/gcc/maintainer-scripts/update_version,v
retrieving revision 1.11
diff -d -u -p -r1.11 update_version
--- update_version	4 May 2003 22:51:26 -0000	1.11
+++ update_version	8 May 2003 14:19:00 -0000
@@ -14,10 +14,11 @@ CVS=${CVS:-/usr/local/bin/cvs}
 
 # Compute the branches which we should update.
 $CVS co gcc/ChangeLog
-BRANCHES=`$CVS status -v gcc/ChangeLog \
-          | awk '{print $1;}' \
-          | egrep 'gcc-[0-9]+_[0-9]+-branch$' \
-          | egrep -v $IGNORE_BRANCHES`
+BRANCHES="`$CVS status -v gcc/ChangeLog \
+           | awk '{print $1;}' \
+           | egrep 'gcc-[0-9]+_[0-9]+-branch$' \
+           | egrep -v $IGNORE_BRANCHES` \
+	   tree-ssa-20020619-branch"
 # Always update the mainline.
 BRANCHES="${BRANCHES} HEAD"
 

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

* Re: tree-ssa branch: Fortran libraries don't build
  2003-05-08 13:57         ` Diego Novillo
  2003-05-08 14:03           ` Andrew Pinski
@ 2003-05-08 14:57           ` Alexandre Oliva
  2003-05-08 15:27             ` Joseph S. Myers
  1 sibling, 1 reply; 16+ messages in thread
From: Alexandre Oliva @ 2003-05-08 14:57 UTC (permalink / raw)
  To: Diego Novillo; +Cc: Gerald Pfeifer, Joe Buck, gcc

Try this instead:

-          | egrep 'gcc-[0-9]+_[0-9]+-branch$' \
+          | egrep '(gcc|tree-ssa)-[0-9_]+-branch$' \

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer

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

* Re: tree-ssa branch: Fortran libraries don't build
  2003-05-08 14:57           ` Alexandre Oliva
@ 2003-05-08 15:27             ` Joseph S. Myers
  2003-05-08 15:29               ` Gerald Pfeifer
  2003-05-08 15:45               ` Gabriel Dos Reis
  0 siblings, 2 replies; 16+ messages in thread
From: Joseph S. Myers @ 2003-05-08 15:27 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: Diego Novillo, Gerald Pfeifer, Joe Buck, gcc

On Thu, 8 May 2003, Alexandre Oliva wrote:

> Try this instead:
> 
> -          | egrep 'gcc-[0-9]+_[0-9]+-branch$' \
> +          | egrep '(gcc|tree-ssa)-[0-9_]+-branch$' \

If extra active branches are to get automatic date dumps, I'd rather
having an explicit list of branches that get added rather than
complicating the egrep.  Or, better, move to an explicit list of active
branches to bump (as recently discussed in the context of not keeping
bumping dates on closed branches), but then creating a script to do some
of the work of making a new release branch would be better than adding yet
another step to the branching process.

-- 
Joseph S. Myers
jsm28@cam.ac.uk

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

* Re: tree-ssa branch: Fortran libraries don't build
  2003-05-08 15:27             ` Joseph S. Myers
@ 2003-05-08 15:29               ` Gerald Pfeifer
  2003-05-08 15:50                 ` Diego Novillo
  2003-05-08 15:45               ` Gabriel Dos Reis
  1 sibling, 1 reply; 16+ messages in thread
From: Gerald Pfeifer @ 2003-05-08 15:29 UTC (permalink / raw)
  To: Joseph S. Myers; +Cc: Alexandre Oliva, Diego Novillo, Joe Buck, gcc

On Thu, 8 May 2003, Joseph S. Myers wrote:
> If extra active branches are to get automatic date dumps, I'd rather
> having an explicit list of branches that get added rather than
> complicating the egrep.

I agree, and in fact that's what I'm planning to do.

Diego, I'll have to leave now, but I promise I'll take care of updating
and installing your patch on gcc.gnu.org tomorrow.

Gerald

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

* Re: tree-ssa branch: Fortran libraries don't build
  2003-05-08 15:27             ` Joseph S. Myers
  2003-05-08 15:29               ` Gerald Pfeifer
@ 2003-05-08 15:45               ` Gabriel Dos Reis
  2003-05-08 15:58                 ` Joseph S. Myers
  1 sibling, 1 reply; 16+ messages in thread
From: Gabriel Dos Reis @ 2003-05-08 15:45 UTC (permalink / raw)
  To: Joseph S. Myers
  Cc: Alexandre Oliva, Diego Novillo, Gerald Pfeifer, Joe Buck, gcc

"Joseph S. Myers" <jsm28@cam.ac.uk> writes:

| On Thu, 8 May 2003, Alexandre Oliva wrote:
| 
| > Try this instead:
| > 
| > -          | egrep 'gcc-[0-9]+_[0-9]+-branch$' \
| > +          | egrep '(gcc|tree-ssa)-[0-9_]+-branch$' \
| 
| If extra active branches are to get automatic date dumps, I'd rather
| having an explicit list of branches that get added rather than
| complicating the egrep.  Or, better, move to an explicit list of active
| branches to bump (as recently discussed in the context of not keeping
| bumping dates on closed branches),

I don't recall if it were you or not but someone pointed out that it
was a feature that active branches got automatic date bump without
explicitly giving a list of such branches, hence the "grep -v".  
Now, you're contemplating the other way.  I'm confused.

|  but then creating a script to do some
| of the work of making a new release branch would be better than adding yet
| another step to the branching process.

I'm for anything that can simplify life.

-- Gaby

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

* Re: tree-ssa branch: Fortran libraries don't build
  2003-05-08 15:29               ` Gerald Pfeifer
@ 2003-05-08 15:50                 ` Diego Novillo
  0 siblings, 0 replies; 16+ messages in thread
From: Diego Novillo @ 2003-05-08 15:50 UTC (permalink / raw)
  To: Gerald Pfeifer; +Cc: Joseph S. Myers, Alexandre Oliva, Joe Buck, gcc

On Thu, 2003-05-08 at 11:29, Gerald Pfeifer wrote:

> Diego, I'll have to leave now, but I promise I'll take care of updating
> and installing your patch on gcc.gnu.org tomorrow.
> 
Sure.  I'm in no hurry.


Thanks.  Diego.

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

* Re: tree-ssa branch: Fortran libraries don't build
  2003-05-08 15:45               ` Gabriel Dos Reis
@ 2003-05-08 15:58                 ` Joseph S. Myers
  0 siblings, 0 replies; 16+ messages in thread
From: Joseph S. Myers @ 2003-05-08 15:58 UTC (permalink / raw)
  To: Gabriel Dos Reis
  Cc: Alexandre Oliva, Diego Novillo, Gerald Pfeifer, Joe Buck, gcc

On Thu, 8 May 2003, Gabriel Dos Reis wrote:

> I don't recall if it were you or not but someone pointed out that it
> was a feature that active branches got automatic date bump without
> explicitly giving a list of such branches, hence the "grep -v".  
> Now, you're contemplating the other way.  I'm confused.

It was designed as a feature - to reduce the number of steps involved in
making a new release branch, not for an underlying philosophical advantage
of one way over another.  I'm saying that if we change the method to an
explicit list - including other non-release branches in that same list
rather than a grep then adding them on - then this should be done in
conjunction with a branching script so that again the number of steps to
create a release branch is reduced (i.e., the branching script should
update the list of active branches, and several other places that at
present need updating manually as detailed in branching.html).

-- 
Joseph S. Myers
jsm28@cam.ac.uk

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

end of thread, other threads:[~2003-05-08 15:58 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-05 21:12 tree-ssa branch: Fortran libraries don't build Joe Buck
2003-05-07 17:47 ` Diego Novillo
2003-05-08  0:57   ` Joe Buck
2003-05-08 13:23     ` Diego Novillo
2003-05-08 13:28       ` Andrew Pinski
2003-05-08 13:30       ` Andreas Jaeger
2003-05-08 13:40       ` Gerald Pfeifer
2003-05-08 13:57         ` Diego Novillo
2003-05-08 14:03           ` Andrew Pinski
2003-05-08 14:20             ` Diego Novillo
2003-05-08 14:57           ` Alexandre Oliva
2003-05-08 15:27             ` Joseph S. Myers
2003-05-08 15:29               ` Gerald Pfeifer
2003-05-08 15:50                 ` Diego Novillo
2003-05-08 15:45               ` Gabriel Dos Reis
2003-05-08 15:58                 ` Joseph S. Myers

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