Re: /util/cpuinfo-aarch64.c:58:22: error: 'HWCAP_USCAT' undeclared

2024-04-01 Thread Liviu Ionescu
> On 1 Apr 2024, at 23:04, Marcin Juszkiewicz > wrote: > > So ask Ubuntu Pro team for support? I did not ask for support, I just notified the community of an issue I encountered while building the latest sources, driven by a sincere desire to improve the project. If this bothered you, I

Re: /util/cpuinfo-aarch64.c:58:22: error: 'HWCAP_USCAT' undeclared

2024-04-01 Thread Marcin Juszkiewicz
W dniu 1.04.2024 o 21:55, Liviu Ionescu pisze: On 1 Apr 2024, at 21:48, Richard Henderson wrote: You were told back in September that Ubuntu 18.04 is no longer supported. Sorry, I missed that. BTW, according to ubuntu.com: "With Ubuntu Pro, the 18.04 LTS will be fully supported until 2028.".

Re: /util/cpuinfo-aarch64.c:58:22: error: 'HWCAP_USCAT' undeclared

2024-04-01 Thread Liviu Ionescu
> On 1 Apr 2024, at 21:48, Richard Henderson > wrote: > > You were told back in September that Ubuntu 18.04 is no longer supported. Sorry, I missed that. BTW, according to ubuntu.com: "With Ubuntu Pro, the 18.04 LTS will be fully supported until 2028.". Regards, Liviu

Re: /util/cpuinfo-aarch64.c:58:22: error: 'HWCAP_USCAT' undeclared

2024-04-01 Thread Richard Henderson
On 4/1/24 08:08, Liviu Ionescu wrote: same behaviour for 8.2.2; same workaround. On 2 Sep 2023, at 21:11, Liviu Ionescu wrote: When trying to build 8.1.0 on an Ubuntu 18.04 aarch64, I get the above error. You were told back in September that Ubuntu 18.04 is no longer supported. The passage

Re: /util/cpuinfo-aarch64.c:58:22: error: 'HWCAP_USCAT' undeclared

2024-04-01 Thread Liviu Ionescu
same behaviour for 8.2.2; same workaround. > On 2 Sep 2023, at 21:11, Liviu Ionescu wrote: > > When trying to build 8.1.0 on an Ubuntu 18.04 aarch64, I get the above error. > > The offending code in `/util/cpuinfo-aarch64.c` is: > > ```c > #ifdef CONFIG_LINUX >unsigned long hwcap =

Re: /util/cpuinfo-aarch64.c:58:22: error: 'HWCAP_USCAT' undeclared

2023-09-02 Thread Michael Tokarev
02.09.2023 23:01, Marcin Juszkiewicz wrote: ... The offending code in `/util/cpuinfo-aarch64.c` is: > ```c > #ifdef CONFIG_LINUX >  unsigned long hwcap = qemu_getauxval(AT_HWCAP); >  info |= (hwcap & HWCAP_ATOMICS ? CPUINFO_LSE : 0); >  info |= (hwcap & HWCAP_USCAT ?

Re: /util/cpuinfo-aarch64.c:58:22: error: 'HWCAP_USCAT' undeclared

2023-09-02 Thread Marcin Juszkiewicz
W dniu 2.09.2023 o 20:11, Liviu Ionescu pisze: When trying to build 8.1.0 on an Ubuntu 18.04 aarch64, I get the above error. Ubuntu 18.04 is not supported anymore by Canonical. End-Of-Life was in May 2023. The offending code in `/util/cpuinfo-aarch64.c` is: > ```c > #ifdef CONFIG_LINUX >

/util/cpuinfo-aarch64.c:58:22: error: 'HWCAP_USCAT' undeclared

2023-09-02 Thread Liviu Ionescu
When trying to build 8.1.0 on an Ubuntu 18.04 aarch64, I get the above error. The offending code in `/util/cpuinfo-aarch64.c` is: ```c #ifdef CONFIG_LINUX unsigned long hwcap = qemu_getauxval(AT_HWCAP); info |= (hwcap & HWCAP_ATOMICS ? CPUINFO_LSE : 0); info |= (hwcap & HWCAP_USCAT ?