public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: 970825 Snapshot Available
@ 1997-08-25 22:25 H.J. Lu
  1997-08-25 22:55 ` Jeffrey A Law
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: H.J. Lu @ 1997-08-25 22:25 UTC (permalink / raw)
  To: egcs

> We've actually only tested with the full snapshot; we're interested in
> hearing if people can build the core or the core + particular language
> add-ons.
> 

What happened to my SMP patch? The build cannot be done without it
on an SMP machine.

--- 
H.J. Lu (hjl@gnu.ai.mit.edu)

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

* Re: 970825 Snapshot Available
  1997-08-25 22:25 970825 Snapshot Available H.J. Lu
@ 1997-08-25 22:55 ` Jeffrey A Law
  1997-08-25 23:02 ` -g1 lossage Robert Lipe
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Jeffrey A Law @ 1997-08-25 22:55 UTC (permalink / raw)
  To: egcs

  In message <m0x37mv-0004ecC@ocean.lucon.org>you write:
  > What happened to my SMP patch? The build cannot be done without it
  > on an SMP machine.
It's in the queue.

However, you sent a patch without describing in any way, shape or
form what problem you were trying to solve.

As a result, it takes much longer to evaluate whether the patch
is necessary and correct -- which certainly puts it behind more
pressing issues in my queue like code generation and making single
threaded make work.

Maybe if you resent the patch and described the problem you were
trying to solve and your solution it would be more likely to go
into the tree in a timely fashion.

jeff

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

* Re: -g1 lossage
  1997-08-25 22:25 970825 Snapshot Available H.J. Lu
  1997-08-25 22:55 ` Jeffrey A Law
@ 1997-08-25 23:02 ` Robert Lipe
  1997-08-25 23:05 ` this week's patch for libgcc2-elf.a Robert Lipe
  1997-08-25 23:05 ` Suggestion re: 970825 Snapshot Available Julian Seward
  3 siblings, 0 replies; 5+ messages in thread
From: Robert Lipe @ 1997-08-25 23:02 UTC (permalink / raw)
  To: egcs

> I did write a patch for this when it was reported to gcc2.  However, I did
> not test it.  I was hoping someone would report back to me whether it did
> work, but I never heard anything.  If someone tells me that it does work,
> then I will install it.

This would be my fault.  Sorry. I reported it just before 
effectively leaving town for a month.

I just applied it to today's egcs and it now no longer chokes 
when building new2.cc.   I haven't yet run the regressions on it,
but at least it builds.

Thanx for your help, Jim.

RJL


> Tue Aug  5 22:45:11 1997  Jim Wilson  <wilson@cygnus.com>
> 
> 	* dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
> 	TYPE_DECL_IS_STUB instead of DECL_NAME.
> 
> *** clean-testgcc-970803/dwarfout.c	Sat Aug  2 11:32:44 1997
> --- testgcc-970803/dwarfout.c	Tue Aug  5 22:29:46 1997
> *************** dwarfout_file_scope_decl (decl, set_fina
> *** 5144,5150 ****
>   	 a return type or a formal parameter type of some function.  */
>   
>         if (debug_info_level <= DINFO_LEVEL_TERSE)
> ! 	if (DECL_NAME (decl) != NULL
>   	    || ! TYPE_USED_FOR_FUNCTION (TREE_TYPE (decl)))
>             return;
>   
> --- 5144,5150 ----
>   	 a return type or a formal parameter type of some function.  */
>   
>         if (debug_info_level <= DINFO_LEVEL_TERSE)
> ! 	if (! TYPE_DECL_IS_STUB (decl)
>   	    || ! TYPE_USED_FOR_FUNCTION (TREE_TYPE (decl)))
>             return;
>   
> 
> 
> 

-- 
Robert Lipe       http://www.dgii.com/people/robertl       robertl@dgii.com

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

* Suggestion re: 970825 Snapshot Available
  1997-08-25 22:25 970825 Snapshot Available H.J. Lu
                   ` (2 preceding siblings ...)
  1997-08-25 23:05 ` this week's patch for libgcc2-elf.a Robert Lipe
@ 1997-08-25 23:05 ` Julian Seward
  3 siblings, 0 replies; 5+ messages in thread
From: Julian Seward @ 1997-08-25 23:05 UTC (permalink / raw)
  To: egcs

Jeffrey A Law wrote:
> 
> egcs-ss-970825 is now available in ftp.cygnus.com:/pub/egcs/snapshots
> (and on various mirrors shortly, see the home page for mirror sites).
[...]

I built egcs-ss-970821 for i486-linux-elf for c only, and it seems to
work, as far as my superficial tests can determine.  It's good to see
further development of gcc2.

I wondered if I could interest you in the following.  I imagine a lot
of people will be interested in trying egcs.  People with slow (modem
only) connections, like me, have some difficulty downloading egcs.  I
only have a 14.4k modem, and it took nearly two hours.  I guess many
people will have 28.8k or better modems, but it still takes on the
order of an hour.

Would you consider compressing egcs with a better compressor?  The
question would be a bit academic but for the fact that I can offer you
such a beast.  It's GNU GPL'd, patent-free, reasonably fast, portable,
and command-line compatible with gzip.

It saves nearly two megabytes for egcs:

   -rw-r--r--   37304320 Aug 25 12:04 egcs-ss-970821.tar
   -rw-r--r--    8043075 Aug 25 15:57 egcs-ss-970821.tar.gz
   -rw-r--r--    6169539 Aug 25 12:04 egcs-ss-970821.tar.bz2

For me that's around half an hour less on the phone, and also less
bandwidth on your servers.  Of course, people would have to download a
copy of the compressor, but that's about 300k for the source distrib,
or ~100k for a binary, so it would be a win even on the first
download.

The compressor's called "bzip2"; an early version of it has seen
some use in the Linux community over the past year.  You can
get it from http://www.muraroa.demon.co.uk .

Probably a rather strange-sounding proposition, but a serious one.

Julian Seward

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

* this week's patch for libgcc2-elf.a
  1997-08-25 22:25 970825 Snapshot Available H.J. Lu
  1997-08-25 22:55 ` Jeffrey A Law
  1997-08-25 23:02 ` -g1 lossage Robert Lipe
@ 1997-08-25 23:05 ` Robert Lipe
  1997-08-25 23:05 ` Suggestion re: 970825 Snapshot Available Julian Seward
  3 siblings, 0 replies; 5+ messages in thread
From: Robert Lipe @ 1997-08-25 23:05 UTC (permalink / raw)
  To: egcs

This patch was originally against gcc2-970803, but it seems to 
vastly help egcs-970825.   Without it, libgcc2-elf.a doesn't 
contain any of the g++ stuff such as rtti.

I think there may still be a dependency missing, though.

Sun Aug  3 23:37:20 1997  Robert Lipe  <robertl@dgii.com>

	* config/i386/t-sco5: Resync libgcc2-elf.a target instructions 
		with libgcc2.a.

*** config/i386/t-sco5_	Fri Feb 14 14:41:31 1997
--- config/i386/t-sco5	Mon Jul 28 10:28:07 1997
***************
*** 13,18 ****
--- 13,23 ----
  # NOTE: This is duplicated directly from Makefile.in. If you change it
  # there, be sure to change things here!
  #
+ # NOTE: 07/28/97 robertl - this doesn't happen.   Makefile.in gets changed
+ #       and this file gets ignored.    This whole thing should either be
+ #       ignored (build it all as either ELF or COFF and let the SCO linker
+ #       convert things) or converted to the new multilib stuff.
+ #
  EXTRA_PARTS = libgcc-elf.a crtbegin.o crtend.o crtbeginS.o crtendS.o
  TAROUTOPTS = xpf
  
***************
*** 47,55 ****
  	-if $(RANLIB_TEST) ; then $(RANLIB) tmplibgcc1-elf.a; else true; fi
  	mv tmplibgcc1-elf.a libgcc1-elf.a
  
! libgcc2-elf.a: stamp-crtS libgcc2.c libgcc2.ready $(CONFIG_H) $(LIB2FUNCS_EXTRA) \
!    machmode.h longlong.h gbl-ctors.h config.status
  	-rm -f tmplibgcc2-elf.a
  	for name in $(LIB2FUNCS); \
  	do \
  	  echo $${name}; \
--- 52,68 ----
  	-if $(RANLIB_TEST) ; then $(RANLIB) tmplibgcc1-elf.a; else true; fi
  	mv tmplibgcc1-elf.a libgcc1-elf.a
  
! libgcc2-elf.a: libgcc2.c libgcc2.ready $(CONFIG_H) $(LIB2FUNCS_EXTRA) \
!    $(LANG_LIB2FUNCS) machmode.h longlong.h gbl-ctors.h config.status
! # Actually build it in tmplibgcc2.a, then rename at end,
! # so that libgcc2.a itself remains nonexistent if compilation is aborted.
  	-rm -f tmplibgcc2-elf.a
+ # -e causes any failing command to make this rule fail.
+ # -e doesn't work in certain shells, so we test $$? as well.
+ # lynx has a broken ar, it always complains when the initial library is
+ # empty, thus this command works only if we don't do -e
+ # There is a trailing backslash (\) deleted from the following line.
+ #	set -e;
  	for name in $(LIB2FUNCS); \
  	do \
  	  echo $${name}; \
***************
*** 59,81 ****
  	  $(AR) $(AR_FLAGS) tmplibgcc2-elf.a $${name}$(objext); \
  	  rm -f $${name}$(objext); \
  	done
! 	for file in .. $(LIB2FUNCS_EXTRA); \
  	do \
  	  if [ x$${file} != x.. ]; then \
! 	    name=`echo $${file} | sed -e 's/[.][cS]$$//' -e 's/[.]asm$$//'`; \
  	    oname=` echo $${name} | sed -e 's,.*/,,'`; \
! 	    echo $${name}; \
! 	    if [ $${name}.asm = $${file} ]; then \
! 	      cp $${file} $${name}.s || exit 1; file=$${name}.s; \
! 	    else true; fi; \
! 	    $(GCC_FOR_TARGET) -melf $(LIBGCC2_CFLAGS) $(INCLUDES) -c $${file}; \
! 	    if [ $$? -eq 0 ] ; then true; else exit 1; fi; \
! 	    $(AR) $(AR_FLAGS) tmplibgcc2-elf.a $${oname}$(objext); \
! 	    rm -f $${name}.s $${oname}$(objext); \
  	  else true; \
  	  fi; \
  	done
  	mv tmplibgcc2-elf.a libgcc2-elf.a
  
  # Combine the various libraries into a single library, libgcc.a.
  libgcc-elf.a: libgcc1-elf.a libgcc2-elf.a
--- 72,118 ----
  	  $(AR) $(AR_FLAGS) tmplibgcc2-elf.a $${name}$(objext); \
  	  rm -f $${name}$(objext); \
  	done
! # Some shells crash when a loop has no items.
! # So make sure there is always at least one--`..'.
! # Then ignore it.
! # We don't use -e here because there are if statements
! # that should not make the command give up when the if condition is false.
! # Instead, we test for failure after each command where it matters.
! 	for file in .. $(LIB2FUNCS_EXTRA) $(LANG_LIB2FUNCS); \
  	do \
  	  if [ x$${file} != x.. ]; then \
! 	    name=`echo $${file} | sed -e 's/[.][cSo]$$//' -e 's/[.]asm$$//' -e 's/[.]txt$$//'`; \
  	    oname=` echo $${name} | sed -e 's,.*/,,'`; \
! 	    if [ $${name}.txt = $${file} ]; then \
! 	      for f in .. `cat $${file}`; do if [ x$${f} != x.. ]; then \
! 		$(MAKE) GCC_FOR_TARGET="$(GCC_FOR_TARGET)" \
! 	  	  AR="$(AR)" AR_FLAGS="$(AR_FLAGS)" CC="$(CC)" \
! 		  CFLAGS="$(CFLAGS) " HOST_PREFIX="$(HOST_PREFIX)" \
! 		  HOST_PREFIX_1="$(HOST_PREFIX_1)" \
! 		  LIBGCC2_CFLAGS="$(LIBGCC2_CFLAGS) -melf" $${f}; \
! 	        if [ $$? -eq 0 ] ; then true; else exit 1; fi; \
! 	        $(AR) $(AR_FLAGS) tmplibgcc2-elf.a $${f}; \
! 	        rm -f $${f}; \
! 	      fi; done; \
! 	    else \
! 	      echo $${name}; \
! 	      if [ $${name}.asm = $${file} ]; then \
! 		cp $${file} $${name}.s || exit 1; file=$${name}.s; \
! 	      else true; fi; \
! 	      $(GCC_FOR_TARGET) -melf $(LIBGCC2_CFLAGS) $(INCLUDES) -c $${file}; \
! 	      if [ $$? -eq 0 ] ; then true; else exit 1; fi; \
! 	      $(AR) $(AR_FLAGS) tmplibgcc2-elf.a $${oname}$(objext); \
! 	      rm -f $${name}.s $${oname}$(objext); \
! 	    fi; \
  	  else true; \
  	  fi; \
  	done
  	mv tmplibgcc2-elf.a libgcc2-elf.a
+ # These lines were deleted from above the mv command
+ # because ranlibing libgcc.a itself should suffice.
+ #	-if [ x${HPUX_GAS} = x ] ; then \
+ #	  if $(RANLIB_TEST) ; then $(RANLIB) tmplibgcc2.a; else true; fi; \
+ #	else true; fi
  
  # Combine the various libraries into a single library, libgcc.a.
  libgcc-elf.a: libgcc1-elf.a libgcc2-elf.a

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

end of thread, other threads:[~1997-08-25 23:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-08-25 22:25 970825 Snapshot Available H.J. Lu
1997-08-25 22:55 ` Jeffrey A Law
1997-08-25 23:02 ` -g1 lossage Robert Lipe
1997-08-25 23:05 ` this week's patch for libgcc2-elf.a Robert Lipe
1997-08-25 23:05 ` Suggestion re: 970825 Snapshot Available Julian Seward

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