Hi!

Manolis Ragkousis <manolis...@gmail.com> skribis:
> On 06/19/16 16:57, Ludovic Courtès wrote:
>> I wonder why this is needed though; normally, when building on
>> i586-unknown-gnu*, the next case:
>> 
>> --8<---------------cut here---------------start------------->8---
>>      case "$host_os" in
>>        linux-gnu*)
>>        # For backward compatibility, strip the `-gnu' part.
>>        guix_system="$machine_name-linux";;
>>        *)    # ← THIS CASE
>>        # Strip the version number from names such as `gnu0.3',
>>        # `darwin10.2.0', etc.
>>        guix_system="$machine_name-`echo $host_os | "$SED" 
>> -e's/[0-9.]*$//g'`";;
>>      esac
>> --8<---------------cut here---------------end--------------->8---
>> 
>> … should produce “i586-gnu”, no?  What did you observe?  To put it
>> differently, what does ./build-aux/config.guess return on a GNU/Hurd
>> system?
>
> It produces "i686-gnu0.8" which is problematic and we expect "i586-gnu"
> for our binaries to work.

OK.  I can imagine that config.guess cannot distinguish between i686 and
i586; the “0.8” part is fun and much less expected (the last GNU release
that ever happened was called “0.3” :-)).

> I will push the updated patch to core-updates.

Perfect, thanks!

Ludo’.

Reply via email to