folly icon indicating copy to clipboard operation
folly copied to clipboard

Build breaks on the arm64 platform: ld: error: duplicate symbol: __folly_memset

Open yurivict opened this issue 1 year ago • 3 comments

log

Version: 2024.09.16.00 clang-18 FreeBSD 14.1

yurivict avatar Sep 23 '24 05:09 yurivict

Dis you try this as mentioned in logs?

Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer.

mazeem-arbisoft avatar Sep 23 '24 12:09 mazeem-arbisoft

MAKE_JOBS_UNSAFE=yes didn't help.

yurivict avatar Sep 23 '24 15:09 yurivict

There is likely a duplicate implementation of this method __folly_memset in both FollyMemset.cpp and memset-advsimd.S, not sure but maybe it should not be implemented here or not marked extern.

It fails in your case as your system is not among the three platforms specified in the FollyMemset.cpp file.

Just try renaming the assembly method to something else.

mazeem-arbisoft avatar Sep 23 '24 21:09 mazeem-arbisoft