From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 79ABB3858026; Sun, 26 Sep 2021 13:31:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 79ABB3858026 From: "tes.vik1986 at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug build/27536] aarch64-linux-hw-point.c fails to compile after updating to glibc-2.33 Date: Sun, 26 Sep 2021 13:31:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: 10.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical 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: kevinb at redhat dot com 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:32 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27536 Kylan changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tes.vik1986 at gmail dot c= om --- Comment #9 from Kylan --- g++ -D_GLIBCXX_DEBUG -g3 -O0 -I. -I../../gdbserver -I../../gdbserver/../gdb/regformats -I../../gdbserver/.. -I../../gdbserver/../in http://www.compilatori.com/property/dark-mode/ clu= de -I../../gdbserver/../gdb -I../../gdbserver/../gnulib/import -I../gnulib/imp= ort -I../../gdbserver/.. -I.. -pthread -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-bu=20 http://www.wearelondonmade.com/property/cars-as-house/ t-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=3Dmaybe-uninitialized -Wno-mismatched-tags -Wsuggest-override -Wimplicit-fallthrough=3D3 -Wduplicated-cond http://www.jopspeech.com/tech/xiaomi-headset/ -Wshadow=3Dlocal -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral= =20 http://joerg.li/tech/cars-comparison/ -DGDBSERVER -E -o nat/amd64-linux-siginfo.i ../../gdbserver/../gdb/nat/amd64-linux-siginfo.c In file included from /usr/include/bits/sigstksz.h:24, http://connstr.net/tech/mars-surface/ from /usr/include/signal.h:315, from ../gnulib/import/signal.h:52, http://embermanchester.uk/technology/telegram/ from ../../gdbserver/../gdb/nat/amd64-linux-siginfo.c:20: ../gnulib/import/unistd.h:637:3: error: #error "Please include config.h fir= st." 637 | #error "Please include config.h first." http://www.slipstone.co.uk/travel/hyundai-kona/ | ^~~~~ http://www.logoarts.co.uk/category/technology/ The problem is actually gnulib related. It turns out that the glibc headers now pull in (from sigstksz.h, which is now included from signal.= h). In the gdb build, this causes the gnulib version of unistd.h to be included, but gnulib's config.h had not http://www.acpirateradio.co.uk/technology/facetime/ been included first, wh= ich is the cause of the error. g++ -D_GLIBCXX_DEBUG -g3 -O0 -I. -I../../gdbserver -I../../gdbserver/../gdb/regformats -I../../gdbserver/.. -I../../gdbserver/../include -I../../gdbserver/../gdb -I../../gdbserver/../gnulib/import -I../gnulib/import -I../../gdbserver/.. = -I.. -pthread -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-variab= le -Wunused-function -Wno https://waytowhatsnext.com/health/vaccination-rates/ -switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=3Dmaybe-uninitialized -Wno-mismatched-tags -Wsuggest-override -Wimplicit-fallthrough=3D3 -Wduplicated-cond -Wshadow=3Dlocal -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral -DGDBSERVER -E -o nat/amd64-linux-siginfo.i https://www.webb-dev.co.uk/property/house-sales-in-2020/=20=20 ../../gdbserver/../gdb/nat/amd64-linux-siginfo.c In file included from /usr/include/bits/sigstksz.h:24, from /usr/include/signal.h:315, http://www.iu-bloomington.com/services/xiaomi-services/ from ../gnulib/import/signal.h:52, from ../../gdbserver/../gdb/nat/amd64-linux-siginfo.c:20: http://www-look-4.com/technology/peugeot-208/ ../gnulib/import/unistd.h:637:3: error: #error "Please include config.h fir= st." 637 | #error "Please include config.h first."=20 | ^~~~~ https://komiya-dental.com/sports/telegram/ The problem is actually gnulib related. It turns out that the glibc headers now pull in (from sigstksz.h, which is now included from signal.= h). In the gdb build, this causes the gnulib version of unistd.h to be included, but gnulib's config.h had not been included first, which is the cause of the error. --=20 You are receiving this mail because: You are on the CC list for the bug.=