From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: Question regarding rootfile warning "Error! '/aarch64' in rootfiles files found!"
Date: Sun, 05 Dec 2021 12:45:50 +0100 [thread overview]
Message-ID: <b2edfe18-800b-9491-abc7-cb776170c6d3@ipfire.org> (raw)
In-Reply-To: <e33ab2c5-2333-c368-46c6-4e17668f3d9e@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 1659 bytes --]
Hi Peter,
Sorry, I had intended to send out a message about this when I submitted the patches for this but it slipped my mind till I saw your email.
On 05/12/2021 11:47, Peter Müller wrote:
> Hello *,
>
> while preparing Core Update 163, these messages are emitted at the end of a build on my workstation:
>
>> Error! '/aarch64' in rootfiles files found!
>> ./config/rootfiles/common/liburcu:#usr/include/urcu/arch/aarch64.h
>> ./config/rootfiles/common/liburcu:#usr/include/urcu/uatomic/aarch64.h
>> ./config/rootfiles/common/gdb:#usr/share/gdb/syscalls/aarch64-linux.xml
>> Replace by xxxMACHINExxx !
> While I get the intention of a check like this, these appear to be safe to ignore. However, I'd like
> to have someone more experienced on this to confirm that opinion.
I don't consider myself more experienced on this but I did have a look through the rootfile ff liburcu when I saw this message when I did the build.
There are a series of header files for each of the architectures. The 32 bit arm one is called arm.h, the 64 bit x86 is called x86.h. The one for the 64 bit arm architecture is called aarch64.h so this is the one that happens to use a filename the same as the names IPFire uses for architectures.
Replacing the name with xxxMACHINExxx would end up creating file names such as x86_64.h which would not work in the build because these names are not the result of the build but are the actual source files.
How should we deal with the situation where a source file filename happens to use an architecture name the same as an IPFire name.
Regards,
Adolf.
> Thanks, and best regards,
> Peter Müller
next prev parent reply other threads:[~2021-12-05 11:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-05 10:47 Peter Müller
2021-12-05 11:45 ` Adolf Belka [this message]
2021-12-09 19:31 ` Peter Müller
2021-12-09 19:39 ` Peter Müller
2021-12-09 19:41 ` Michael Tremer
2021-12-09 19:52 ` Peter Müller
2021-12-09 19:54 ` Michael Tremer
2021-12-15 14:06 ` Adolf Belka
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=b2edfe18-800b-9491-abc7-cb776170c6d3@ipfire.org \
--to=adolf.belka@ipfire.org \
--cc=development@lists.ipfire.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