[elrepo] Build error on aarch64
Akemi Yagi
toracat at elrepo.org
Wed Apr 26 18:42:32 EDT 2023
Support for aarch64 was introduced in el9, so it is not in the spec file
for el8.
For example, you can modify:
# Kernel-lt, devel, headers, perf, tools and bpftool.
%ifarch x86_64
to:
# Kernel-lt, devel, headers, perf, tools and bpftool.
%ifarch x86_64 || aarch64
and maybe other places as needed.
Akemi
On Wed, Apr 26, 2023 at 3:28 PM David DeBonis <ddebonis at ciq.co> wrote:
> This is different in
> https://elrepo.org/linux/kernel/el8/SPECS/kernel-lt-5.4.spec where there
> is no defined value for aarch64 I believe.
>
> On Wed, Apr 26, 2023 at 3:42 PM Akemi Yagi <toracat at elrepo.org> wrote:
>
>> On Wed, Apr 26, 2023 at 1:43 PM David DeBonis via elrepo <
>> elrepo at lists.elrepo.org> wrote:
>>
>>> A colleague and I noticed a build issue when compiling on aarch64:
>>>
>>> zipmodules does not have a default define in the spec file for aarch64
>>> (only x86_64 and noarch does)
>>>
>>> This causes a build error on our system. Not sure if this is an
>>> oversight or intentional.
>>>
>>
>> I see this in the spec file:
>>
>> # Compress modules on all architectures that build modules.
>> %ifarch x86_64 || aarch64
>> %global zipmodules 1
>> %else
>> %global zipmodules 0
>> %endif
>>
>> What build error do you see? Can you copy here?
>>
>> Akemi
>>
>
>
> --
> David DeBonis
> *Computer Scientist*
>
> *P* 505 249 6452 | *E* ddebonis at ciq.co | *W* *ciq.co* <http://www.ciq.co/>
> <http://www.ciq.co>
> <http://www.ciq.co>
> <http://www.ciq.co>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elrepo.org/pipermail/elrepo/attachments/20230426/876e6e01/attachment.html>
More information about the elrepo
mailing list