Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1664217

Re: [PATCH 2/2] include: warn for inconsistent endian config definition

From Max Filippov <jcmvbkbc@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] include: warn for inconsistent endian config definition
Date 2017-06-12 23:00 +0200
Message-ID <tREBk-77B-3@gated-at.bofh.it> (permalink)
References <tQPfr-84G-9@gated-at.bofh.it> <tREhX-71h-17@gated-at.bofh.it> <tREBk-77B-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jun 12, 2017 at 1:51 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> That way, we don't have to guess what the toolchain does, but rather
> tell it to do whatever is configured, like we do for most other architectures.
>
> Unfortunately we can't do the same thing on xtensa, as that no longer
> supports the -mbig-endian/-mbig-endian flags in any recent gcc version
> (a long time ago it had them, but they were removed along with many other
> options).

For xtensa we probably need to generate Kconfig fragment that would go
in with the variant subdirectory. That will solve this, and clean up other
options that we currently have for manual selection for xtensa, but there's
actually no choice, i.e. the option has to be selected correctly, there's only
one correct choice and otherwise the kernel either won't build or won't work.
I'll look into it.

-- 
Thanks.
-- Max

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 2/2] include: warn for inconsistent endian config definition Babu Moger <babu.moger@oracle.com> - 2017-06-09 00:20 +0200
  Re: [PATCH 2/2] include: warn for inconsistent endian config definition Geert Uytterhoeven <geert@linux-m68k.org> - 2017-06-09 09:10 +0200
    Re: [PATCH 2/2] include: warn for inconsistent endian config definition Geert Uytterhoeven <geert@linux-m68k.org> - 2017-06-09 09:20 +0200
      Re: [PATCH 2/2] include: warn for inconsistent endian config  definition Babu Moger <babu.moger@oracle.com> - 2017-06-09 16:00 +0200
        Re: [PATCH 2/2] include: warn for inconsistent endian config definition Geert Uytterhoeven <geert@linux-m68k.org> - 2017-06-09 16:20 +0200
          Re: [PATCH 2/2] include: warn for inconsistent endian config  definition Babu Moger <babu.moger@oracle.com> - 2017-06-09 16:50 +0200
  Re: [PATCH 2/2] include: warn for inconsistent endian config  definition kbuild test robot <lkp@intel.com> - 2017-06-10 16:10 +0200
    Re: [PATCH 2/2] include: warn for inconsistent endian config  definition Babu Moger <babu.moger@oracle.com> - 2017-06-12 22:40 +0200
      Re: [PATCH 2/2] include: warn for inconsistent endian config definition Max Filippov <jcmvbkbc@gmail.com> - 2017-06-12 23:00 +0200
        Re: [PATCH 2/2] include: warn for inconsistent endian config  definition Babu Moger <babu.moger@oracle.com> - 2017-06-12 23:40 +0200
      Re: [PATCH 2/2] include: warn for inconsistent endian config definition Arnd Bergmann <arnd@arndb.de> - 2017-06-12 23:00 +0200
        Re: [PATCH 2/2] include: warn for inconsistent endian config  definition Babu Moger <babu.moger@oracle.com> - 2017-06-12 23:30 +0200

csiph-web