linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dick Hollenbeck <dick@softplc.com>
To: linux-rt-users@vger.kernel.org
Subject: Need help building for aarch64 kernel 5.2
Date: Tue, 12 Nov 2019 13:21:45 -0600	[thread overview]
Message-ID: <a0a64a18-5805-de3b-c4f7-537de8fa0508@softplc.com> (raw)

Hi Experts,

I really need some help please.

Here is the result of my first build attempt on a tree made from pristine
Linux 5.2.21

and the corresponding RT patch, which applied cleanly:



$ /i/runtime/arm64/kernel/build-arm64-rt.sh
make[1]: Entering directory '/ssd/build/linux-5.2.y'
  GEN     Makefile
scripts/kconfig/conf  --syncconfig Kconfig
  GEN     Makefile
  Using /ssd/linux-5.2.y as source for kernel
  CALL    /ssd/linux-5.2.y/scripts/atomic/check-atomics.sh
  CALL    /ssd/linux-5.2.y/scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  GZIP    kernel/config_data.gz
  CC      kernel/configs.o
  AR      kernel/built-in.a
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  AR      init/built-in.a
  LD      vmlinux.o
  MODPOST vmlinux.o
  MODINFO modules.builtin.modinfo
kernel/sched/core.o: In function `migrate_enable':
core.c:(.text+0x3750): undefined reference to `takedown_cpu_task'
core.c:(.text+0x3750): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against
undefined symbol `takedown_cpu_task'
core.c:(.text+0x3754): undefined reference to `takedown_cpu_task'
/ssd/linux-5.2.y/Makefile:1054: recipe for target 'vmlinux' failed
make[1]: *** [vmlinux] Error 1
make[1]: Leaving directory '/ssd/build/linux-5.2.y'
Makefile:179: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2


Am I right to think that this pointer, takedown_cpu_task, is more that some maximum
distance away from object file "core.o" in the link image for the build setup?


How are other globals avoiding this same problem, what't the best fix?


Thanks much,

Dick


             reply	other threads:[~2019-11-12 19:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-12 19:21 Dick Hollenbeck [this message]
2019-11-12 20:33 ` Need help building for aarch64 kernel 5.2 Paul Thomas
2019-11-13 18:02   ` Dick Hollenbeck
2019-11-13 21:29     ` Paul Thomas
2019-11-29 16:43       ` [PATCH] sched/core: migrate_enable() must access takedown_cpu_task on !HOTPLUG_CPU Sebastian Andrzej Siewior

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=a0a64a18-5805-de3b-c4f7-537de8fa0508@softplc.com \
    --to=dick@softplc.com \
    --cc=linux-rt-users@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).