From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 70B993858D28; Sun, 5 Mar 2023 13:10:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 70B993858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1678021829; bh=aa03wNBA2dqsG6MAmh01yeMA9PLLuus5Zy1nhxBQS2A=; h=From:To:Subject:Date:From; b=KDyQa/VZICXI9hV338AkLNBtCE9ucZoBRz8XWROrX25uoVZvUljEE4V9JCjXIwZda P8UjsXqT0z+K8s7cdgdxrlii1ntxqOcoOZopYTmsw9tNU9groXygtWNplHULG4SYkH XB4Ew3AmKfFJmEDg5pJ5lSf8fX0XiBIhN5riUDvs= From: "mp3 at hello dot lv" To: gdb-prs@sourceware.org Subject: [Bug server/30199] New: cross compilation for arm64 fails Date: Sun, 05 Mar 2023 13:10:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: server X-Bugzilla-Version: 13.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mp3 at hello dot lv X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30199 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=3D14730&action=3Ded= it Archived config.log, config.status and Makefile of gdbserver I'm trying to cross compile using: ../../configure --prefix=3D/home/martinspuk/sources/aarch64-linux-musl/nati= ve --host=3Daarch64-linux-musl --target=3Daarch64-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 =3D SVE_PT_SIZE (AARCH64_MAX_SVE_VQ, SVE_PT_REGS_SVE); |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 ^~~~~~~~~~~~~~~ |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 SVE_SIG_REGS_SIZE ../../../gdbserver/linux-aarch64-low.cc:810:28: error: 'SVE_PT_SIZE' was not declared in this scope 810 | regset->size =3D SVE_PT_SIZE (AARCH64_MAX_SVE_VQ, SVE_PT_REGS_SVE); | ^~~~~~~~~~~ make[2]: *** [Makefile:545: linux-aarch64-low.o] Error 1 --=20 You are receiving this mail because: You are on the CC list for the bug.=