This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/17984] GDB fails to build on Aarch64 when -fno-common is enabled.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]