[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] build: Correctly determine the system type for GNU/Hurd syst
From: |
Manolis Ragkousis |
Subject: |
Re: [PATCH] build: Correctly determine the system type for GNU/Hurd systems. |
Date: |
Thu, 23 Jun 2016 19:17:06 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 |
Hello everyone,
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.
I will push the updated patch to core-updates.
Thank you,
Manolis