From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: Alexander Egorenkov <egorenar-dev@posteo.net>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/makedumpfile: set CROSS
Date: Mon, 15 Aug 2022 12:00:57 +0200 [thread overview]
Message-ID: <20220815120057.6a188a67@windsurf> (raw)
In-Reply-To: <20220815094054.291874-1-fontaine.fabrice@gmail.com>
On Mon, 15 Aug 2022 11:40:54 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Set CROSS variable otherwise makedumpfile will use it to undefine the
> host architecture through -U__$(HOST_ARCH)__ if $(TARGET) is not equal
> to $(HOST_ARCH). This will result in the following build failure since
> the addition of the package in commit
> adb64a97e79bcb4e28450dd858654003ec8706c3 if aarch64_be is cross-compiled
> on a aarch64 host for example:
>
> /home/autobuild/autobuild/instance-5/output-1/host/bin/aarch64_be-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DVERSION='"1.7.0"' -DRELEASE_DATE='"8 Nov 2021"' -D__aarch64_be__ -U__aarch64__ -DUSELZO -c -o ./print_info.o print_info.c
>
> [...]
>
> makedumpfile.c: In function 'is_kvaddr':
> makedumpfile.c:1547:46: error: 'KVBASE' undeclared (first use in this function)
> 1547 | return (addr >= (unsigned long long)(KVBASE));
> | ^~~~~~
>
> Fixes:
> - http://autobuild.buildroot.org/results/e4e10364e1a24099ce31bf20eacf5adedf93e5a7
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/makedumpfile/makedumpfile.mk | 1 +
> 1 file changed, 1 insertion(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2022-08-15 10:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-15 9:40 [Buildroot] [PATCH 1/1] package/makedumpfile: set CROSS Fabrice Fontaine
2022-08-15 10:00 ` Thomas Petazzoni via buildroot [this message]
2022-09-16 12:05 ` Peter Korsgaard
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=20220815120057.6a188a67@windsurf \
--to=buildroot@buildroot.org \
--cc=egorenar-dev@posteo.net \
--cc=fontaine.fabrice@gmail.com \
--cc=thomas.petazzoni@bootlin.com \
/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