From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Thomas Perale <thomas.perale@mind.be>
Cc: buildroot@buildroot.org, Stefan Hager <stefan.hager@ginzinger.com>
Subject: Re: [Buildroot] [PATCH 1/1] package/cpuinfo: don't support ARMv4
Date: Sun, 1 Nov 2026 18:07:09 +0100 [thread overview]
Message-ID: <audxuGQMwQPpYQAj@windsurf> (raw)
In-Reply-To: <20261031134509.1584908-1-thomas.perale@mind.be>
On Sat, Oct 31, 2026 at 02:45:09PM +0100, Thomas Perale via buildroot wrote:
> Building the package cpuinfo with an ARMv4 architecture would result in
> the following error message:
>
> ```
> /home/thomas/autobuild/instance-0/output-1/host/lib/gcc/arm-buildroot-linux-gnueabi/13.4.0/../../../../arm-buildroot-linux-gnueabi/bin/ld: CMakeFiles/cpuinfo.dir/src/init.c.o: in function `cpuinfo_initialize':
> init.c:(.text+0x28): undefined reference to `cpuinfo_arm_linux_init'
> /home/thomas/autobuild/instance-0/output-1/host/lib/gcc/arm-buildroot-linux-gnueabi/13.4.0/../../../../arm-buildroot-linux-gnueabi/bin/ld: libcpuinfo.so: hidden symbol `cpuinfo_arm_linux_init' isn't defined
> /home/thomas/autobuild/instance-0/output-1/host/lib/gcc/arm-buildroot-linux-gnueabi/13.4.0/../../../../arm-buildroot-linux-gnueabi/bin/ld: final link failed: bad value
> ```
>
> This can be reproduced with the following defconfig:
>
> ```
> BR2_arm=y
> BR2_fa526=y
> BR2_PACKAGE_CPUINFO=y
> ```
>
> As stated in the README of the upstream project [1] only ARMv5 and later
> CPU are supported. This commit then exclude ARMv4 from the supported
> architecture.
>
> [1] https://github.com/pytorch/cpuinfo/blob/main/README.md#supported-environments
>
> Fixes: ea1cc1af55 package/cpuinfo: new package
> Fixes: https://autobuild.buildroot.org/results/f14/f14e4afacaa61021463c457def1cad3c81d35f29
> Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-11-01 17:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-31 13:45 [Buildroot] [PATCH 1/1] package/cpuinfo: don't support ARMv4 Thomas Perale via buildroot
2026-11-01 17:07 ` Thomas Petazzoni via buildroot [this message]
2026-11-06 16:10 ` Raphaël Mélotte via buildroot
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=audxuGQMwQPpYQAj@windsurf \
--to=buildroot@buildroot.org \
--cc=stefan.hager@ginzinger.com \
--cc=thomas.perale@mind.be \
--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 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.