This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

RE: egcs-980411 (hpux10.20) internal error during compile


I found your dejagnu-patch, and after installing it I was able to make
check.
btw: I used dejagnu-1998-02-06 and applied the patch ontop of this.
(The patch is appended to this mail, in case other need it)

But unfortunately, egcs did not succeed the make check stage. egcs
dumped on me.

Executing on host:
/usr/local/packages/egcs/egcs-19980418/objdir/gcc/xgcc
-B/usr/local/packages/egcs/egcs-19980418/objdir/gcc/
../../../../libstdc++/testsuite/libstdc++.tests/../../tests/tvector.cc
-I.. -I../../../../libstdc++/testsuite/..
-I../../../../libstdc++/testsuite/../stl -I.
-I/usr/local/packages/egcs/egcs-19980418/libio
-I/usr/local/packages/egcs/egcs-19980418/objdir/libraries/libio -g
-L/usr/local/packages/egcs/egcs-19980418/objdir/libraries//libstdc++
-lstdc++  -lm   -o
/usr/local/packages/egcs/egcs-19980418/objdir/libraries/libstdc++/testsu
ite/tvector   
output is ../../../../libstdc++/testsuite/../stl/stl_uninitialized.h: In
function `char * __uninitialized_copy<char *, char *, char>(char *, char
*, char *, char *)':
../../../../libstdc++/testsuite/../stl/stl_uninitialized.h:65: Internal
compiler error.
../../../../libstdc++/testsuite/../stl/stl_uninitialized.h:65: Please
submit a full bug report to `egcs-bugs@cygnus.com'.

compiler exited with status 1
output is:
../../../../libstdc++/testsuite/../stl/stl_uninitialized.h: In function
`char * __uninitialized_copy<char *, char *, char>(char *, char *, char
*, char *)':
../../../../libstdc++/testsuite/../stl/stl_uninitialized.h:65: Internal
compiler error.
../../../../libstdc++/testsuite/../stl/stl_uninitialized.h:65: Please
submit a full bug report to `egcs-bugs@cygnus.com'.

FAIL: tvector.cc compilation
XFAIL: tvector.cc execution
XFAIL: tvector.cc output




> -----Original Message-----
> From:	hjl@lucon.org [SMTP:hjl@lucon.org]
> Sent:	24. april 1998 03:03
> To:	martin@mira.isdn.cs.tu-berlin.de
> Cc:	Bjorn.Wennberg@lcc.no; law@cygnus.com; egcs@cygnus.com
> Subject:	Re: egcs-980411 (hpux10.20) internal error during
> compile
> 
> > 
> > > Second, I have a question:
> > > Why doesn't the make check work. I'm unable to build some of the
> > > files in in libio/testsuite/libio.tests. Files like tiformat.c
> > > doesn't compile. The problem is dejagnu not beeing able to find
> > > libio.sl/libio.a.
> > 
> > I get the same error on i486-pc-linux-gnu, with dejagnu-971222.  I
> > usually solve this by manually putting links into
> libraries/libiberty.
> > These failures in libio/libstdc++ are harmless, 'make -k check' will
> > just get over it.
> > 
> 
> That sounds like a bug in dejagnu-971222. I have posted a patch to
> fix a bug like that. You can find it in the egcs archive.
> 
> -- 
> H.J. Lu (hjl@gnu.org)
> []  
> --- libgloss.exp.orig	Wed Mar 11 08:26:07 1998
> +++ libgloss.exp	Sat Mar 21 13:27:41 1998
> @@ -425,7 +425,7 @@
>  
>  
>      # search for the top level multilib directory
> -    set multitop [lookfor_file "${comp_base_dir}" "${target_alias}"]
> +    set multitop [lookfor_dir_with_trigger "${comp_base_dir}"
> "${target_alias}" "libiberty/libiberty.a"]
>      if { $multitop == "" } {
>  	set multitop [lookfor_file "${comp_base_dir}" "libraries"]
>  	if { $multitop == "" } {
> --- runtest.exp.orig	Sat Mar 21 13:16:30 1998
> +++ runtest.exp	Sat Mar 21 13:24:44 1998
> @@ -546,6 +546,21 @@
>  }
>  
>  #
> +# lookfor_dir_with_trigger -- try to find a dir by searching up
> +#  multiple directory levels
> +#
> +proc lookfor_dir_with_trigger { dir name trigger } {
> +    foreach x ".. ../.. ../../.. ../../../.." {
> +	verbose "$dir/$name with $trigger "
> +	if [file exists $dir/$name/$trigger] {
> +	    return $dir/$name;
> +	}
> +	set dir [remote_file build dirname $dir];
> +    }
> +    return ""
> +}
> +
> +#
>  # load_lib -- load a library by sourcing it
>  #
>  # If there a multiple files with the same name, stop after the first
> one found.
> 


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