All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/3] package/fontconfig: add pthread as a dependency of a static lib
Date: Sun, 20 Sep 2020 15:48:15 +0200	[thread overview]
Message-ID: <20200920154815.3dae7b34@windsurf> (raw)
In-Reply-To: <20200920115816.1567616-1-bernd.kuhls@t-online.de>

On Sun, 20 Sep 2020 13:58:14 +0200
Bernd Kuhls <bernd.kuhls@t-online.de> wrote:

> Fixes:
> http://autobuild.buildroot.net/results/d2d/d2d73f3c7075ca6e9782b9bb591dae40ab56b6a2/
> 
> ffmpeg configure prints: "ERROR: fontconfig not found using pkg-config"
> 
> Please note that the ffmpeg build error was reproducible but with a
> different error message in ffbuild/config.log:
> 
>   sysroot/usr/lib/libfontconfig.a(fccache.o): in function `lock_cache':
>   fccache.c:(.text+0xcd8): undefined reference to `pthread_mutex_init'
> 
>   arm-buildroot-linux-gnueabi/bin/ld: fccache.c:(.text+0xcf8):
>   undefined reference to `pthread_mutex_destroy'
> 
>   arm-buildroot-linux-gnueabi/bin/ld: fccache.c:(.text+0xd00):
>   undefined reference to `pthread_mutex_lock'
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> v2: removed " 1/1" from patch subject

Thanks, series applied. I really like when we fix pkg-config, and use
it more globally to solve static linking issues. Great work.

Just one minor nit: you had forgotten to add FONTCONFIG_AUTORECONF =
YES in PATCH 1/3: you're now patching configure.ac, so it is needed. I
fixed that when applying.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  parent reply	other threads:[~2020-09-20 13:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-20 11:58 [Buildroot] [PATCH v2 1/3] package/fontconfig: add pthread as a dependency of a static lib Bernd Kuhls
2020-09-20 11:58 ` [Buildroot] [PATCH v2 2/3] package/fbterm: remove fontconfig fix Bernd Kuhls
2020-09-29 16:02   ` Peter Korsgaard
2020-09-20 11:58 ` [Buildroot] [PATCH 3/3] package/ffmpeg: fix static build with wavpack support enabled Bernd Kuhls
2020-09-29 16:02   ` Peter Korsgaard
2020-09-20 13:48 ` Thomas Petazzoni [this message]
2020-09-29 16:02 ` [Buildroot] [PATCH v2 1/3] package/fontconfig: add pthread as a dependency of a static lib 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=20200920154815.3dae7b34@windsurf \
    --to=thomas.petazzoni@bootlin.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 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.