From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3] rpi-userland: bump revision for musl compile fixes
Date: Fri, 17 Oct 2014 22:31:37 +0200 [thread overview]
Message-ID: <20141017203137.GD3971@free.fr> (raw)
In-Reply-To: <1413561468-27240-1-git-send-email-maarten@treewalker.org>
Maarten, All,
On 2014-10-17 17:57 +0200, Maarten ter Huurne spake thusly:
> Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
> ---
> The second version of this patch was missing the "v2" label; this is
> the third version.
>
> The changes from v2, plus an additional change I made later were merged
> upstream. This patch bumps the git revision to the merge commit.
>
> rpi-userland-002-remove-faulty-assert.patch had to be updated to match
> other changes in the code that are pulled in by the version bump.
> I checked that the updated patch compiles fine, but I have no idea
> whether it is still needed to fix or work around a runtime problem.
I have a way to test it, so I'll report whether it is still needed.
Basically, running weston was segfaulting always, at the very start.
So I'll try to reproduce; if it still segfaults without the patch, we'll
keep it, otherwise we'll drop it.
From what I read in the new code, it seems the assert makes much more
sense now than it did before...
I'll mark http://patchwork.ozlabs.org/patch/388745/ as superseded.
Thanks for the detailed explanations, that helped me catch it! :-)
I'll report back later tonight, so I hold my ack until then.
Regards,
Yann E. MORIN.
> .../rpi-userland-002-remove-faulty-assert.patch | 25 ++++++++++++----------
> package/rpi-userland/rpi-userland.mk | 2 +-
> 2 files changed, 15 insertions(+), 12 deletions(-)
>
> diff --git a/package/rpi-userland/rpi-userland-002-remove-faulty-assert.patch b/package/rpi-userland/rpi-userland-002-remove-faulty-assert.patch
> index c23c43a..450f287 100644
> --- a/package/rpi-userland/rpi-userland-002-remove-faulty-assert.patch
> +++ b/package/rpi-userland/rpi-userland-002-remove-faulty-assert.patch
> @@ -3,19 +3,22 @@ interface: remove faulty assert() to make weston happy at runtime
> This was removed after a discussion on IRC with the weston guys
> ('daniels' on irc.freenode.net/#wayland).
>
> +Rebased on 4333d6d by Maarten ter Huurne <maarten@treewalker.org>.
> +
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> ---
> Upstream status: no, will be pushed by weston guys later.
> If not, I'll do it.
>
> -diff -durN rpi-userland-77d32cd.orig/interface/vmcs_host/vc_vchi_dispmanx.c rpi-userland-77d32cd/interface/vmcs_host/vc_vchi_dispmanx.c
> ---- rpi-userland-77d32cd.orig/interface/vmcs_host/vc_vchi_dispmanx.c 2013-10-04 17:43:44.000000000 +0200
> -+++ rpi-userland-77d32cd/interface/vmcs_host/vc_vchi_dispmanx.c 2013-10-08 22:28:51.611433539 +0200
> -@@ -1187,7 +1187,6 @@
> - continue;
> -
> - if(dispmanx_client.update_callback ) {
> -- vcos_assert( dispmanx_client.pending_update_handle == (DISPMANX_UPDATE_HANDLE_T) dispmanx_client.notify_buffer[1]);
> - dispmanx_client.update_callback((DISPMANX_UPDATE_HANDLE_T) dispmanx_client.notify_buffer[1], dispmanx_client.update_callback_param);
> - }
> - }
> +diff --git a/interface/vmcs_host/vc_vchi_dispmanx.c b/interface/vmcs_host/vc_vchi_dispmanx.c
> +index 85b373c..59a01f8 100755
> +--- a/interface/vmcs_host/vc_vchi_dispmanx.c
> ++++ b/interface/vmcs_host/vc_vchi_dispmanx.c
> +@@ -1296,7 +1296,6 @@ static void *dispmanx_notify_func( void *arg ) {
> + // Decrement the use count - the corresponding "use" is in vc_dispmanx_update_submit.
> + vchi_service_release(dispmanx_client.notify_handle[0]);
> + if (dispmanx_client.update_callback ) {
> +- vcos_assert( dispmanx_client.pending_update_handle == handle);
> + dispmanx_client.update_callback(handle, dispmanx_client.update_callback_param);
> + }
> + } else {
> diff --git a/package/rpi-userland/rpi-userland.mk b/package/rpi-userland/rpi-userland.mk
> index c738b62..8a71f93 100644
> --- a/package/rpi-userland/rpi-userland.mk
> +++ b/package/rpi-userland/rpi-userland.mk
> @@ -4,7 +4,7 @@
> #
> ################################################################################
>
> -RPI_USERLAND_VERSION = ffcc4bd7c4875b71376c4240116e251652c9bec0
> +RPI_USERLAND_VERSION = 4333d6d023a1f0dcc763d0706a1fe6523f9b6005
> RPI_USERLAND_SITE = $(call github,raspberrypi,userland,$(RPI_USERLAND_VERSION))
> RPI_USERLAND_LICENSE = BSD-3c
> RPI_USERLAND_LICENSE_FILES = LICENCE
> --
> 1.8.4.5
>
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2014-10-17 20:31 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-12 1:45 [Buildroot] [PATCH] rpi-userland: Add patches to fix compilation with musl libc Maarten ter Huurne
2014-09-12 7:32 ` Thomas Petazzoni
2014-09-12 14:56 ` Maarten ter Huurne
2014-09-12 15:11 ` Thomas Petazzoni
2014-09-12 17:01 ` Maarten ter Huurne
2014-10-17 15:57 ` [Buildroot] [PATCH v3] rpi-userland: bump revision for musl compile fixes Maarten ter Huurne
2014-10-17 20:31 ` Yann E. MORIN [this message]
2014-10-18 11:05 ` Yann E. MORIN
2014-10-18 11:34 ` Yann E. MORIN
2014-10-18 12:15 ` Maarten ter Huurne
2014-10-18 13:02 ` Yann E. MORIN
2014-10-18 16:46 ` Maarten ter Huurne
2014-10-18 17:16 ` Yann E. MORIN
2014-10-18 17:22 ` Maarten ter Huurne
2014-10-18 17:58 ` [Buildroot] [PATCH v4] rpi-userland: bump revision and add patch to fix compile with musl Maarten ter Huurne
2014-10-19 10:32 ` Yann E. MORIN
2014-10-19 14:37 ` Thomas Petazzoni
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=20141017203137.GD3971@free.fr \
--to=yann.morin.1998@free.fr \
--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