From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/1] git: Fix libintl linking if there is no full gettext support
Date: Sat, 25 Aug 2018 19:40:42 +0200 [thread overview]
Message-ID: <20180825194042.41917ea0@windsurf> (raw)
In-Reply-To: <20180825131027.6048-1-vadim4j@gmail.com>
Hello,
On Sat, 25 Aug 2018 16:10:27 +0300, Vadim Kochan wrote:
> From: Vadim Kochan <vadim.kochan@petcube.com>
Thanks for this new iteration.
> Git could not resolve libntl_xxx symbols if toolchain does no provide
> full gettext support but the gettext package is selected.
>
> Steps to reproduce:
> 1) make menuconfig
> 2) Toolchain -> Select WCHAR
> 3) System -> select NLS
> 4) Target packages -> Development -> select git
Instead of this, it is often simpler to include a minimal defconfig
that exhibits the problem. I.e, when you have your .config that shows
the problem, run "make savedefconfig", and look at the generated
"defconfig" file. It shows only the values that are different from the
default ones, so for an example like what you gave above, it would be
just three lines of configuration.
> In case of ulibc/musl toolchain there is no full getttext support, but
> they still provides libintl stub which makes git think there is full
> gettext support hence -lintl is not passed to the linker.
Are you sure this is what is happening ? The stub in uclibc and musl
provide all the gettext functions, that's the whole point of the stub.
However, when you have the full gettext support enabled, the libintl.h
header installed is the one from the full gettext, and it redefines the
gettext functions with a different name, and that different name is
only provided by the full-blown gettext libintl library.
Could you double check this ?
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2018-08-25 17:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-25 13:10 [Buildroot] [PATCH v2 1/1] git: Fix libintl linking if there is no full gettext support Vadim Kochan
2018-08-25 17:40 ` Thomas Petazzoni [this message]
2018-08-25 20:15 ` Vadim Kochan
2018-08-27 5:28 ` Vadim Kochan
2018-08-29 14:53 ` Vadim Kochan
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=20180825194042.41917ea0@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox