On Sunday, February 25, 2024 16:44 CET, Mark Kettenis <[email protected]> 
wrote:

> > x11/gnustep/libobjc2.log
> > ld: warning: __objc_block_trampoline_sret: missing endbr64
> > ld: warning: __objc_block_trampoline: missing endbr64
> > ld: warning: objc_msgSend: missing endbr64
> > ld: warning: objc_msgSend_fpret: missing endbr64
> > ld: warning: objc_msgSend_stret: missing endbr64
> 
> I guess this is very similay to devel/objfw.  Just add endbr64 to
> those functions like we did there.  No aarch64 support here by the
> looks of it.

Above version of libobjc2 is old, but due to build errors, and runtime errors, 
I was 
unable to upgrade. However, a new version was released just a few days ago, and 
that one even builds
and doesn't show runtime errors so far.
I updated one test box, to get these new ld warnings, there are only these left 
on amd64:

ld: warning: objc_msgSend: missing endbr64
ld: warning: objc_msgSend_fpret: missing endbr64
ld: warning: objc_msgSend_stret: missing endbr64

Which are all the platforms, that need such fix? I see objc_msgSend_fpret for 
aarch64, arm, 
amd64, i386, mips and riscv64.

Attached patch to update to the new 2.2 release, without any fixes for the 
missing endbr64.

Sebastian

Attachment: libobjc2-2.2.diff
Description: Binary data

Reply via email to