lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJNi4rM_w5JKjug1PtV+tHyk11DUhRJ-K1pSDE6P1x8KSU2wrg@mail.gmail.com>
Date: Wed, 10 Jan 2024 13:59:53 +0800
From: richard clark <richard.xnu.clark@...il.com>
To: Segher Boessenkool <segher@...nel.crashing.org>
Cc: Xi Ruoyao <xry111@...111.site>, Mark Rutland <mark.rutland@....com>, gcc-help@....gnu.org, 
	linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: undefined reference to `__aarch64_cas4_sync' error on arm64
 native build

Hi Segher,

A ported driver in linux kernel calls '__sync_val_compare_and_swap',
the cross-compiler 'aarch64-linux-gnu-gcc' doesn't complain
'__aarch64_cas1_sync' undefined reference, but the native compiler
will complain. As Mark mentioned, I double check that both cross and
native compiler should have  ''-moutline-atomics' option enabled, do
you know the reason for that?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ