public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* egcs-980115, solaris-5.4 bootstrap fails in calls.c
@ 1998-01-19  2:25 Chris Johns
  1998-01-20  9:01 ` Gerald Pfeifer
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Johns @ 1998-01-19  2:25 UTC (permalink / raw)
  To: egcs list

Hi

Tring to bootstrap-lean egcs-980115 with gcc-2.7.2 on solaris-5.4. I got
following errors from calls.c:

make[2]: Entering directory `/opt/compilers/src/solaris-egcs-980115/gcc'
gcc -c  -DIN_GCC  -DSVR4  -g  -DHAVE_CONFIG_H     -I.
-I../../egcs-980115/gcc -I../../egcs-980115/gcc/config
../../egcs-980115/gcc/calls.c
../../egcs-980115/gcc/calls.c:1736: warning: preprocessing directive not
recognized within macro arg
../../egcs-980115/gcc/calls.c:1736: warning: preprocessing directive not
recognized within macro arg
../../egcs-980115/gcc/calls.c:1736: warning: preprocessing directive not
recognized within macro arg
../../egcs-980115/gcc/calls.c:2228: warning: preprocessing directive not
recognized within macro arg
../../egcs-980115/gcc/calls.c:2228: warning: preprocessing directive not
recognized within macro arg
../../egcs-980115/gcc/calls.c:2228: warning: preprocessing directive not
recognized within macro arg
../../egcs-980115/gcc/calls.c:2587: warning: preprocessing directive not
recognized within macro arg
../../egcs-980115/gcc/calls.c:2587: warning: preprocessing directive not
recognized within macro arg
../../egcs-980115/gcc/calls.c:2587: warning: preprocessing directive not
recognized within macro arg
../../egcs-980115/gcc/calls.c:2751: warning: preprocessing directive not
recognized within macro arg
../../egcs-980115/gcc/calls.c:2751: warning: preprocessing directive not
recognized within macro arg
../../egcs-980115/gcc/calls.c:2751: warning: preprocessing directive not
recognized within macro arg
../../egcs-980115/gcc/calls.c:3155: warning: preprocessing directive not
recognized within macro arg
../../egcs-980115/gcc/calls.c:3155: warning: preprocessing directive not
recognized within macro arg
../../egcs-980115/gcc/calls.c:3155: warning: preprocessing directive not
recognized within macro arg
../../egcs-980115/gcc/calls.c:3345: warning: preprocessing directive not
recognized within macro arg
../../egcs-980115/gcc/calls.c:3345: warning: preprocessing directive not
recognized within macro arg
../../egcs-980115/gcc/calls.c:3345: warning: preprocessing directive not
recognized within macro arg
../../egcs-980115/gcc/calls.c: In function `expand_call':
../../egcs-980115/gcc/calls.c:1729: undefined or invalid # directive
../../egcs-980115/gcc/calls.c:1732: undefined or invalid # directive
../../egcs-980115/gcc/calls.c:1733: parse error before
`plus_constant_wide'
../../egcs-980115/gcc/calls.c:1735: undefined or invalid # directive
../../egcs-980115/gcc/calls.c:1736: parse error before `)'
../../egcs-980115/gcc/calls.c:2221: undefined or invalid # directive
../../egcs-980115/gcc/calls.c:2224: undefined or invalid # directive
../../egcs-980115/gcc/calls.c:2225: parse error before
`plus_constant_wide'
../../egcs-980115/gcc/calls.c:2227: undefined or invalid # directive
../../egcs-980115/gcc/calls.c:2228: parse error before `)'
../../egcs-980115/gcc/calls.c: In function `emit_library_call':
../../egcs-980115/gcc/calls.c:2580: undefined or invalid # directive
../../egcs-980115/gcc/calls.c:2583: undefined or invalid # directive
../../egcs-980115/gcc/calls.c:2584: parse error before
`plus_constant_wide'
../../egcs-980115/gcc/calls.c:2586: undefined or invalid # directive
../../egcs-980115/gcc/calls.c:2587: parse error before `)'
../../egcs-980115/gcc/calls.c:2746: undefined or invalid # directive
../../egcs-980115/gcc/calls.c:2748: undefined or invalid # directive
../../egcs-980115/gcc/calls.c:2749: parse error before
`plus_constant_wide'
../../egcs-980115/gcc/calls.c:2750: undefined or invalid # directive
../../egcs-980115/gcc/calls.c:2751: parse error before `)'
../../egcs-980115/gcc/calls.c: In function `emit_library_call_value':
../../egcs-980115/gcc/calls.c:3148: undefined or invalid # directive
../../egcs-980115/gcc/calls.c:3151: undefined or invalid # directive
../../egcs-980115/gcc/calls.c:3152: parse error before
`plus_constant_wide'
../../egcs-980115/gcc/calls.c:3154: undefined or invalid # directive
../../egcs-980115/gcc/calls.c:3155: parse error before `)'
../../egcs-980115/gcc/calls.c:3340: undefined or invalid # directive
../../egcs-980115/gcc/calls.c:3342: undefined or invalid # directive
../../egcs-980115/gcc/calls.c:3343: parse error before
`plus_constant_wide'
../../egcs-980115/gcc/calls.c:3344: undefined or invalid # directive
../../egcs-980115/gcc/calls.c:3345: parse error before `)'

It looks like the problem is with the '#ifdef ARGS_GROW_DOWNWARD' being
declared in macro 'memory_address', as the warning states.

---
 Chris Johns  Networks, Plessey Asia Pacfic Pty. Ltd.
  mailto:ccj@acm.org    mailto:cjohns@plessey.com.au

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

* Re: egcs-980115, solaris-5.4 bootstrap fails in calls.c
  1998-01-19  2:25 egcs-980115, solaris-5.4 bootstrap fails in calls.c Chris Johns
@ 1998-01-20  9:01 ` Gerald Pfeifer
  0 siblings, 0 replies; 2+ messages in thread
From: Gerald Pfeifer @ 1998-01-20  9:01 UTC (permalink / raw)
  To: egcs; +Cc: Chris Johns

On Sun, 18 Jan 1998, Chris Johns wrote:
> Tring to bootstrap-lean egcs-980115 with gcc-2.7.2 on solaris-5.4. I got
> following errors from calls.c:
> 
> make[2]: Entering directory `/opt/compilers/src/solaris-egcs-980115/gcc'
> gcc -c  -DIN_GCC  -DSVR4  -g  -DHAVE_CONFIG_H     -I.
> -I../../egcs-980115/gcc -I../../egcs-980115/gcc/config
> ../../egcs-980115/gcc/calls.c
> ../../egcs-980115/gcc/calls.c:1736: warning: preprocessing directive not
> recognized within macro arg

I was just going to report the very same problem in a similiar
configuration, but noticed that this has already been fixed in
the CVS tree:

  Fri Jan 16 10:16:10 1998  Jeffrey A Law  (law@cygnus.com)

        * calls.c (expand_call): Move #ifdef code out of macro argument
        lists.
        (emit_library_call, emit_library_call_value): Likewise.

Thanks a lot, Jeff!
Gerald
-- 
Gerald Pfeifer (Jerry)      Vienna University of Technology
pfeifer@dbai.tuwien.ac.at   http://www.dbai.tuwien.ac.at/~pfeifer/


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

end of thread, other threads:[~1998-01-20  9:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-19  2:25 egcs-980115, solaris-5.4 bootstrap fails in calls.c Chris Johns
1998-01-20  9:01 ` Gerald Pfeifer

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