Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Simon Marchi <simon.marchi@polymtl.ca>,
	Simon Marchi <simon.marchi@ericsson.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] Remove some unnecessary inferior_ptid setting/restoring when fetching/storing registers
Date: Thu, 23 Mar 2017 17:00:00 -0000	[thread overview]
Message-ID: <d6ac7eed-c4bd-f5f6-0c40-9be54fb7b0c4@redhat.com> (raw)
In-Reply-To: <cd371ca12ee2ed8bc5199eced0c17a91@polymtl.ca>

On 03/22/2017 05:51 PM, Simon Marchi wrote:

> I couldn't get the whole of GDB to build however:
> 
> g++ -std=gnu++11 -g3 -O0   -I. -I. -I./common -I./config
> -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H
> -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I./../zlib
> -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber
>  -I./gnulib/import -Ibuild-gnulib/import   -DTUI=1 
> -I/usr/include/python2.7 -I/usr/include/python2.7 -Wall -Wpointer-arith
> -Wno-unused -Wunused-value -Wunused-function -Wno-switch
> -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter
> -Wunused-but-set-variable -Wno-sign-compare -Wno-write-strings
> -Wno-narrowing -Wformat-nonliteral -Wno-deprecated-declarations -Werror
> -c -o i386-sol2-nat.o -MT i386-sol2-nat.o -MMD -MP -MF
> .deps/i386-sol2-nat.Tpo i386-sol2-nat.c
> In file included from /usr/include/sys/procfs.h:26:0,
>                  from i386-sol2-nat.c:23:
> /usr/include/sys/old_procfs.h:31:2: error: #error "Cannot use procfs in
> the large file compilation environment"
>  #error "Cannot use procfs in the large file compilation environment"
>   ^
> gmake: *** [i386-sol2-nat.o] Error 1
> 

Yeah, the 32-bit build runs into that, unless you configure with
--disable-largefile.  See:

  https://sourceware.org/ml/gdb-patches/2016-10/msg00510.html

If you target 64-bit mode (may need CC="gcc -m64" CXX="g++ -m64",
and/or explicit --host, I don't recall exactly), then it should 
build OOTB.


Thanks,
Pedro Alves


  reply	other threads:[~2017-03-23 17:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-22 17:29 Simon Marchi
2017-03-22 17:51 ` Simon Marchi
2017-03-23 17:00   ` Pedro Alves [this message]
     [not found] ` <8cc3a2c4-391a-c001-56f5-80f366096e3f@redhat.com>
2017-03-23 17:39   ` Simon Marchi

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=d6ac7eed-c4bd-f5f6-0c40-9be54fb7b0c4@redhat.com \
    --to=palves@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=simon.marchi@ericsson.com \
    --cc=simon.marchi@polymtl.ca \
    /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