All of lore.kernel.org
 help / color / mirror / Atom feed
From: Waldemar Brodkorb <wbx@openadk.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 00/47] package/kodi: bump version to 15.0 Isengard
Date: Sat, 1 Aug 2015 10:21:32 +0200	[thread overview]
Message-ID: <20150801082132.GA8475@waldemar-brodkorb.de> (raw)
In-Reply-To: <20150730153431.1cb277b8@free-electrons.com>

Hi Thomas,
Thomas Petazzoni wrote,

> Bernd,
> 
> On Wed, 22 Jul 2015 22:30:22 +0200, Bernd Kuhls wrote:
> 
> > Kodi 15.0 Isengard was released yesterday:
> > http://kodi.tv/kodi-15-0-isengard-one-release-to-rule-them-all/
> 
> Another thing: it does not build on ARM with uClibc. I get the
> following error:
> 
> /home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/4.7.4/libgcc.a(linux-atomic-64bit.o): In function `__check_for_sync8_kernelhelper':
> /opt/toolchain-build/build/host-gcc-final-4.7.4/build/arm-buildroot-linux-uclibcgnueabi/libgcc/../../../libgcc/config/arm/linux-atomic-64bit.c:59: undefined reference to `__write'
> collect2: error: ld returned 1 exit status
> Makefile:486: recipe for target 'kodi.bin' failed
> 
> This is with the toolchain configuration at
> http://autobuild.buildroot.org/toolchains/configs/br-arm-full.config +
> rpi-userland as the OpenGL ES backend.
> 
> This error is apparently due to the fact that we're using a 64 bits
> atomic operation implemented by libgcc, which requires assistance from
> the kernel. libgcc has some code to print a message when the kernel
> doesn't provide the necessary syscall, and this code calls __write().
> This function seems to not be provided by uClibc (while it is probably
> provided by glibc).
> 
> I'm Cc'ing Waldemar, maybe he has some ideas.
> 
> However, generally speaking I believe supporting Kodi on uClibc is a
> bit useless: Kodi is anyway so big that the size benefits of uClibc are
> no longer significant. So if this problem pops up in the autobuilders
> and isn't fixed by then, I'll mark Kodi as glibc only for the moment.
> 
> Thanks!

It is not useless in my point of view. When we support bigger
applications with long runtimes with uClibc, we can be sure to have
good quality in the C library. So even if we do not do it because of
any space limitations it will uncover some bugs.

So please do not disable it. I tried a build with Kodi and uClibc-ng
with OpenADK and did not get a build error.

May be the GCC version is problematic? 4.7.4 is rather old. Does it
happen with gcc 4.9.3?

best regards
 Waldemar

      reply	other threads:[~2015-08-01  8:21 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-22 20:30 [Buildroot] [PATCH 00/47] package/kodi: bump version to 15.0 Isengard Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 01/47] package/libsquish: New package Bernd Kuhls
2015-07-25 17:01   ` Yann E. MORIN
2015-07-27 20:19   ` Thomas Petazzoni
2015-07-30 13:25   ` Thomas Petazzoni
2015-07-22 20:30 ` [Buildroot] [PATCH 02/47] package/libplatform: new package Bernd Kuhls
2015-07-25 16:55   ` Yann E. MORIN
2015-07-30 13:26   ` Thomas Petazzoni
2015-07-22 20:30 ` [Buildroot] [PATCH 03/47] package/libcec: bump to version 3.0.1 Bernd Kuhls
2015-07-25 16:43   ` Yann E. MORIN
2015-07-25 16:48     ` Yann E. MORIN
2015-07-30 13:27   ` Thomas Petazzoni
2015-07-22 20:30 ` [Buildroot] [PATCH 04/47] package/kodi: bump version to 15.0 Isengard Bernd Kuhls
2015-07-30 13:27   ` Thomas Petazzoni
2015-07-22 20:30 ` [Buildroot] [PATCH 05/47] package/kodi: Add option for lirc support Bernd Kuhls
2015-07-25 17:14   ` Yann E. MORIN
2015-07-22 20:30 ` [Buildroot] [PATCH 06/47] package/kodi: Rework audio encoder support Bernd Kuhls
2015-07-25 22:31   ` Yann E. MORIN
2015-07-22 20:30 ` [Buildroot] [PATCH 07/47] package/kodi-audioencoder-flac: bump version Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 08/47] package/kodi-audioencoder-lame: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 09/47] package/kodi-audioencoder-vorbis: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 10/47] package/kodi-audioencoder-wav: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 11/47] package/kodi-addon-xvdr: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 12/47] package/kodi-pvr-addons: Prepare to split into addon-specific packages Bernd Kuhls
2015-07-25 17:09   ` Yann E. MORIN
2015-07-22 20:30 ` [Buildroot] [PATCH 13/47] package/kodi-platform: new package Bernd Kuhls
2015-07-25 17:13   ` Yann E. MORIN
2015-07-30 13:27   ` Thomas Petazzoni
2015-07-22 20:30 ` [Buildroot] [PATCH 14/47] package/kodi-pvr-argustv: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 15/47] package/kodi-pvr-dvblink: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 16/47] package/kodi-pvr-dvbviewer: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 17/47] package/kodi-pvr-filmon: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 18/47] package/kodi-pvr-hts: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 19/47] package/kodi-pvr-iptvsimple: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 20/47] package/kodi-pvr-mediaportal-tvserver: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 21/47] package/kodi-pvr-mythtv: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 22/47] package/kodi-pvr-nextpvr: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 23/47] package/kodi-pvr-njoy: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 24/47] package/kodi-pvr-pctv: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 25/47] package/kodi-pvr-stalker: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 26/47] package/kodi-pvr-vbox: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 27/47] package/kodi-pvr-vdr-vnsi: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 28/47] package/kodi-pvr-vuplus: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 29/47] package/kodi-pvr-wmc: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 30/47] package/kodi-audiodecoder-modplug: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 31/47] package/kodi-audiodecoder-nosefart: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 32/47] package/kodi-audiodecoder-sidplay: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 33/47] package/kodi-audiodecoder-snesapu: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 34/47] package/kodi-audiodecoder-stsound: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 35/47] package/kodi-audiodecoder-timidity: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 36/47] package/kodi-audiodecoder-vgmstream: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 37/47] package/kodi-screensaver-asteroids: " Bernd Kuhls
2015-07-30 13:29   ` Thomas Petazzoni
2015-07-22 20:31 ` [Buildroot] [PATCH 38/47] package/kodi-screensaver-biogenesis: " Bernd Kuhls
2015-07-22 20:31 ` [Buildroot] [PATCH 39/47] package/kodi-screensaver-crystalmorph: " Bernd Kuhls
2015-07-22 20:31 ` [Buildroot] [PATCH 40/47] package/kodi-screensaver-greynetic: " Bernd Kuhls
2015-07-22 20:31 ` [Buildroot] [PATCH 41/47] package/kodi-screensaver-pingpong: " Bernd Kuhls
2015-07-22 20:31 ` [Buildroot] [PATCH 42/47] package/kodi-screensaver-pyro: " Bernd Kuhls
2015-07-22 20:31 ` [Buildroot] [PATCH 43/47] package/kodi-screensaver-stars: " Bernd Kuhls
2015-07-22 20:31 ` [Buildroot] [PATCH 44/47] package/kodi-visualisation-shadertoy: " Bernd Kuhls
2015-07-30 13:31   ` Thomas Petazzoni
2015-07-22 20:31 ` [Buildroot] [PATCH 45/47] package/kodi-visualisation-waveform: " Bernd Kuhls
2015-07-22 20:31 ` [Buildroot] [PATCH 46/47] package/kodi-visualisation-spectrum: " Bernd Kuhls
2015-07-22 20:31 ` [Buildroot] [PATCH 47/47] package/kodi-visualisation-waveforhue: " Bernd Kuhls
2015-07-30 13:30   ` Thomas Petazzoni
2015-07-24  9:39 ` [Buildroot] [PATCH 00/47] package/kodi: bump version to 15.0 Isengard Stanislav Vlasic
2015-07-24 10:45   ` Stanislav Vlasic
2015-07-30 13:25 ` Thomas Petazzoni
2015-07-30 13:34 ` Thomas Petazzoni
2015-08-01  8:21   ` Waldemar Brodkorb [this message]

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=20150801082132.GA8475@waldemar-brodkorb.de \
    --to=wbx@openadk.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.