HDTenEightyP/NetNews huggingface dataset:
From: pete@puffin.uucp (Pete Carah)
Subject: GAS for cross-compile to ELF
Organization: Pete's Unix
Date: Wed, 18 Nov 1992 18:47:22 GMT
Reply-To: pete@ent-img.com

I was trying yesterday to bring gcc-2.3.1 up on an sgi host as a cross
compiler to a 386 in sysv4.  Getting the header files was easy enough;
just tar them...  However, the compiler make dies when it tries to
compile something IN 386, feeding the result to the mips assem, which
turns its nose up to the tune of 2 errors per line on average.  I know
I could do everything as -S, but need to analyze the compiler makefile
to see why it's trying to cross-compile while making the compiler.

Is there an ELF version of gas planned any time soon?

I plan to link on the 386; it's short of memory and can't compile the
compiler in all its configurations.  Besides, the R4000 is FAST.
In other words, I don't need the gnu linker in ELF form (or COFF either),
at least yet.

-- Pete
Newsgroups: gnu.gcc.help
From: dexter@sabrina.dei.unipd.it (Michele Mauro 342258/IF)
Subject: Illegal istruction after some GNU commands
Organization: D.E.I. Universita' di Padova, Italia
Distribution: gnu
Date: Tue, 17 Nov 1992 16:40:33 GMT

Configuration:Commodore Amiga 2000, Kickstart 1.3, Zkick'ed to 2.0
 512k chip mem, 512k+4M other mem
 GVP Impact II 52Meg Hard Drive
 Plain 68000, no ECS

 GNU gcc 2.2.2, fix 1, 2 & 3 applied, properly installed.

Seems like ixemul.library gives "Illegal istruction" errors after some commands
from bin: (for example, some ranlib, gcc ecc.). Flushing the library with
Xoper2.2 allows one more extra command, and after that it's Illegal Istruction
again. The commands, for themselves, work OK. What's wrong?

Are there some more detailed manuals than the InfoView files? Where is a
complete eroor list w/ explanations of what they mean?

Thank you in advance.

					dexter@sabrina.dei.unipd.it
Newsgroups: gnu.gcc.help
Subject: Illegal Istruction error
Summary: 
Followup-To: 
Distribution: 
Organization: D.E.I. Universita' di Padova, Italia
Keywords: 

Configuration:Commodore Amiga 2000, Kickstart 1.3, Zkick'ed to 2.0
 512k chip mem, 512k+4M other mem
 GVP Impact II 52Meg Hard Drive
 Plain 68000, no ECS

 GNU gcc 2.2.2, fix 1, 2 & 3 applied, properly installed.

Seems like ixemul.library gives "Illegal istruction" errors after some commands
from bin: (for example, some ranlib, gcc ecc.). Flushing the library with
Xoper2.2 allows one more extra command, and after that it's Illegal Istruction
again. The commands, for themselves, work OK. What's wrong?

Are there some more detailed manuals than the InfoView files? Where is a
complete eroor list w/ explanations of what they mean?

Thank you in advance.

					dexter@sabrina.dei.unipd.it
Newsgroups: gnu.gcc.help
From: uddeborg@sisu.se (Goeran Uddeborg)
Subject: Re: HELP! Easy Question! (on problems with stage 3 compile)
Organization: Swedish Institute of Systems Development
Date: Fri, 20 Nov 1992 16:02:09 GMT

In article <EJH.92Nov16104414@khonshu.colorado.edu> ejh@khonshu.colorado.edu (Edward J. Hartnett) writes:
>I was trying to redirect the output of my stage three make, but it
>printed some messages to stderr and I missed them.
>
>What can I do to run the stage 3 compile without starting all over
>again with the tar file?

Why don't you do a "make clean", followed by your ordinary make?
Newsgroups: gnu.gcc.help
From: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott)
Subject: Internal compiler error in gcc/g++ 2.2.2 -- bug report?
Organization: GNUs Not Usenet
Distribution: gnu
Date: Mon, 23 Nov 1992 18:06:24 GMT

I have been compiling a large C++ program with gcc/g++
2.2.2 for many months.  Today when I attempted to
recompile after making a few changes, I got the following
error on one file: 


g++ -O2  -Wall -Wno-import -Wno-unused -Winline -pipe  -Div2_6_compatible  
-DUSE_IV_2_6 -DUSE_CUSTOM_NEW -I. -I/usr/include/g++ -I/usr/include/sys  -c  
Data.c
Data.c: In method `Data::Data (class Data*)':
Data.c:714: internal error--unrecognizable insn:
(insn 22 20 24 (set (mem/s:SI (plus:SI (reg/v:SI 28)
               (const_int 8)))
       (mem/s:SI (plus:SI (mem:SI (plus:SI (reg:SI 14)
                       (const_int 12)))
               (const_int 8)))) -1 (nil)
   (nil))
/usr/local/bin/gcc: Internal compiler error: program cc1plus got fatal signal 6
*** Exit 1
Stop.

Here is the code in question:

Data::Data(Data *d) : rep(d->rep), myState(d->myState) {
        Init();
        trash(d);      

}

The routine trash() takes as an argument a reference to a
pointer to a class that is a base class of Data -- this way I
can zero the pointer after deleting it within the
routine.

I am guessing that because the argument is passed as
reference to the pointer, the compiler is choking due to
the fact that the argument pointer 'd' is a register
variable .  G++ makes all argument variables register --
is this standard C++ practice?

In another instance in which I attempted to pass a non-pointer
register variable via a reference, I got a decent warning
from the compiler.

This is clearly a bug:  the compiler should give the same
warning for attempting to pass a register pointer as it
does for attempting to pass a register variable.  When I
attempted to duplicate this in a short program (using
pointers to ints rather than pointers to classes) I got no
errors at all: 


typedef int * &intrefptr;       // typedef to avoid compiler troubles with args

void testit(intrefptr r) {
        printf("%d\n", *r);
}

void fun(int *ptr) {	// "ptr" is a register variable inside fun, if my theory is correct
        testit(ptr);	// here, passing register pointer to int as reference
}

main() {
        int i = 20;
        int *pi = &i;
        fun(pi);
}

 Strange...can anyone comment on this??

Thanks.

---
Douglas Scott                              (805)893-8352
Center for Computer Music Research and Composition
University of California, Santa Barbara
Internet: (NeXTMail ok)   <doug@foxtrot.ccmrc.ucsb.edu>

Newsgroups: gnu.gcc.help
From: misar@rbg.informatik.th-darmstadt.de (walter misar)
Subject: gcc2.3 and HPUX
Date: Tue, 17 Nov 1992 21:23:46 GMT
Organization: TU Darmstadt

Hi

I try to build gcc (2.3.1) on an apollo 400 running HPUX 8.0 .
Half way xgcc says that as got a fatal signal 11 !?!
Yes, the INSTALL text says something about an update for as, but
our admin won't buy them. Is there any way to circumvent this bug ? 


-- 
Walter Misar
misar@rbhp56.rbg.informatik.th-darmstadt.de
Newsgroups: gnu.gcc.help
From: wreillyi@csws19.ic.sunysb.edu (William J Reilly Iii)
Subject: Re: GCC with HPUX
Organization: State University of New York at Stony Brook
Date: Tue, 17 Nov 1992 15:12:59 GMT

In article <Bxts8u.Fuu@srgenprp.sr.hp.com> mikef@sr.hp.com (Mike Ferrara) writes:
Ni!Seems to me that porting binutils to HP style a.out's is in order.
Ni!Has anyone looked into this? 
Ni!

I have started (a little), but probably won't be able to do any serious work 
on it until this semester is over. 

Does anyone out there have any tips/pointers/documentation on this that may 
help me out? Anything is greatly appreciated.

I'll let you all know once I make some progress.

-- 

		And now for something completely different...
=============================================================================
|   We Shall say "Ecky-ecky-ecky-ecky-pikang-zoom-boing-z'nourrrwringnmmmm" |
|                    again to you, if you do not appease us!		    |
|===========================================================================|
| I built a .sig, but it fell into the swamp. So I built a second one. That |
| sank into the swamp. So, I built a third one. That burned down, fell over |
|  then sank into the swamp. But the fourth one stayed up. An' that's what  |
|  you're gonna read lad - the strongest .sig in this group.  Ni! Shhhh...  |
|===========================================================================|
|          William J Reilly                 wreillyi@ic.sunysb.edu          |
|     who until recently said Ni					    |
|===========================================================================|

Newsgroups: gnu.gcc.help
From: markg@shasta.nextwave.COM (Mark Glasser)
Subject: 2 problems: dbx support & alignment of doubles in structs
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sat, 21 Nov 1992 00:47:20 GMT


I've just installed gcc-2.3.1.  I'm having difficulties on two fronts:

	1. The generated code does not seem to be able to be debugged with dbx.

	2. Assigning to a double that is a member of a dynamically allocated
       structure is problematic.  Doubles seem to have different alignment
       requirements than with the compiler shipped with the OS.

The particulars:

I'm running on a Sun sparc with SunOS 4.1.1.  The "other" compiler is the
Sun C compiler shipped with the system (We got these machines prior to
unbundling).  Gcc is configured as

	#!/bin/sh
	# GCC was configured as follows:
	./configure --target=sparc-sun-sunos4.1
	echo host=sparc-sun-sunos4.1 target=sparc-sun-sunos4.1 build=sparc-sun-sunos4.1

With -g my unserstanding is gcc generates dbx debugging info with gdb
extensions.  Debugging with gdb works fine.  Dbx crashes.  I recompiled and
replaced -g with -gdbx.  The compiler complains that -gdbx is not supported.
A quick perusal through the compiler source reveals that -gstabs enables dbx
debugging output without the gdb extensions.  I recompile and try again.  No
success.  My program has a section that is dynamically linked (i.e. compiled
with -fpic).  Could this have anything to do with the problem?

The problem with doubles is a little more subtle.  Assigning to a double
that is the member of a structure causes a bus error.

I'm using an in-house memory allocation package that piggybacks off of
malloc and provides memory analysis and debugging capabilities.  This
packages has been in use for several years in a number of projects.  It's
very stable and I have good confidence in it.

The memory package guarantees that all memory blocks returned are aligned on
4 byte boundaries.  Everything works fine with Sun C.  With GNUC bus errors
ensue unless I change the memory package to align to 8 byte boundaries.
What's the problem here?  Is Sun C "smarter" about padding the strucutre
properly so that sizeof does the right thing and the proper alignments are
enforced?  Maybe the real question is: why did it operate proplery under Sun
C?  Since doubles require 8 byte alignments it shouldn't have worked.

Are there any known bugs relating to these issues?  Am I doing something
wrong?  

Thank you in advance for any light you can shed on these problems


Mark Glasser
------------------------------------------------------------------------
markg@nextwave.com                            Nextwave Design Automation
                                                450 San Antonio Road #27
                                                     Palo Alto, CA 94306
                                                    (voice) 415.855.9795
                                                      (fax) 415.855.9792
------------------------------------------------------------------------
Newsgroups: gnu.gcc.help,gnu.misc.discuss
From: jhc@fang.att.com (John H. Carter)
Subject: Re: Language frontends for gcc?
Organization: AT&T Tax Systems Development, Maitland FL
Distribution: gnu
Date: Mon, 16 Nov 1992 17:05:31 GMT

In article <1992Nov13.162323.11757@csrd.uiuc.edu> poulsen@sp91.csrd.uiuc.edu (David K. Poulsen) writes:
>
>I've been told about the Gnu Fortran project.  Several responses suggested
>I contact Craig Burley at burley@gnu.ai.mit.edu.
>
>There's also a Gnu Pascal for a gcc 2.0 base.  This is available via anonymous
>FTP from kampi.hut.fi in the directory jtv/gnu-pascal.
>

Does anyone have any more information about Gnu Pascal?  Is it available on 
a US archive?

Thanks


-- 
John Carter - Orlando, Fl.
Work: jhc@fang.att.com
Newsgroups: gnu.gcc.help
From: scott@thyme.jpl.nasa.gov (Keith Scott)
Subject: -fpic on Sun 386i
Organization: Jet Propulsion Lab, Pasadena, CA
Distribution: gnu
Date: Wed, 18 Nov 92 18:27:55 GMT


Apart from numerous other problems I'm having building 2.3.1 on this
machine, one of them is that when I try and compile some source with 
-fpic the assembler pukes on the code generated, both gas and as alike.

The man page for gcc says:

     -fpic
          If  supported  for  the   target   machines,   generate
          position-independent code, suitable for use in a shared
          library.

However in a cursory search through source and documentation, I can find
no reference that says -fpic is or isn't supported on this platform.

Can anyone point me to a reference, or volunteer what the answer is?

Thanks in advance.

-- 

Keith Scott
scott@thyme.jpl.nasa.gov

Newsgroups: gnu.gcc.help
From: mckelvey@suite.com
Subject: GCC on AS/400?
Reply-To: mckelvey@suite.com
Organization: Suite Software, Anaheim CA.
Date: Mon, 16 Nov 1992 18:11:36 GMT

My boss has asked me to find out if anyone has ported GCC to IBM MVS and AS/400  
 
boxes.  I can see that those choices are not standard in 2.2, but then, neither is OS/2, and OS/2 ports do exist.  Does anyone have any information?
From: stherien@sobeco.com (s.therien)
Newsgroups: gnu.gcc.help
Subject: Problem compiling gcc2.3.1 on mips-mips-sysv
Keywords: gcc
Date: 21 Nov 92 21:12:34 GMT
Organization: Sobeco Ernst & Young

I have the following problem while compiling gcc 2.3.1 on a MIPS.
I configured the system with "configure --target=mips-mips-sysv"
and I had no problem. Then I start compiling with the following
command "make LANGUAGES=c". After a while, cc fail to
compile c-lex.c by giving a Bus error. 

The os is : RISC/os (UMIPS) 4.52
The compiler is : MIPS Computer System 2.20

Any idea why this bus error append ?
-- 
	Sylvain Therien	               stherien@sobeco.com
From: chanl@bali.amd.com (Chan Lee)
Newsgroups: gnu.gcc.help
Subject: GNU Objective-C status
Summary: seeking information of GNU Objective-C
Date: 17 Nov 92 23:57:05 GMT
Distribution: usa
Organization: Advanced Micro Devices, Inc., Austin, Texas

Is anyone out there knowing the general status of the GNU's Objective-C
implementation?  I have some Objective-C code from NexT machine and
want to port to SUN, trying to maintain the Objective-C paradigm
(don't want to rewrite in C++).  I have all of the GNU source files
but don't have any information available.  Simply put, I don't even
know where the definition of the root object, 'Object', is in.
If it is supported and if some information is available, would it
be possible to share with?

Chan Lee
 
===============================================================================
 Chan Lee, Member of Technical Staff		Voice: (512)462-5569
 Am29000 RISC Systems Engineering
 MS 573, Advanced Micro Devices			Fax:   (512)462-5031
 5900 E. Ben White Blvd.
 Austin, Texas 78741				Email: chanl@bali.amd.com
===============================================================================
From: maheswar@ece.ucdavis.edu (Kapilan Maheswaran)
Newsgroups: gnu.gcc.help
Subject: RTL INSTRUMENTATION IN GCC TO OBTAIN BLOCK FREQUENCIES
Date: 19 Nov 92 09:11:53 GMT
Distribution: usa
Organization: U.C. Davis - Department of Electrical Engineering and Computer Science
Originator: maheswar@madrone.eecs.ucdavis.edu

Article 2353 (42 more) in gnu.gcc.help:
From: maheswar@eecs.ucdavie.edu (Kapilan Maheswaran)  
Newsgroups: gnu.gcc.help
Subject: RTL Instrumentation  
Keywords: GCC, RTL, Instrumentation  
Date: 18 Nov 92 12:28:18 GMT
Organization: University of California, Davis of EEC Dept
Originator: maheswar@eecs.ucdavie.edu


Hello, 
I have been trying to intrument RTL code to get profile data(e.g.
block frequency) and I am not getting anywhere.  I want to use a probe
(a counter) in the RTL code and store the block counts in an array in RTL. 
Please help.
From: jimlynch@netcom.com (Jim Lynch)
Newsgroups: gnu.gcc.help
Subject: I did it (again)...
Date: 18 Nov 92 13:49:42 GMT
Distribution: gnu
Organization: Netcom - Online Communication Services  (408 241-9760 guest)

I got gnu to compile itself and compare to itself with no errors;
but the LANGUAGES variable was c only. I'm gonna try C++ now...
BTW, the config was for a sparc-sun-sunos4.1.3.......
From: ivor@utdallas.edu (Ivor Page)
Newsgroups: gnu.gcc.help
Subject: two trivial qns
Date: 18 Nov 92 09:57:47 GMT
Distribution: gnu
Organization: GNUs Not Usenet


Does g++ support manipulators? the include file just has a
comment in it. If yes, how do I "include" them.

Is there a simple graphics library for g++ to work with X?
I want to do ray tracing, so just open a window and set pixels
will do.
From: cmaeda+@cs.cmu.edu (Christopher Maeda)
Newsgroups: gnu.gcc.help
Subject: precompiled header files in gcc 2.3.1 ???
Date: 23 Nov 92 20:29:27 GMT
Organization: School of Computer Science, Carnegie Mellon


I see that cccp.c has code to handle precompiled header files but the
documentation doesn't mention it.

How do you use these? 

-- 
Chris Maeda, Grad Student and RetroGrouch <cmaeda@cs.cmu.edu>
"A unix signature isn't a return address, it's the ASCII equivalent of
a black velvet clown painting. It's a rectangle of carets surrounding
a quote from a literary giant of weeniedom like Heinlein or Dr. Who."
Newsgroups: gnu.gcc.help
From: rms@gnu.ai.mit.edu (Richard Stallman)
Subject: Problem compiling gcc2.3.1 on mips-mips-sysv
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sat, 21 Nov 1992 12:25:43 GMT

If GCC crashes when you build it, don't post a message on gnu.gcc.help.
That is a bug, and what you should do is read the Bugs chapter
in the GCC manual and then mail a bug report to bug-gcc@prep.ai.mit.edu.
Newsgroups: gnu.gcc.help
From: jtsilla@damon.ccs.northeastern.edu (James Tsillas)
Subject: Looking for a switch to turn off builtin decl warnings.
Organization: GNUs Not Usenet
Distribution: gnu
Date: Mon, 23 Nov 1992 04:45:27 GMT

   Date: Sun, 22 Nov 92 23:02:36 -0500
   From: rms@gnu.ai.mit.edu (Richard Stallman)

   If you get frequent warnings about built-in functions in GCC 2.3,
   chances are some bug is responsible.  The only way anyone can find out
   is if you send a precise bug report.  So please do that.  Papering
   over the problem with an option will avoid getting to the bottom of
   things.


I don't consider this to be a bug. The warnings are due to our
definition of several functions which conflict with the builtin types.
We have a function 'sin' for example which accept input from a tty
stream. We get a warning in almost every file because sin is implicitly
declared as a builtin. The warnings don't do any harm, they are just
annoying.

We are not running a Unix-like OS. We are using GCC in our real time OS
which we embed in our router. This means we do not have the same calling
interface that one would normally find, so we tend to get more than an
average number of warnings for builtin declarations.

best regards,
-Jim.
From: batavia@girtab.usc.edu (Parag Batavia)
Newsgroups: gnu.gcc.help
Subject: 1.39 availability
Date: 19 Nov 1992 13:01:42 -0800
Organization: University of Southern California, Los Angeles, CA
NNTP-Posting-Host: girtab.usc.edu

Hi...I'm sorry to be asking this here, but I've already checked archie and
the major GNU sites. I'm looking for the source to gcc-1.39. I've been able
to find 1.40 and 1.42, and diffs from 1.39 to 1.42, but I can't find the
1.39(or 1.38) distribution. Are there any sites which still have it? Thank
you...

Parag Batavia
USC Robotics Lab

parag@mensa.usc.edu
batavia@usc.edu
Newsgroups: gnu.gcc.help,comp.sys.sun.apps
From: ellis@nova.gmi.edu (Stew Ellis)
Subject: Followup to "What is GCC 1.42 good for on SPARC?"
Organization: GMI Engineering&Management Institute, Flint, MI
Date: Wed, 18 Nov 1992 02:09:14 GMT

The answer to the above turned out to be "very little."  A number of kind
helpful souls suggested -fpcc-struct-return and -traditional.  Neither of
these was enough to get the two troublesome applications to compile
correctly.  The two apps were xfractint and an ftp client with readline
support.  Neither would operate correctly with 1.42.  I spent a few hours
last night and this morning compiling and installing the C part of GCC 2.3.1
and am happy to report that both apps compile without a hitch.

  I have been reading the bug reports in g.g.bugs and was somewhat afraid of
them, that was why I installed 1.42, which was characterized as a stable
finished product rather than alpha or beta.  I still wonder what good 1.42
is on SPARC?  How fast do bug fixes come out on GCC?  Should I stay with
2.3.1 or should I backgrade to 2.2.2?  


--
--                                                        ___________________
  R.Stewart(Stew) Ellis, Assoc.Prof., (Off)313-762-9765  /   _____  ______ 
  Humanities & Social Science,  GMI Eng.& Mgmt. Inst.   /        / /  /  / /
  Flint, MI 48504      ellis@nova.gmi.edu              /________/ /  /  / /
Newsgroups: gnu.gcc.help
From: eks@daimi.aau.dk (Eigil Krogh S|rensen)
Subject: ld error with index and rindex in cccp
Organization: DAIMI: Computer Science Department, Aarhus University, Denmark
Date: Sat, 21 Nov 92 16:46:09 GMT

I'm trying to compile gcc-2.3.1. Here is what happens:

vki68 eks $ configure --target=3300
Linked `config.h' to `./config/xm-mot3300.h'
Linked `tm.h' to `./config/mot3300.h'
Linked `md' to `./config/m68k.md'
Linked `aux-output.c' to `./config/m68k.c'
Linked `tconfig.h' to `./config/xm-mot3300.h'
Linked `hconfig.h' to `./config/xm-mot3300.h'
Created `Makefile'.
Links are now set up for target m68k-motorola-sysv.
vki68 eks $ make CC=gcc LANGUAGES=c
        gcc  -DIN_GCC   -g     -I. -I. -I./config \
          -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/3300/`sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ./version.c`/include\" \
          -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\" \
          -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
          -DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/3300/`sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ./version.c`/sys-include\" \
          -DTOOLDIR=\"/usr/local/3300/\" \
          -c `echo ./cccp.c | sed 's,^\./,,'`
        gcc  -DIN_GCC   -g     -I. -I. -I./config -c ./cexp.c
        gcc -c  -DIN_GCC   -g     -I. -I. -I./config version.c
        gcc -c  -DIN_GCC   -g     -I. -I. -I./config obstack.c
        gcc  -DIN_GCC   -g   -o cccp cccp.o cexp.o version.o obstack.o ` case "gcc" in "cc") echo  ;; esac `  
undefined                       first referenced
 symbol                             in file
index                               cccp.o
rindex                              cccp.o
ld fatal: Symbol referencing errors. No output written to cccp
*** Error code 1

Stop.
vki68 eks $ 


Where should index and rindex be found or why are they included in cccp.c
when found nowhere ?


Thank you in advance


--- Eigil