Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

netlist opmizations are disabled on android #200

Closed
tcamargo opened this issue Aug 18, 2020 · 0 comments
Closed

netlist opmizations are disabled on android #200

tcamargo opened this issue Aug 18, 2020 · 0 comments

Comments

@tcamargo
Copy link

tcamargo commented Aug 18, 2020

netlist aligned optmizations use aligned_alloc. Failing to link on android.

Probably related to android/ndk#421.

See android/ndk#1339.

Optimizations were enabled in mame-0.223: mamedev@3fcdfa0

./../../../libretro/bin/mame_mame/liboptional.a(netlist.o):netlist.cpp:function netlist_mame_analog_output_device::pre_parse_action(netlist::nlparse_t&): error: undefined reference to 'aligned_alloc'
../../../../libretro/bin/mame_mame/liboptional.a(netlist.o):netlist.cpp:function netlist_mame_logic_output_device::pre_parse_action(netlist::nlparse_t&): error: undefined reference to 'aligned_alloc'
../../../../libretro/bin/mame_mame/liboptional.a(netlist.o):netlist.cpp:function netlist_mame_stream_output_device::pre_parse_action(netlist::nlparse_t&): error: undefined reference to 'aligned_alloc'
../../../../libretro/bin/mame_mame/liboptional.a(netlist.o):netlist.cpp:function netlist_mame_device::base_validity_check(validity_checker&) const: error: undefined reference to 'aligned_alloc'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [mame.make:517: ../../../../../mame_libretro_android.so] Error 1
make[2]: *** [Makefile:1138: mame] Error 2
make[2]: Leaving directory '/home/camargo/batocera/mame/build/projects/retro/mame/gmake-android-arm'
make[1]: *** [makefile:1288: android-arm] Error 2
make[1]: Leaving directory '/home/camargo/batocera/mame'
make: *** [Makefile.libretro:180: build] Error 2
@tcamargo tcamargo changed the title palloc opmizations are disabled on android netlist opmizations are disabled on android Aug 18, 2020
@tcamargo tcamargo added enhancement and removed bug labels Aug 18, 2020
tcamargo added a commit to tcamargo/mame that referenced this issue Aug 18, 2020
tcamargo added a commit to tcamargo/mame that referenced this issue Aug 18, 2020
tcamargo added a commit that referenced this issue Aug 18, 2020
@tcamargo tcamargo self-assigned this Aug 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant