bug-gdb
[Top][All Lists]
Advanced

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

gdb 6.8: compilation problem son AIX 5.1 with native cc


From: Stuart Kemp
Subject: gdb 6.8: compilation problem son AIX 5.1 with native cc
Date: Thu, 5 Jun 2008 10:48:52 -0500

Building gdb 6.8 on AIX 5.1 using native cc V8.0
Configured as: ./configure, which selected "powerpc-ibm-aix5.1.0.0"

cc -qversion:
  IBM XL C/C++ Enterprise Edition V8.0 for AIX 
  Version: 08.00.0000.0017

ERRORS:

"words.h", line 81.9: 1506-166 (S) Definition of function natural64
requires
parentheses.
 + Problem: "natural64" is not defined when using cc; should be able to
   use "int64_t", etc.

WARNINGS:

".././libiberty/config.h", line 435.9: 1506-236 (W) Macro name inline
has been redefined.
".././libiberty/config.h", line 435.9: 1506-358 (I) "inline" is defined
on line 182 of .././libiberty/../include/ansidecl.h.

"dcigettext.c", line 941.26: 1506-280 (W) Function argument assignment
between types "const char**" and "char**" is not allowed.


"device.h", line 730.17: 1506-120 (W) Function cannot return a volatile
qualified type.

"device.c", line 1820.1: 1506-120 (W) Function cannot return a volatile
qualified type.

"../.././sim/ppc/../../include/ansidecl.h", line 247.10: 1506-236 (W)
Macro name __attribute__ has been redefined.
"../.././sim/ppc/../../include/ansidecl.h", line 247.10: 1506-358 (I)
"__attribute__" is defined on line 113 of basics.h.

"/usr/include/sys/machine.h", line 116.14: 1506-236 (W) Macro name
CR_FIELD has been redefined.
"/usr/include/sys/machine.h", line 116.14: 1506-358 (I) "CR_FIELD" is
defined on line 271 of idecode_expression.h.

"semantics.h", line 33.9: 1506-236 (W) Macro name PAGE_SIZE has been
redefined.
"semantics.h", line 33.9: 1506-358 (I) "PAGE_SIZE" is defined on line
342 of /usr/include/sys/limits.h.


100's like the following:
"icache.c", line 100.27: 1506-068 (W) Operation between types "void*"
and "unsigned int(*)(struct _cpu*,struct _idecode_cache*,unsigned int)"
is not allowed.


100's like the following:
"idecode.c", line 56.33: 1506-196 (W) Initialization between types
"void*" and "unsigned int(*)(struct _cpu*,unsigned int,unsigned
int,struct _idecode_cache*)" is not allowed.


"hw_memory.c", line 193.75: 1506-280 (W) Function argument assignment
between types "int*" and "unsigned int*" is not allowed.
"hw_memory.c", line 201.42: 1506-280 (W) Function argument assignment
between types "int*" and "unsigned int*" is not allowed.
"hw_memory.c", line 203.42: 1506-280 (W) Function argument assignment
between types "int*" and "unsigned int*" is not allowed.

"hw_opic.c", line 427.47: 1506-280 (W) Function argument assignment
between types "int*" and "unsigned int*" is not allowed.
"hw_opic.c", line 430.50: 1506-280 (W) Function argument assignment
between types "int*" and "unsigned int*" is not allowed.

"aix-thread.c", line 357.46: 1506-280 (W) Function argument assignment
between types "int*" and "unsigned int*" is not allowed.
"aix-thread.c", line 1219.46: 1506-280 (W) Function argument assignment
between types "int*" and "unsigned int*" is not allowed.
"aix-thread.c", line 1536.41: 1506-280 (W) Function argument assignment
between types "int*" and "unsigned int*" is not allowed.
"aix-thread.c", line 1538.42: 1506-280 (W) Function argument assignment
between types "int*" and "unsigned int*" is not allowed.


"cp-name-parser.y", line 1432.29: 1506-235 (W) Incorrect escape sequence
\e. \ ignored.

"ada-exp.y", line 1158.22: 1506-196 (W) Initialization between types
"struct symbol*" and "char*" is not allowed.

"addrmap.c", line 226.18: 1506-196 (W) Initialization between types
"unsigned long long*" and "char*" is not allowed.
"addrmap.c", line 417.9: 1506-068 (W) Operation between types "struct
addrmap_fixed*" and "char*" is not allowed.
"addrmap.c", line 512.31: 1506-196 (W) Initialization between types
"struct addrmap_mutable*" and "char*" is not allowed.

"regcache.c", line 221.5: 1506-068 (W) Operation between types "signed
char*" and "unsigned char*" is not allowed.

"charset.c", line 442.21: 1506-280 (W) Function argument assignment
between types "const char**" and "char**" is not allowed.

"block.c", line 251.9: 1506-068 (W) Operation between types "struct
block_namespace_info*" and "char*" is not allowed.
"block.c", line 299.20: 1506-196 (W) Initialization between types
"struct block*" and "char*" is not allowed.

"symmisc.c", line 393.38: 1506-280 (W) Function argument assignment
between types "const void*" and "void(*)(struct partial_symtab*)" is not
allowed.

"dictionary.c", line 358.10: 1506-068 (W) Operation between types
"struct dictionary*" and "char*" is not allowed.
"dictionary.c", line 370.11: 1506-068 (W) Operation between types
"struct symbol**" and "char*" is not allowed.
"dictionary.c", line 422.10: 1506-068 (W) Operation between types
"struct dictionary*" and "char*" is not allowed.
"dictionary.c", line 433.8: 1506-068 (W) Operation between types "struct
symbol**" and "char*" is not allowed.

"macrotab.c", line 888.7: 1506-068 (W) Operation between types "struct
macro_table*" and "char*" is not allowed.

"gdbarch.c", line 373.11: 1506-068 (W) Operation between types "struct
gdbarch*" and "char*" is not allowed.

"gdbtypes.c", line 164.12: 1506-068 (W) Operation between types "struct
type*" and "char*" is not allowed.
"gdbtypes.c", line 167.29: 1506-068 (W) Operation between types "struct
main_type*" and "char*" is not allowed.
"gdbtypes.c", line 201.12: 1506-068 (W) Operation between types "struct
type*" and "char*" is not allowed.

"bcache.c", line 234.7: 1506-196 (W) Initialization between types
"struct bstring*" and "char*" is not allowed.

"config.h", line 620.9: 1506-236 (W) Macro name inline has been
redefined.
"config.h", line 620.9: 1506-358 (I) "inline" is defined on line 182 of
.././gdb/../include/ansidecl.h.

"dwarf2read.c", line 1093.8: 1506-068 (W) Operation between types
"struct dwarf2_per_objfile*" and "char*" is not allowed.
"dwarf2read.c", line 1666.15: 1506-068 (W) Operation between types
"struct dwarf2_per_cu_data*" and "char*" is not allowed.
"dwarf2read.c", line 1685.5: 1506-068 (W) Operation between types
"struct dwarf2_per_cu_data**" and "char*" is not allowed.
"dwarf2read.c", line 5281.22: 1506-068 (W) Operation between types
"struct abbrev_info**" and "char*" is not allowed.
"dwarf2read.c", line 5342.25: 1506-068 (W) Operation between types
"struct attr_abbrev*" and "char*" is not allowed.
"dwarf2read.c", line 5464.12: 1506-068 (W) Operation between types
"struct partial_die_info*" and "char*" is not allowed.
"dwarf2read.c", line 5616.16: 1506-068 (W) Operation between types
"struct partial_die_info*" and "char*" is not allowed.
"dwarf2read.c", line 9836.13: 1506-068 (W) Operation between types
"struct dwarf2_loclist_baton*" and "char*" is not allowed.
"dwarf2read.c", line 9856.13: 1506-068 (W) Operation between types
"struct dwarf2_locexpr_baton*" and "char*" is not allowed.
"dwarf2read.c", line 10146.9: 1506-068 (W) Operation between types
"struct dwarf2_offset_and_type*" and "char*" is not allowed.

"dwarf2-frame.c", line 588.60: 1506-280 (W) Function argument assignment
between types "unsigned long long*" and "long long*" is not allowed.

"ada-lang.c", line 4138.12: 1506-1332 (W) A function with return type
"struct ada_symbol_info*" may not return a value of type "char*".

"cp-valprint.c", line 565.34: 1506-280 (W) Function argument assignment
between types "int*" and "unsigned int*" is not allowed.


"utils.c", line 1413.14: 1506-235 (W) Incorrect escape sequence \%. \
ignored.

"cp-namespace.c", line 309.9: 1506-196 (W) Initialization between types
"struct using_direct*" and "char*" is not allowed.
"cp-namespace.c", line 656.6: 1506-068 (W) Operation between types
"struct blockvector*" and "char*" is not allowed.
"cp-namespace.c", line 800.11: 1506-068 (W) Operation between types
"struct symbol*" and "char*" is not allowed.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]