All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mohan Rao .vanimina" <mailtoc.mohanrao@gmail.com>
To: linux-arm-kernel@lists.infradead.org
Subject: linker script /arch/arm64/kernel/vmlinux.lds build error
Date: Tue, 6 Sep 2022 23:43:53 +0530	[thread overview]
Message-ID: <CAL_GTzigiNOMYkOPX1KDnagPhJtFNqSK=1USNbS0wUL4PW6-Uw@mail.gmail.com> (raw)

Has anyone ever encountered the following issue.
Actually I’m trying to configure the page size for 64KB for the AARCH
64 platform.

Build error:
LTO vmlinux.o
MODPOST vmlinux.symvers
MODINFO modules.builtin.modinfo
GEN modules.builtin
LD  .tmp_vmlinux.kallsymsl
ld.lld: error: k/arch/arm64/kernel/vmlinux.lds:72: symbol not found: PMD_SIZE

I started seeing this build issue after changing the default page size
from ARM64_4K_PAGES to ARM64_64K_PAGES.

patch:
choice
            prompt “Page size”
-          default ARM64_4K_PAGES
+         default ARM64_64K_PAGES
            help
                 Page size ( translation granule) configuration.

Thanks in Advance,
Murali

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

             reply	other threads:[~2022-09-06 18:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-06 18:13 Mohan Rao .vanimina [this message]
2022-09-07 10:30 ` linker script /arch/arm64/kernel/vmlinux.lds build error Robin Murphy
2022-09-15 15:40   ` Mohan Rao .vanimina
2022-09-20 12:20     ` Mark Rutland
2022-09-20 15:06       ` Sami Tolvanen

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='CAL_GTzigiNOMYkOPX1KDnagPhJtFNqSK=1USNbS0wUL4PW6-Uw@mail.gmail.com' \
    --to=mailtoc.mohanrao@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.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.