coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building from the git repository fails with "alias_table defined but


From: Pádraig Brady
Subject: Re: Building from the git repository fails with "alias_table defined but not used"
Date: Wed, 2 Oct 2024 12:54:58 +0100
User-agent: Mozilla Thunderbird Beta

On 02/10/2024 01:54, Yuri Kanivetsky wrote:
Hi,

https://gist.github.com/x-yuri/883efd92dff6a1ee77b14cff41c4fb12

I understand now that to make it build I need to configure with
--enable-gcc-warnings=no. But is this expected or am I doing something
wrong? I mean, shouldn't it build with --enable-gcc-warnings=yes?
After all, the developers should build it somehow. How do they do it?

You're hitting this because you're on musl and there
we declare alias_table[] in lib/localcharset.c
but don't then reference it (due to alias_table_defined not being defined).

It looks like alias_table_defined is just a performance tweak
to avoid looking up a table with a single NUL entry,
so perhaps we should just remove all the alias_table_defined stuff?

Alternatively we could treat musl like newer glibc in the code,
but I don't know off the top of my head if that's valid.

gnulib folks CC'd

cheers,
Pádraig



reply via email to

[Prev in Thread] Current Thread [Next in Thread]