public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Error building gcc/g++ 4.1.1 on AIX 5.2
@ 2007-06-25  9:53 Michael Helmich
  2007-06-25 15:44 ` Michael Helmich
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Helmich @ 2007-06-25  9:53 UTC (permalink / raw)
  To: gcc-help; +Cc: michael.helmich

Hi,

I'm trying to compile gcc/g++ 4.1.1 on AIX 5.2. I
called configure with parameters --disable-aix64
--disable-nls --enable-languages=c++. At first
everything seams to work fine, but then I get lots of
errors while compiling
<builddir>/gcc/insn-conditions.c, like 

<srcdir>/gcc/config/rs6000.md:4695: error
'TARGET_POWER2' undeclared 
here (not in a function) 
<srcdir>/gcc/config/rs6000.md:4695: error
'TARGET_HARD_FLOAT' 
undeclared here (not in a function) 

followed by 

<srcdir>/gcc/config/rs6000.md:4696: warning: missing
initializer 
<srcdir>/gcc/config/rs6000.md:4696: warning: (near
initialization for 
'insn_conditions[1].value') 

The following symbols are reported as being
undeclared:

'TARGET_POWER2'
'TARGET_HARD_FLOAT'
'TARGET_UPDATE'
'TARGET_64BIT'
'TARGET_POWERPC'
'TARGET_PPC_GFXOPT'
'TARGET_XL_COMPAT'
'TARGET_PPC_GPOPT'
'flag_finite_math_only'
'flag_unsafe_math_optimizations'
'TARGET_POWERPC64'
'TARGET_STRING'
'TARGET_FUSED_MADD'
'TARGET_SOFT_FLOAT'
'TARGET_MULTIPLE'
'TARGET_POPCNTB'
'TARGET_MINIMAL_TOC'
'TARGET_SCHED_PROLOG'
'flag_trapping_math'

I found out that in previous versions of gcc at least
the TARGET_xxxxx symbols where defined in
<srcdir>/gcc/config/rs6000/rs6000.h, but in 4.1.1 this
is no longer the case.

Any ideas what's going wrong here? 

Michael 


__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
http://mail.yahoo.com 

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

* Re: Error building gcc/g++ 4.1.1 on AIX 5.2
  2007-06-25  9:53 Error building gcc/g++ 4.1.1 on AIX 5.2 Michael Helmich
@ 2007-06-25 15:44 ` Michael Helmich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Helmich @ 2007-06-25 15:44 UTC (permalink / raw)
  To: gcc-help

Hi,

I found the answer myself in mailing list gnu-bugs.
The reason is a bug in gawk (see GCC Bugzilla Bug
19601). After installing a new version of gawk (3.1.5)
the error does no longer occur.

Michael

--- Michael Helmich <aixrepairman@yahoo.de> schrieb:

> Hi,
> 
> I'm trying to compile gcc/g++ 4.1.1 on AIX 5.2. I
> called configure with parameters --disable-aix64
> --disable-nls --enable-languages=c++. At first
> everything seams to work fine, but then I get lots
> of
> errors while compiling
> <builddir>/gcc/insn-conditions.c, like 
> 
> <srcdir>/gcc/config/rs6000.md:4695: error
> 'TARGET_POWER2' undeclared 
> here (not in a function) 
> <srcdir>/gcc/config/rs6000.md:4695: error
> 'TARGET_HARD_FLOAT' 
> undeclared here (not in a function) 
> 
> followed by 
> 
> <srcdir>/gcc/config/rs6000.md:4696: warning: missing
> initializer 
> <srcdir>/gcc/config/rs6000.md:4696: warning: (near
> initialization for 
> 'insn_conditions[1].value') 
> 
> The following symbols are reported as being
> undeclared:
> 
> 'TARGET_POWER2'
> 'TARGET_HARD_FLOAT'
> 'TARGET_UPDATE'
> 'TARGET_64BIT'
> 'TARGET_POWERPC'
> 'TARGET_PPC_GFXOPT'
> 'TARGET_XL_COMPAT'
> 'TARGET_PPC_GPOPT'
> 'flag_finite_math_only'
> 'flag_unsafe_math_optimizations'
> 'TARGET_POWERPC64'
> 'TARGET_STRING'
> 'TARGET_FUSED_MADD'
> 'TARGET_SOFT_FLOAT'
> 'TARGET_MULTIPLE'
> 'TARGET_POPCNTB'
> 'TARGET_MINIMAL_TOC'
> 'TARGET_SCHED_PROLOG'
> 'flag_trapping_math'
> 
> I found out that in previous versions of gcc at
> least
> the TARGET_xxxxx symbols where defined in
> <srcdir>/gcc/config/rs6000/rs6000.h, but in 4.1.1
> this
> is no longer the case.
> 
> Any ideas what's going wrong here? 
> 
> Michael 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Sie sind Spam leid? Yahoo! Mail verfügt über einen
> herausragenden Schutz gegen Massenmails. 
> http://mail.yahoo.com 
> 


__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
http://mail.yahoo.com 

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

end of thread, other threads:[~2007-06-25 12:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-25  9:53 Error building gcc/g++ 4.1.1 on AIX 5.2 Michael Helmich
2007-06-25 15:44 ` Michael Helmich

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