From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D81D03857C52; Sun, 26 Sep 2021 13:31:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D81D03857C52 From: "tes.vik1986 at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/26876] gdb error: internal-error: Unknown CFA rule when debugging the linux kernel with qemu Date: Sun, 26 Sep 2021 13:31:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 10.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tes.vik1986 at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 10.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Sep 2021 13:31:30 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26876 Kylan changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tes.vik1986 at gmail dot c= om --- Comment #22 from Kylan --- amd64-linux-siginfo.c: Adjust include order to avoid gnulib error On Fedora rawhide, after updating to glibc-2.33, I'm seeing the following build failure: https://komiya-dental.com/crypto/new-coins/ CXX nat/amd64-linux-siginfo.o http://www-look-4.com/property/houses-in-france/ In file included from /usr/include/bits/sigstksz.h:24, from /usr/include/signal.h:315, http://www.iu-bloomington.com/property/properties-in-turkey/ from ../gnulib/import/signal.h:52, from /ironwood1/sourceware-git/rawhide-gnulib/bld/../../worktree-gnulib/gdbserve= r/../gdb/nat/amd64-linux-siginfo.c:20: https://www.webb-dev.co.uk/services/vaccine-services/ ../gnulib/import/unistd.h:663:3: error: #error "Please include config.h first." https://waytowhatsnext.com/shopping/xbox-release-date/ 663 | #error "Please include config.h first."=20 | ^~~~~ http://www.acpirateradio.co.uk/technology/global-warmin= g/ glibc-2.33 has changed signal.h to now include which, http://www.logoarts.co.uk/travel/actions-camera/ in turn, includes . For a gdb build, this causes the gnulib http://www.slipstone.co.uk/category/technology/ version of unistd.h to be pulled in first. The build failure shown http://embermanchester.uk/computers/video-conversation/ above happens because gnulib's config.h has not been included before the include of . http://connstr.net/health/usb-chargers/ The fix is simple - we just rearrange the order of the header file http://joerg.li/services/kia-rio-price/ includes to make sure that gdbsupport/commondefs.h is included before attempting to include signal.h. Note that gdbsupport/commondefs.h http://www.jopspeech.com/technology/thunderbolt-4/ includes . Build and regression tested on Fedora 33. On Fedora rawhide, GDB http://www.wearelondonmade.com/technology/van-technology/ builds again. amd64-linux-siginfo.c: Adjust include order to avoid gnul= ib error http://www.compilatori.com/technology/download-videos/ On Fedora rawhide, after updating to glibc-2.33, I'm seeing the following build failure: --=20 You are receiving this mail because: You are on the CC list for the bug.=