All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: linux-mips@linux-mips.org
Cc: Steven.Hill@imgtec.com
Subject: >=linux-4.1: build fails w/_PAGE_GLOBAL_SHIFT redefined errors in pgtable-bits.h
Date: Fri, 11 Sep 2015 15:25:53 -0400	[thread overview]
Message-ID: <20150911192553.GF640@vapier> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 979 bytes --]

this works in linux-4.0, but starting with 4.1, i'm seeing:
  CC      arch/mips/kernel/cpu-probe.o
In file included from ./arch/mips/include/asm/io.h:27:0,
                 from ./arch/mips/include/asm/page.h:176,
                 from include/linux/mm_types.h:15,
                 from include/linux/sched.h:27,
                 from include/linux/ptrace.h:5,
                 from arch/mips/kernel/cpu-probe.c:16:
./arch/mips/include/asm/pgtable-bits.h:164:0: error: "_PAGE_GLOBAL_SHIFT" redefined [-Werror]
./arch/mips/include/asm/pgtable-bits.h:141:0: note: this is the location of the previous definition
cc1: all warnings being treated as errors
make[2]: *** [arch/mips/kernel/cpu-probe.o] Error 1
make[1]: *** [arch/mips/kernel] Error 2
make: *** [arch/mips] Error 2

this warning hits many times, but this one is actually fatal

looks like it's due to:
	be0c37c985eddc46d0d67543898c086f60460e2e MIPS: Rearrange PTE bits into fixed positions.

my config is attached
-mike

[-- Attachment #1.2: config.gz --]
[-- Type: application/octet-stream, Size: 19001 bytes --]

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

             reply	other threads:[~2015-09-11 19:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-11 19:25 Mike Frysinger [this message]
2015-09-25 19:02 ` >=linux-4.1: build fails w/_PAGE_GLOBAL_SHIFT redefined errors in pgtable-bits.h Mike Frysinger

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=20150911192553.GF640@vapier \
    --to=vapier@gentoo.org \
    --cc=Steven.Hill@imgtec.com \
    --cc=linux-mips@linux-mips.org \
    /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.