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

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |palves at redhat dot com

--- Comment #1 from Pedro Alves <palves at redhat dot com> ---
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.

-- 
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]