This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/17984] GDB fails to build on Aarch64 when -fno-common is enabled.
- From: "m.ostapenko at partner dot samsung.com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 16 Feb 2015 16:50:10 +0000
- Subject: [Bug gdb/17984] GDB fails to build on Aarch64 when -fno-common is enabled.
- Auto-submitted: auto-generated
- References: <bug-17984-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17984
--- Comment #3 from Maxim Ostapenko <m.ostapenko at partner dot samsung.com> ---
Pedro, thank you for your reply.
(In reply to Pedro Alves from comment #1)
> Note features/aarch64.c is autogenerated (see top of file).
>
> Instead, please remove the '#include "features/aarch64.c"' line
> from aarch64-linux-nat.c, and add
>
> extern struct target_desc *tdesc_aarch64;
>
> to aarch64-tdep.h.
>
> Try "grep tdesc_powerpc_e500l *" to see the same thing done for PowerPC.
>
> You'll need to remove the initialize_tdesc_aarch64 line from
> aarch64_linux_read_description, but that's really not necessary anyway -
> that's already called in aarch64-tdep.c, at GDB startup.
Yes it works fine for me, I'm attaching another patch. Perhaps I should send it
to ML?
--
You are receiving this mail because:
You are on the CC list for the bug.