public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug server/30199] New: cross compilation for arm64 fails
@ 2023-03-05 13:10 mp3 at hello dot lv
  2023-03-05 16:48 ` [Bug server/30199] " tromey at sourceware dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: mp3 at hello dot lv @ 2023-03-05 13:10 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30199

            Bug ID: 30199
           Summary: cross compilation for arm64 fails
           Product: gdb
           Version: 13.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: server
          Assignee: unassigned at sourceware dot org
          Reporter: mp3 at hello dot lv
  Target Milestone: ---

Created attachment 14730
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14730&action=edit
Archived config.log, config.status and Makefile of gdbserver

I'm trying to cross compile using:
../../configure --prefix=/home/martinspuk/sources/aarch64-linux-musl/native
--host=aarch64-linux-musl --target=aarch64-linux-musl
make fails with:
make[2]: Entering directory
'/home/martinspuk/sources/gdb-13.1/build/arm64/gdbserver'
  CXX    linux-aarch64-low.o
../../../gdbserver/linux-aarch64-low.cc: In function 'void
aarch64_adjust_register_sets(const aarch64_features&)':
../../../gdbserver/linux-aarch64-low.cc:810:61: error: 'SVE_PT_REGS_SVE' was
not declared in this scope; did you mean 'SVE_SIG_REGS_SIZE'?
  810 |             regset->size = SVE_PT_SIZE (AARCH64_MAX_SVE_VQ,
SVE_PT_REGS_SVE);
      |                                                            
^~~~~~~~~~~~~~~
      |                                                            
SVE_SIG_REGS_SIZE
../../../gdbserver/linux-aarch64-low.cc:810:28: error: 'SVE_PT_SIZE' was not
declared in this scope
  810 |             regset->size = SVE_PT_SIZE (AARCH64_MAX_SVE_VQ,
SVE_PT_REGS_SVE);
      |                            ^~~~~~~~~~~
make[2]: *** [Makefile:545: linux-aarch64-low.o] Error 1

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2023-03-13 16:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-05 13:10 [Bug server/30199] New: cross compilation for arm64 fails mp3 at hello dot lv
2023-03-05 16:48 ` [Bug server/30199] " tromey at sourceware dot org
2023-03-05 19:05 ` mp3 at hello dot lv
2023-03-05 19:23 ` mp3 at hello dot lv
2023-03-05 20:40 ` mp3 at hello dot lv
2023-03-13 15:33 ` luis.machado at arm dot com
2023-03-13 15:39 ` luis.machado at arm dot com
2023-03-13 15:46 ` mp3 at hello dot lv
2023-03-13 16:20 ` luis.machado at arm dot com

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