Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at

Bug 1278902

Summary: gdb- is FTBFS on aarch
Product: [Fedora] Fedora Reporter: Peter Robinson <pbrobinson>
Component: gdbAssignee: Jan Kratochvil <jan.kratochvil>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: high    
Version: rawhideCC: gbenson, jan.kratochvil, palves, pmuldoon, sergiodj, tom
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: gdb- Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-08 09:55:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 922257    

Description Peter Robinson 2015-11-06 17:17:46 UTC

gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -DDNF_DEBUGINFO_INSTALL    -I. -I../../gdb -I../../gdb/common -I../../gdb/config -DLOCALEDIR="\"/usr/share/locale\"" -DHAVE_CONFIG_H -I../../gdb/../include/opcode -I../../gdb/../opcodes/..   -I../bfd -I../../gdb/../bfd -I../../gdb/../include -I../libdecnumber -I../../gdb/../libdecnumber  -I../../gdb/gnulib/import -Ibuild-gnulib/import   -DTUI=1   -pthread -I/usr/include/guile/2.0  -I/usr/include/python3.4m -I/usr/include/python3.4m -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wpointer-sign -Wmissing-prototypes -Wdeclaration-after-statement -Wmissing-parameter-type -Wold-style-declaration -Wold-style-definition -Wformat-nonliteral -Wno-unused -Werror -c -o aarch64-linux.o -MT aarch64-linux.o -MMD -MP -MF .deps/aarch64-linux.Tpo ../../gdb/nat/aarch64-linux.c
../../gdb/nat/aarch64-linux-hw-point.c:533:1: error: conflicting types for 'aarch64_handle_watchpoint'
 aarch64_handle_watchpoint (enum target_hw_bp_type type, CORE_ADDR addr,
In file included from ../../gdb/nat/aarch64-linux-hw-point.c:23:0:
../../gdb/nat/aarch64-linux-hw-point.h:170:5: note: previous declaration of 'aarch64_handle_watchpoint' was here
 int aarch64_handle_watchpoint (enum target_hw_bp_type type, CORE_ADDR addr,
../../gdb/nat/aarch64-linux-hw-point.c:583:1: error: conflicting types for 'aarch64_show_debug_reg_state'
 aarch64_show_debug_reg_state (struct aarch64_debug_reg_state *state,
In file included from ../../gdb/nat/aarch64-linux-hw-point.c:23:0:
../../gdb/nat/aarch64-linux-hw-point.h:177:6: note: previous declaration of 'aarch64_show_debug_reg_state' was here
 void aarch64_show_debug_reg_state (struct aarch64_debug_reg_state *state,
Makefile:2416: recipe for target 'aarch64-linux-hw-point.o' failed
make[2]: *** [aarch64-linux-hw-point.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/builddir/build/BUILD/gdb-'
Makefile:8176: recipe for target 'all-gdb' failed
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory '/builddir/build/BUILD/gdb-'
Makefile:845: recipe for target 'all' failed