Re: Error building gcc/g++ 4.1.1 on AIX 5.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx> 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 

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux