From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] xserver_xorg-server: disable libunwind on MIPS with 32-bit pointers
Date: Sun, 7 Dec 2014 22:10:01 +0100 [thread overview]
Message-ID: <20141207221001.35d74fc8@free-electrons.com> (raw)
In-Reply-To: <1417778222-19910-1-git-send-email-Vincent.Riera@imgtec.com>
Dear Vicente Olivert Riera,
On Fri, 5 Dec 2014 11:17:02 +0000, Vicente Olivert Riera wrote:
> libunwind support in xorg-server is not only broken for MIPS64 n32 but
> for all MIPS variants with 32-bit pointers. The reason is exactly the
> same one. libunwind defines a uint64 variable to store the words. Then,
> xorg-server casts that variable (64-bit) into a pointer (32-bit), and
> the compilation fails:
>
> backtrace.c:98:13: error: cast to pointer from integer of different size
> [-Werror=int-to-pointer-cast]
>
> Related:
> https://bugs.freedesktop.org/show_bug.cgi?id=79939
>
> Fixes:
> http://autobuild.buildroot.net/results/87b/87be2c95957f9925c1258812e536df72689fc5da/
>
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2014-12-07 21:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-05 11:17 [Buildroot] [PATCH] xserver_xorg-server: disable libunwind on MIPS with 32-bit pointers Vicente Olivert Riera
2014-12-07 21:10 ` Thomas Petazzoni [this message]
2014-12-07 21:29 ` Peter Korsgaard
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=20141207221001.35d74fc8@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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