Re: Call for testing: OpenSSH 8.9

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

 



On Fri, 18 Feb 2022, Steffen Nurpmeso wrote:

> The TinyC compiler tcc does
>
>   #?0|kent:tcc.git$ git grep -i musl master
>   ...
>   master:configure:  --config-uClibc,-musl,-mingw32... enable system specific configurations
>   master:configure:        if test -f "/lib/ld-musl-$cpu.so.1"; then
>   master:configure:          echo "Perhaps you want ./configure --config-musl"

Ouch, completely bogus.

I’ve found one reliable way to detect musl at configure time,
at least for the last couple of years of their releases.

Compile and link a hello-world program, then check whether the
binary contains MUSL_LOCPATH as string.

I’ve managed to not need to rely on that. I believe it’s obvious
why I’m trying to. I *did* find something recently that would
have benefit from musl detection, but it’s just avoiding a bug
in old musl versions, so I’m leaving that to the packager and
document it. (The testsuite also catches it so I’m now urging
people even more to run it.)

bye,
//mirabilos
-- 
Sometimes they [people] care too much: pretty printers [and syntax highligh-
ting, d.A.] mechanically produce pretty output that accentuates irrelevant
detail in the program, which is as sensible as putting all the prepositions
in English text in bold font.	-- Rob Pike in "Notes on Programming in C"
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux