[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: emulators/mame not linking on sparc64
On Sun, Aug 23, 2020 at 2:56 PM Martin Husemann <martin%duskware.de@localhost> wrote:
> On Sun, Aug 23, 2020 at 02:41:04PM +0200, Connor McLaughlan wrote:
> > imgui_draw.cpp:(.text+0x2dc8): warning: Warning: reference to the libc
> > supplied alloca(3); this most likely will not work. Please use the
> > compiler provided version of alloca(3), by supplying the appropriate
> > compiler flags (e.g. not -std=c89).
> This hint is the correct way to fix it - check for the -std=... arg
> supplied by the makefile and replace it with -std=gnu....
> Example: -std=c99 becomes -std=gnu99
Except mame is a most complex project and i have no idea where i
should change what, as there is no makefile anywhere near
The things i could find are:
bash-5.0# grep -r std=c89 *
-Wall -Wextra -Werror -std=c89
target_compile_options(spirv-cross-c-api-test PRIVATE -std=c89 -Wall
$(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_C89" CC="gcc -std=c89"
mame-mame0220/3rdparty/lua/src/Makefile: $(MAKE) $(ALL)
SYSCFLAGS="-DLUA_USE_C89" CC="gcc -std=c89"
Or do you mean the pkgsrc Makefile:
USE_LANGUAGES= c99 c++
I guess i have to recompile it after these changes? Or can i still try
to link it with different settings now?
Unfortunately even with export PKG_DEBUG_LEVEL=1 i am not getting any
hint where it works on and which makefile is the culprit.
Anyway mame was a last resort and i thought it could work on sparc64
because it is a somewhat popular project.
But i don't really want to recompile it for 3 days on my Ultra 25 each
time i make one change to try.
As i need an Amstrad emulator, i will file segfaulting reports for
emulators/caprice32 and emulators/xcpc instead.
Main Index |
Thread Index |