[Top][All Lists]

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

Re: config.guess returns incorrect platform for alpine

From: Ben Elliston
Subject: Re: config.guess returns incorrect platform for alpine
Date: Wed, 4 Nov 2020 15:33:58 +1100
User-agent: Mutt/1.10.1 (2018-07-13)

On Tue, Nov 03, 2020 at 06:14:43AM -0800, Cheng XU wrote:

> Due to a recent change
> (,
> the config.guess will incorrectly report `x86_64-pc-linux-gnu`
> instead of `x86_64-pc-linux-musl` for alpine docker image.

> To fix the problem, may I suggest to keep the original detection
> script using ldd. The reason is that the compiler is not installed
> in a fresh alpine docker image. Whereas, the ldd is available by
> default. Therefore, I think using ldd to detect musl libc is much
> reliable.

Please see the thread starting at:

for why your solution is not workable. You will need to add a compiler
installation to your docker image, sorry.


Attachment: signature.asc
Description: PGP signature

reply via email to

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