All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/4] configs/snps_archs38_hsdk_defconfig: switch to glibc hard-float
Date: Sat, 16 Jan 2021 16:37:55 +0100	[thread overview]
Message-ID: <20210116153755.GL2375@scaer> (raw)
In-Reply-To: <20210115200319.4139041-4-vgupta@synopsys.com>

Vineet, All,

On 2021-01-15 12:03 -0800, Vineet Gupta spake thusly:
> We are no longer actively working on uClibc and hard-float support is
> pretty stable, so make that default for HSDK boards
> 
> The hard-float setting is a bit convulated since current ARC gcc lacks
> --with-fpu - so this is done with BR2_TARGET_OPTIMIZATION
> 
> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>

I split that patch in two:
  - one commit to switch to glibc,
  - one commit to enable hard-float

Since the hard-float, as you noticed, is using a non-conventional way to
passit, so if it truns out to be causing issues, it is easier to revert
if it is in a commit of its own.

Regards,
Yann E. MORIN.

> ---
>  configs/snps_archs38_hsdk_defconfig | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/configs/snps_archs38_hsdk_defconfig b/configs/snps_archs38_hsdk_defconfig
> index b8fd35636000..69d0b1936b3a 100644
> --- a/configs/snps_archs38_hsdk_defconfig
> +++ b/configs/snps_archs38_hsdk_defconfig
> @@ -1,6 +1,9 @@
>  BR2_arcle=y
>  BR2_archs38_full=y
> +BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
>  BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6=y
> +BR2_PACKAGE_GLIBC_UTILS=y
> +BR2_TARGET_OPTIMIZATION="-mfpu=fpud_all"
>  BR2_TARGET_GENERIC_HOSTNAME="hsdk"
>  BR2_TARGET_GENERIC_ISSUE="Welcome to the HSDK Platform"
>  BR2_SYSTEM_DHCP="eth0"
> -- 
> 2.25.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

WARNING: multiple messages have this Message-ID (diff)
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Vineet Gupta <Vineet.Gupta1@synopsys.com>
Cc: buildroot@busybox.net, Evgeniy.Didin@synopsys.com,
	linux-snps-arc@lists.infradead.org, Alexey.Brodkin@synopsys.com
Subject: Re: [Buildroot] [PATCH 3/4] configs/snps_archs38_hsdk_defconfig: switch to glibc hard-float
Date: Sat, 16 Jan 2021 16:37:55 +0100	[thread overview]
Message-ID: <20210116153755.GL2375@scaer> (raw)
In-Reply-To: <20210115200319.4139041-4-vgupta@synopsys.com>

Vineet, All,

On 2021-01-15 12:03 -0800, Vineet Gupta spake thusly:
> We are no longer actively working on uClibc and hard-float support is
> pretty stable, so make that default for HSDK boards
> 
> The hard-float setting is a bit convulated since current ARC gcc lacks
> --with-fpu - so this is done with BR2_TARGET_OPTIMIZATION
> 
> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>

I split that patch in two:
  - one commit to switch to glibc,
  - one commit to enable hard-float

Since the hard-float, as you noticed, is using a non-conventional way to
passit, so if it truns out to be causing issues, it is easier to revert
if it is in a commit of its own.

Regards,
Yann E. MORIN.

> ---
>  configs/snps_archs38_hsdk_defconfig | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/configs/snps_archs38_hsdk_defconfig b/configs/snps_archs38_hsdk_defconfig
> index b8fd35636000..69d0b1936b3a 100644
> --- a/configs/snps_archs38_hsdk_defconfig
> +++ b/configs/snps_archs38_hsdk_defconfig
> @@ -1,6 +1,9 @@
>  BR2_arcle=y
>  BR2_archs38_full=y
> +BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
>  BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6=y
> +BR2_PACKAGE_GLIBC_UTILS=y
> +BR2_TARGET_OPTIMIZATION="-mfpu=fpud_all"
>  BR2_TARGET_GENERIC_HOSTNAME="hsdk"
>  BR2_TARGET_GENERIC_ISSUE="Welcome to the HSDK Platform"
>  BR2_SYSTEM_DHCP="eth0"
> -- 
> 2.25.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc

  reply	other threads:[~2021-01-16 15:37 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-15 20:03 [Buildroot] [PATCH 0/4] ARC updates Vineet Gupta
2021-01-15 20:03 ` Vineet Gupta
2021-01-15 20:03 ` [Buildroot] [PATCH 1/4] ARC: Add support for generic HS48 processor Vineet Gupta
2021-01-15 20:03   ` Vineet Gupta
2021-01-16 15:35   ` [Buildroot] " Yann E. MORIN
2021-01-16 15:35     ` Yann E. MORIN
2021-01-15 20:03 ` [Buildroot] [PATCH 2/4] configs/snps_archs38_hsdk_defconfig: refresh defconfig Vineet Gupta
2021-01-15 20:03   ` Vineet Gupta
2021-01-15 20:03 ` [Buildroot] [PATCH 3/4] configs/snps_archs38_hsdk_defconfig: switch to glibc hard-float Vineet Gupta
2021-01-15 20:03   ` Vineet Gupta
2021-01-16 15:37   ` Yann E. MORIN [this message]
2021-01-16 15:37     ` [Buildroot] " Yann E. MORIN
2021-01-15 20:03 ` [Buildroot] [PATCH 4/4] configs/snps_archs38_hsdk_defconfig: update for better out-of-box experience Vineet Gupta
2021-01-15 20:03   ` Vineet Gupta
2021-01-16 15:40   ` [Buildroot] " Yann E. MORIN
2021-01-16 15:40     ` Yann E. MORIN
2021-01-16 15:29 ` [Buildroot] [PATCH 0/4] ARC updates Yann E. MORIN
2021-01-16 15:29   ` Yann E. MORIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210116153755.GL2375@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.