From: Robert <robert@mailueberfall.de>
To: gdb@sourceware.org
Subject: Building gdb for Android using Android-ndk
Date: Wed, 23 Jan 2013 09:29:00 -0000 [thread overview]
Message-ID: <50FFAD68.2050901@mailueberfall.de> (raw)
Hi,
I am trying to build gdb for Android using the "standalone-toolchain"
created by the Android-NDK (make-standalone-toolchain.sh).
My configure call is as follows:
./configure --target=arm-linux-androideabi --host=arm-linux-androideabi
I tried different gdb versions - unfortunately earlier or later I ran
into an error I could not solve.
For example gdb 7.5 has only some minor problems where libraries like
libsim.a, libbfd.a and other required additional processing using
ranlib. I fixed this by manually executing ranlib on the specified
libraries and then restarted the make process.
But in the end the build process stops with the following error:
make[5]: Leaving directory `/tmp/gdb-7.5/gdb/gdbserver'
gcc -c -g -O2 -I. -I. -I./../common -I./../regformats
-I./../../include -I./../gnulib/import -Ibuild-gnulib-gdbserver/import
-Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-char-subscripts -Werror linux-arm-low.c
linux-arm-low.c: In function âarm_prepare_to_resumeâ:
linux-arm-low.c:714:9: error: cast to pointer from integer of different
size [-Werror=int-to-pointer-cast]
linux-arm-low.c:720:9: error: cast to pointer from integer of different
size [-Werror=int-to-pointer-cast]
linux-arm-low.c:734:9: error: cast to pointer from integer of different
size [-Werror=int-to-pointer-cast]
linux-arm-low.c:740:9: error: cast to pointer from integer of different
size [-Werror=int-to-pointer-cast]
BTW: Build environment is Ubuntu 12.04 (x86_64).
Robert
next reply other threads:[~2013-01-23 9:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-23 9:29 Robert [this message]
2013-01-23 13:40 ` Pedro Alves
2013-01-23 14:54 ` Robert
2013-01-23 14:58 ` Pedro Alves
[not found] ` <35190382.post@talk.nabble.com>
2013-04-04 9:43 ` Pedro Alves
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=50FFAD68.2050901@mailueberfall.de \
--to=robert@mailueberfall.de \
--cc=gdb@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