public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* RE: egcs-980411 (hpux10.20) internal error during compile
@ 1998-04-23  6:05 Bjørn Wennberg
  1998-04-23 13:31 ` Martin von Loewis
  0 siblings, 1 reply; 6+ messages in thread
From: Bjørn Wennberg @ 1998-04-23  6:05 UTC (permalink / raw)
  To: 'law@cygnus.com'; +Cc: 'egcs@cygnus.com'

Hi there!

I successfully built egcs-19980418 on my hppa1.1-hp-hpux10.20 machine
using these
configuration parameters:
configure --enable-haifa --enable-shared --with-gnu-as

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 heard some discussion about improved search-capabillities for dejagnu,
but it seems
like this is not implemented (or is there a later version of dejagnu
lying around somewhere?
I'm using the one recommended by your FAQ)


> -----Original Message-----
> From:	Jeffrey A Law [SMTP:law@hurl.cygnus.com]
> Sent:	15. april 1998 18:32
> To:	Bj rn Wennberg
> Cc:	'egcs@cygnus.com'
> Subject:	Re: egcs-980411 (hpux10.20) internal error during
> compile 
> 
> 
> 
> I'll be taking a look at the hpux build failure shortly -- I've got
> a pretty good idea what the problem might be, but my hpux box
> is busy at the moment.
> 
> jeff

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

* Re: egcs-980411 (hpux10.20) internal error during compile
  1998-04-23  6:05 egcs-980411 (hpux10.20) internal error during compile Bjørn Wennberg
@ 1998-04-23 13:31 ` Martin von Loewis
  1998-04-23 23:23   ` H.J. Lu
  0 siblings, 1 reply; 6+ messages in thread
From: Martin von Loewis @ 1998-04-23 13:31 UTC (permalink / raw)
  To: Bjorn.Wennberg; +Cc: law, egcs

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

Martin

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

* Re: egcs-980411 (hpux10.20) internal error during compile
  1998-04-23 13:31 ` Martin von Loewis
@ 1998-04-23 23:23   ` H.J. Lu
  0 siblings, 0 replies; 6+ messages in thread
From: H.J. Lu @ 1998-04-23 23:23 UTC (permalink / raw)
  To: Martin von Loewis; +Cc: Bjorn.Wennberg, law, egcs

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

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

* RE: egcs-980411 (hpux10.20) internal error during compile
@ 1998-04-24  2:51 Bjørn Wennberg
  0 siblings, 0 replies; 6+ messages in thread
From: Bjørn Wennberg @ 1998-04-24  2:51 UTC (permalink / raw)
  To: 'hjl@lucon.org'; +Cc: egcs

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

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

* Re: egcs-980411 (hpux10.20) internal error during compile
  1998-04-15  3:40 Bjørn Wennberg
@ 1998-04-15  9:32 ` Jeffrey A Law
  0 siblings, 0 replies; 6+ messages in thread
From: Jeffrey A Law @ 1998-04-15  9:32 UTC (permalink / raw)
  To: Bj rn Wennberg; +Cc: 'egcs@cygnus.com'

I'll be taking a look at the hpux build failure shortly -- I've got
a pretty good idea what the problem might be, but my hpux box
is busy at the moment.

jeff

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

* egcs-980411 (hpux10.20) internal error during compile
@ 1998-04-15  3:40 Bjørn Wennberg
  1998-04-15  9:32 ` Jeffrey A Law
  0 siblings, 1 reply; 6+ messages in thread
From: Bjørn Wennberg @ 1998-04-15  3:40 UTC (permalink / raw)
  To: 'egcs@cygnus.com'

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1576 bytes --]

> Hi there!
> 
> I got an internal compiler error while compiling the latest snapshot
> 989411
> (The compiler works for snapshort-980406)
> I have installed gcc-2.7.2.2 and binutils-2.9.
> 
> Here's the setup:
> mkdir objdir
> configure --enable-haifa --enable-gnu-as for hppa1.1-hp-hpux10.20
> make bootstrap
> .
> .
> .
> if [ -f /usr/include/float.h ] && if grep 'ifndef _FLOAT_H___'
> /usr/include/float.h >/dev/null; then false; else :; fi; then \
>   SYS_FLOAT_H_WRAP=1; \
> else :; \
>   SYS_FLOAT_H_WRAP=0; \
> fi; \
> ./xgcc -B./  -DIN_GCC    -g -I./include     -DNO_MEM
> -DNO_LONG_DOUBLE_IO
> -O0 \
>   -DSYS_FLOAT_H_WRAP=$SYS_FLOAT_H_WRAP \
>   -I. -c ../../gcc/enquire.c
> ../../gcc/enquire.c: In function `fprop':
> ../../gcc/enquire.c:2782: internal error--insn does not satisfy its
> constraints:
> (insn:HI 2621 4803 4797 (set (mem:SF (plus:SI (reg:SI 22 %r22)
>                 (const_int 192)))
>         (reg:SF 74 %fr25)) 128 {reload_outsf+1} (nil)
>     (nil))
> xgcc: Internal compiler error: program cc1 got fatal signal 6
> make[2]: *** [enquire.o] Error 1
> make[2]: Leaving directory
> `/usr/local/packages/egcs/egcs-980411/objdir/gcc'
> make[1]: *** [bootstrap] Error 2
> make[1]: Leaving directory
> `/usr/local/packages/egcs/egcs-980411/objdir/gcc'
> make: *** [bootstrap] Error 2
> 
> 
> 
> ----------------------------------------------------------------------
> --------------------------------------
> Bjørn Wennberg
> email:bw@lcc.no
> Development Engineer, CellAD System 7       phone: +47 6797 8800
> LCC Europe
> fax:+47 6797 8801
> 

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

end of thread, other threads:[~1998-04-24  2:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-04-23  6:05 egcs-980411 (hpux10.20) internal error during compile Bjørn Wennberg
1998-04-23 13:31 ` Martin von Loewis
1998-04-23 23:23   ` H.J. Lu
  -- strict thread matches above, loose matches on Subject: below --
1998-04-24  2:51 Bjørn Wennberg
1998-04-15  3:40 Bjørn Wennberg
1998-04-15  9:32 ` Jeffrey A Law

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