public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "tes.vik1986 at gmail dot com" <sourceware-bugzilla@sourceware.org>
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	[thread overview]
Message-ID: <bug-27536-4717-OGsN0kmGEl@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-27536-4717@http.sourceware.org/bugzilla/>

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

Kylan <tes.vik1986 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tes.vik1986 at gmail dot com

--- Comment #9 from Kylan <tes.vik1986 at gmail dot com> ---
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/  clude
-I../../gdbserver/../gdb -I../../gdbserver/../gnulib/import -I../gnulib/import
-I../../gdbserver/.. -I..   -pthread -Wall -Wpointer-arith -Wno-unused
-Wunused-value -Wunused-variable -Wunused-function -Wno-switch
-Wno-char-subscripts -Wempty-body -Wunused-bu 
http://www.wearelondonmade.com/property/cars-as-house/ t-set-parameter
-Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized
-Wno-mismatched-tags -Wsuggest-override -Wimplicit-fallthrough=3
-Wduplicated-cond   http://www.jopspeech.com/tech/xiaomi-headset/
-Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move
-Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral 
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 first."
  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 <unistd.h> (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, which
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-variable
-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=maybe-uninitialized
-Wno-mismatched-tags -Wsuggest-override -Wimplicit-fallthrough=3
-Wduplicated-cond -Wshadow=local -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/  
../../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 first."
  637 |  #error "Please include config.h first." 
      |   ^~~~~ https://komiya-dental.com/sports/telegram/

The problem is actually gnulib related.  It turns out that the glibc headers
now pull in <unistd.h> (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.

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

  parent reply	other threads:[~2021-09-26 13:31 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-06 16:35 [Bug build/27536] New: " kevinb at redhat dot com
2021-03-06 16:42 ` [Bug build/27536] " kevinb at redhat dot com
2021-03-06 17:58 ` cvs-commit at gcc dot gnu.org
2021-03-07  4:43 ` brobecker at gnat dot com
2021-03-07  6:25 ` kevinb at redhat dot com
2021-06-27 17:45 ` ahmedsayeed1982 at yahoo dot com
2021-09-02 11:06 ` donipah907 at mtlcz dot com
2021-09-02 11:12 ` mark at klomp dot org
2021-09-05  7:34 ` kimolsun2020 at yahoo dot com
2021-09-06  9:08 ` focixujo at livinginsurance dot co.uk
2021-09-10 19:38 ` mehmetgelisin at aol dot com
2021-09-22 10:19 ` diheto5497 at secbuf dot com
2021-09-22 13:03 ` sam at gentoo dot org
2021-09-26 13:31 ` tes.vik1986 at gmail dot com [this message]
2021-10-09 11:01 ` gulsenenginar at aol dot com
2021-10-09 17:43 ` svitvitraga at gmail dot com
2021-10-18 19:57 ` ahmedsayeed1982 at hotmail dot com
2021-10-19  7:13 ` progonsaytu at gmail dot com
2021-10-24 10:01 ` glassmtech at ukr dot net
2021-11-13 19:34 ` tesaso8237 at funboxcn dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-27536-4717-OGsN0kmGEl@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).