Bug 265172 - games/libretro-pcsx_rearmed: please fix armv7 build
Summary: games/libretro-pcsx_rearmed: please fix armv7 build
Status: Closed DUPLICATE of bug 274647
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-12 13:57 UTC by Robert Clausecker
Modified: 2023-10-29 23:12 UTC (History)
1 user (show)

See Also:
fuz: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Clausecker freebsd_committer freebsd_triage 2022-07-12 13:57:50 UTC
When building games/libretro-pcsx_rearmed for armv7 FreeBSD 13.1,  I get the following error message:

cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -D_FILE_OFFSET_BITS=64 -Wall -Iinclude -ffast-math -O2 -DNDEBUG -Ideps/libchdr/deps/zlib-1.2.11 -Ideps/lightning/include -Ideps/lightrec -Iinclude/lightning -Iinclude/lightrec -DLIGHTREC -DLIGHTREC_STATIC -DGPU_PEOPS -DTHREAD_RENDERING -Ideps/libchdr/include -Ideps/libchdr/include/libchdr -Ideps/libchdr/deps/lzma-19.00/include -DHAVE_CHD -D_7ZIP_ST -Ilibretro-common/include -DFRONTEND_SUPPORTS_RGB565 -DHAVE_LIBRETRO -DNO_FRONTEND -c -o libpcsxcore/lightrec/plugin.o libpcsxcore/lightrec/plugin.c
libpcsxcore/lightrec/plugin.c:19:2: error: "Lightrec should not be used on ARM (please specify DYNAREC=ari64 to make)"
#error "Lightrec should not be used on ARM (please specify DYNAREC=ari64 to make)"
 ^

This is especially funny given that the port is supposedly optimised for ARM.  Please change the build options so it uses ari64 when building for ARM.

Please MFH the change if possible.
Comment 1 Robert Clausecker freebsd_committer freebsd_triage 2023-10-29 23:12:59 UTC
This will be addressed by the patches for bug #274647.

*** This bug has been marked as a duplicate of bug 274647 ***