public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* Test results for commit 9f2e07213aa91f1882112df3e0d227638b7a085b on branch master
@ 2015-02-17 10:37 sergiodj
  2015-02-17 10:42 ` Failures on Fedora-ppc64be-cc-with-index, " sergiodj
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: sergiodj @ 2015-02-17 10:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9f2e07213aa91f1882112df3e0d227638b7a085b ***

Author: Maxim Ostapenko <m.ostapenko@partner.samsung.com>
Branch: master
Commit: 9f2e07213aa91f1882112df3e0d227638b7a085b

Fix GDB build fail on Aarch64 when -fno-common is enabled
Current trunk GDB (and gdb-7.8.1 too) fails to build on Aarch64 when
-fno-common is enabled.  It fails during link stage due to multiple
definition of `tdesc_aarch64':

...
[  199s] aarch64-linux-nat.o: In function `initialize_tdesc_aarch64':
[  199s]
/home/abuild/rpmbuild/BUILD/gdb-7.8.1/gdb/features/aarch64.c:11:
multiple definition of `tdesc_aarch64'
[  199s]
aarch64-tdep.o:/home/abuild/rpmbuild/BUILD/gdb-7.8.1/gdb/objfiles.h:540:
first defined here
[  199s] aarch64-linux-nat.o: In function `initialize_tdesc_aarch64':
[  199s]
/home/abuild/rpmbuild/BUILD/gdb-7.8.1/gdb/features/aarch64.c:11:
multiple definition of `tdesc_aarch64'
[  199s]
aarch64-tdep.o:/home/abuild/rpmbuild/BUILD/gdb-7.8.1/gdb/objfiles.h:540:
first defined here
[  199s] collect2: error: ld returned 1 exit status
[  199s] make[2]: *** [gdb] Error 1
...

This happens because struct target_desc *tdesc_aarch64 is defined in
gdb/features/aarch64.c, which is included by two files
(gdb/aarch64-linux-nat.c and gdb/aarch64-tdep.c).

gdb/Changelog
2015-02-17  Max Ostapenko  <m.ostapenko@partner.samsung.com>

	PR gdb/17984
	* aarch64-linux-nat.c: Don't include features/aarch64.c anymore.
	(aarch64_linux_read_description): Remove initialize_tdesc_aarch64
	call.
	* aarch64-tdep.h (tdesc_aarch64): Declare.


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

end of thread, other threads:[~2015-02-17 11:22 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-17 10:37 Test results for commit 9f2e07213aa91f1882112df3e0d227638b7a085b on branch master sergiodj
2015-02-17 10:42 ` Failures on Fedora-ppc64be-cc-with-index, " sergiodj
2015-02-17 10:43 ` Failures on Fedora-x86_64-m32, " sergiodj
2015-02-17 10:43 ` Failures on Fedora-ppc64be-m64, " sergiodj
2015-02-17 11:05 ` Failures on Fedora-i686, " sergiodj
2015-02-17 11:06 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " sergiodj
2015-02-17 11:07 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, " sergiodj
2015-02-17 11:07 ` Failures on Debian-x86_64-cc-with-index, " sergiodj
2015-02-17 11:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, " sergiodj
2015-02-17 11:10 ` Failures on Fedora-ppc64le-m64, " sergiodj
2015-02-17 11:19 ` Failures on Debian-i686-native-gdbserver, " sergiodj
2015-02-17 11:47 ` Failures on Fedora-x86_64-native-gdbserver-m64, " sergiodj
2015-02-17 11:51 ` Failures on Fedora-x86_64-cc-with-index, " sergiodj
2015-02-17 12:00 ` Failures on Debian-x86_64-native-gdbserver-m64, " sergiodj

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