[MacPorts] #36472: gdb build failure

MacPorts noreply at macports.org
Thu Oct 4 14:53:05 PDT 2012


#36472: gdb build failure
--------------------+----------------------
 Reporter:  mk@…    |      Owner:  dweber@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  gdb
--------------------+----------------------
 I just upgraded my install and gdb didn't build anymore. Here's what the
 log file returned:
 {{{
 :info:build make[3]: Leaving directory `/opt/macports-
 test/var/macports/build/_opt_macports-
 test_var_macports_sources_rsync.macports.org_release_ports_devel_gdb/gdb/work/gdb-7.5/gdb'
 :info:build /usr/bin/gcc-4.2 -pipe -O2 -I/opt/macports-test/include -arch
 x86_64   -I. -I. -I./common -I./config -DLOCALEDIR="\"/opt/macports-
 test/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode
 -I./../opcodes/.. -I./../read
 line/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber
 -I./../libdecnumber  -I./gnulib/import -Ibuild-gnulib/import   -DTUI=1
 -I/opt/macports-test/include -I/opt/macports-
 test/Library/Frameworks/Python.framework/Versions/2.
 7/include/python2.7 -I/opt/macports-
 test/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
 -Wno-pointer-sign -Wno-unused -Wunused-value -Wunu
 sed-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes
 -Wdeclaration-after-statement  -c -o gdb.o -MT gdb.o -MMD -MP -MF
 .deps/gdb.Tpo gdb.c
 :info:build /usr/bin/gcc-4.2 -pipe -O2 -I/opt/macports-test/include -arch
 x86_64   -I. -I. -I./common -I./config -DLOCALEDIR="\"/opt/macports-
 test/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode
 -I./../opcodes/.. -I./../read
 line/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber
 -I./../libdecnumber  -I./gnulib/import -Ibuild-gnulib/import   -DTUI=1
 -I/opt/macports-test/include -I/opt/macports-
 test/Library/Frameworks/Python.framework/Versions/2.
 7/include/python2.7 -I/opt/macports-
 test/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
 -Wno-pointer-sign -Wno-unused -Wunused-value -Wunu
 sed-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes
 -Wdeclaration-after-statement  -c -o amd64-tdep.o -MT amd64-tdep.o -MMD
 -MP -MF .deps/amd64-tdep.Tpo amd64-tdep.c
 :info:build In file included from symfile.h:24,:info:build
 from dictionary.h:26,:info:build                  from
 block.h:23,:info:build                  from amd64-tdep.c:26:
 :info:build symtab.h:149: error: expected specifier-qualifier-list before
 ‘ENUM_BITFIELD’
 :info:build symtab.h:341: error: expected specifier-qualifier-list before
 ‘ENUM_BITFIELD’
 :info:build In file included from symfile.h:24,
 :info:build                  from dictionary.h:26,
 :info:build                  from block.h:23,
 :info:build                  from amd64-tdep.c:26:
 :info:build symtab.h:586: error: expected specifier-qualifier-list before
 ‘ENUM_BITFIELD’
 :info:build /usr/bin/gcc-4.2 -pipe -O2 -I/opt/macports-test/include -arch
 x86_64   -I. -I. -I./common -I./config -DLOCALEDIR="\"/opt/macports-
 test/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode
 -I./../opcodes/.. -I./../read
 line/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber
 -I./../libdecnumber  -I./gnulib/import -Ibuild-gnulib/import   -DTUI=1
 -I/opt/macports-test/include -I/opt/macports-
 test/Library/Frameworks/Python.framework/Versions/2.
 7/include/python2.7 -I/opt/macports-
 test/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
 -Wno-pointer-sign -Wno-unused -Wunused-value -Wunu
 sed-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes
 -Wdeclaration-after-statement  -c -o i386-tdep.o -MT i386-tdep.o -MMD -MP
 -MF .deps/i386-tdep.Tpo i386-tdep.c
 :info:build In file included from value.h:488,
 :info:build                  from breakpoint.h:23,
 :info:build                  from inferior.h:37,
 :info:build                  from amd64-tdep.c:31:
 :info:build gdbtypes.h:402: error: expected specifier-qualifier-list
 before ‘ENUM_BITFIELD’
 :info:build gdbtypes.h:963: error: field ‘loc’ has incomplete type
 :info:build gdbtypes.h:966: error: expected specifier-qualifier-list
 before ‘ENUM_BITFIELD’
 :info:build gdbtypes.h:980: error: expected specifier-qualifier-list
 before ‘ENUM_BITFIELD’
 :info:build In file included from value.h:487,
 :info:build                  from breakpoint.h:23,
 :info:build                  from inferior.h:37,
 :info:build                  from i386-tdep.c:30:
 :info:build symtab.h:149: error: expected specifier-qualifier-list before
 ‘ENUM_BITFIELD’
 :info:build symtab.h:341: error: expected specifier-qualifier-list before
 ‘ENUM_BITFIELD’
 :info:build In file included from value.h:487,
 :info:build                  from breakpoint.h:23,
 :info:build                  from inferior.h:37,
 :info:build                  from i386-tdep.c:30:
 :info:build symtab.h:586: error: expected specifier-qualifier-list before
 ‘ENUM_BITFIELD’
 :info:build In file included from value.h:488,
 :info:build                  from breakpoint.h:23,
 :info:build                  from inferior.h:37,
 :info:build                  from i386-tdep.c:30:
 :info:build gdbtypes.h:402: error: expected specifier-qualifier-list
 before ‘ENUM_BITFIELD’
 :info:build gdbtypes.h:963: error: field ‘loc’ has incomplete type
 :info:build gdbtypes.h:966: error: expected specifier-qualifier-list
 before ‘ENUM_BITFIELD’
 :info:build gdbtypes.h:980: error: expected specifier-qualifier-list
 before ‘ENUM_BITFIELD’
 :info:build amd64-tdep.c: In function ‘amd64_non_pod_p’:
 :info:build amd64-tdep.c:437: error: ‘struct main_type’ has no member
 named ‘code’
 :info:build amd64-tdep.c:437: error: ‘struct main_type’ has no member
 named ‘type_specific_field’
 :info:build amd64-tdep.c:437: error: ‘struct main_type’ has no member
 named ‘type_specific’
 :info:build amd64-tdep.c:437: error: ‘struct main_type’ has no member
 named ‘type_specific’
 :info:build amd64-tdep.c: In function ‘amd64_classify_aggregate’:
 :info:build amd64-tdep.c:468: error: ‘struct main_type’ has no member
 named ‘code’
 :info:build amd64-tdep.c:470: error: ‘struct main_type’ has no member
 named ‘target_type’
 :info:build amd64-tdep.c:482: error: ‘struct main_type’ has no member
 named ‘code’
 :info:build amd64-tdep.c:482: error: ‘struct main_type’ has no member
 named ‘code’
 :info:build amd64-tdep.c:485: error: ‘struct main_type’ has no member
 named ‘nfields’
 :info:build amd64-tdep.c:487: error: ‘struct main_type’ has no member
 named ‘flds_bnds’
 :info:build amd64-tdep.c:488: error: ‘struct main_type’ has no member
 named ‘flds_bnds’
 :info:build amd64-tdep.c:490: error: ‘struct main_type’ has no member
 named ‘flds_bnds’
 :info:build amd64-tdep.c:495: error: ‘struct main_type’ has no member
 named ‘flds_bnds’
 :info:build amd64-tdep.c:498: error: ‘struct main_type’ has no member
 named ‘flds_bnds’
 :info:build amd64-tdep.c: In function ‘amd64_classify’:
 :info:build amd64-tdep.c:554: error: ‘struct main_type’ has no member
 named ‘code’
 :info:build make[2]: *** [amd64-tdep.o] Error 1
 :info:build make[2]: *** Waiting for unfinished jobs....
 :info:build i386-tdep.c: In function ‘i386_16_byte_align_p’:
 :info:build i386-tdep.c:2316: error: ‘struct main_type’ has no member
 named ‘code’
 :info:build i386-tdep.c:2317: error: ‘struct main_type’ has no member
 named ‘code’
 :info:build i386-tdep.c:2317: error: ‘struct main_type’ has no member
 named ‘flag_vector’
 :info:build i386-tdep.c:2320: error: ‘struct main_type’ has no member
 named ‘code’
 :info:build i386-tdep.c:2321: error: ‘struct main_type’ has no member
 named ‘target_type’
 :info:build i386-tdep.c:2322: error: ‘struct main_type’ has no member
 named ‘code’
 :info:build i386-tdep.c:2323: error: ‘struct main_type’ has no member
 named ‘code’
 :info:build i386-tdep.c:2326: error: ‘struct main_type’ has no member
 named ‘nfields’
 :info:build i386-tdep.c:2328: error: ‘struct main_type’ has no member
 named ‘flds_bnds’
 :info:build i386-tdep.c: In function ‘i386_extract_return_value’:
 :info:build i386-tdep.c:2465: error: ‘struct main_type’ has no member
 named ‘code’
 :info:build i386-tdep.c: In function ‘i386_store_return_value’:
 :info:build i386-tdep.c:2515: error: ‘struct main_type’ has no member
 named ‘code’
 :info:build i386-tdep.c: In function ‘i386_reg_struct_return_p’:
 :info:build i386-tdep.c:2592: error: ‘struct main_type’ has no member
 named ‘code’
 :info:build i386-tdep.c:2606: error: ‘struct main_type’ has no member
 named ‘nfields’
 :info:build i386-tdep.c:2608: error: ‘struct main_type’ has no member
 named ‘flds_bnds’
 :info:build i386-tdep.c:2609: error: ‘struct main_type’ has no member
 named ‘code’
 :info:build i386-tdep.c: In function ‘i386_return_value’:
 :info:build i386-tdep.c:2627: error: ‘struct main_type’ has no member
 named ‘code’
 :info:build i386-tdep.c:2671: error: ‘struct main_type’ has no member
 named ‘nfields’
 :info:build i386-tdep.c:2673: error: ‘struct main_type’ has no member
 named ‘flds_bnds’
 :info:build i386-tdep.c: In function ‘i386_ymm_type’:
 :info:build i386-tdep.c:2746: error: ‘struct main_type’ has no member
 named ‘flag_vector’
 :info:build i386-tdep.c:2747: error: ‘struct main_type’ has no member
 named ‘name’
 :info:build i386-tdep.c: In function ‘i386_mmx_type’:
 :info:build i386-tdep.c:2788: error: ‘struct main_type’ has no member
 named ‘flag_vector’
 :info:build i386-tdep.c:2789: error: ‘struct main_type’ has no member
 named ‘name’
 :info:build make[2]: *** [i386-tdep.o] Error 1
 .
 .
 .
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/36472>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list