Article View: gnu.gcc.bug
Article #1293gcc-2.3.1 breaks oleo-1.0
From: Joseph E. Sacco
Date: Fri, 06 Nov 1992 14:49
Date: Fri, 06 Nov 1992 14:49
53 lines
2731 bytes
2731 bytes
Tried to build oleo-1.0 using gcc-2.3.1 on a SUN IPX running OS-4.1.3.
After editing one include file to fix a bad prototype:
*** io_utils.h Thu Nov 5 10:37:58 1992
--- io_utils.h.dist Thu Nov 5 10:37:41 1992
***************
*** 24,30 ****
#ifdef __STDC__
extern void clear_spreadsheet ();
extern char *print_cell (CELL *);
! extern char *cell_value_string (CELLREF r, CELLREF c);
extern char *col_to_str (CELLREF);
extern char *flt_to_str (double);
char *backslash_a_string (char *, int);
--- 24,30 ----
#ifdef __STDC__
extern void clear_spreadsheet ();
extern char *print_cell (CELL *);
! extern char *cell_value_string (int r, int c);
extern char *col_to_str (CELLREF);
extern char *flt_to_str (double);
char *backslash_a_string (char *, int);
I ran into an alignment error:
.
.
.
eileen% gcc -v -O -c -g -DSTDC_HEADERS=1 -DHAVE_X11_X_H=1 -DHAVE_UALARM=1 -DHAVE_SETITIMER=1 -DHAVE_RENAME=1 -DHAVE_VPRINTF=1 io_utils.c
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3/2.3.1/specs
gcc version 2.3.1
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3/2.3.1/cpp -lang-c -v -DSTDC_HEADERS=1 -DHAVE_X11_X_H=1 -DHAVE_UALARM=1 -DHAVE_SETITIMER=1 -DHAVE_RENAME=1 -DHAVE_VPRINTF=1 -undef -D__GNUC__=2 -Dsparc -Dsun -Dunix -D__sparc__ -D__sun__ -D__unix__ -D__sparc -D__sun -D__unix -D__OPTIMIZE__ -g io_utils.c /usr/tmp/cca12771.i
GNU CPP version 2.3.1 (sparc)
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3/2.3.1/cc1 /usr/tmp/cca12771.i -quiet -dumpbase io_utils.c -g -O -version -o /usr/tmp/cca12771.s
GNU C version 2.3.1 (sparc) compiled by GNU C version 2.3.1.
as -o io_utils.o /usr/tmp/cca12771.s
as: "/usr/tmp/cca12771.s", line 111: error: location counter not on word boundary
gcc: io_utils.o: No such file or directory
Note that this code compiles and runs under SUN's C-compiler.
-Joseph
--
Dr. Joseph E. Sacco | UUCP: ...!uunet!pws.ma30.bull.com!eileen!sacco
Mitchell & Gauthier Associates | Internet: sacco@mga.com
200 Baker Avenue | Fax: (508)-369-0013
Concord, MA 01742-2100 | Voice: (508)-369-5115
Technical Details
Message-ID:
<9211070046.AA09089@slug.unidesk.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!mga.COM!saccoShow Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!mga.COM!sacco From: sacco@mga.COM (Joseph E. Sacco) Subject: gcc-2.3.1 breaks oleo-1.0 Message-ID: <9211070046.AA09089@slug.unidesk.com> Sender: gnulists@ai.mit.edu Reply-To: <sacco@mga.com> Organization: GNUs Not Usenet Distribution: gnu Date: Fri, 6 Nov 1992 14:49:37 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 54