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

Cannot build for psp1 platform : "Assembler messages" errors #404

Closed
pleft opened this issue Jan 6, 2022 · 2 comments
Closed

Cannot build for psp1 platform : "Assembler messages" errors #404

pleft opened this issue Jan 6, 2022 · 2 comments

Comments

@pleft
Copy link

@pleft pleft commented Jan 6, 2022

On an x86 ubuntu machine, I have installed pspdev environment and cannot build libretro core with:
make -f Makefile.libretro platform=psp1

I get error when compiling core/system.c:

$ psp-gcc -ocore/system.o -c core/system.c  -DGIT_VERSION=\"" 236e783"\" -G0 -O2 -DNDEBUG  -DUSE_LIBTREMOR -DUSE_LIBCHDR -DPACKAGE_VERSION=\"1.3.2\" -DFLAC_API_EXPORTS -DFLAC__HAS_OGG=0 -DHAVE_LROUND -DHAVE_STDINT_H -D_7ZIP_ST -DHAVE_SYS_PARAM_H    -I./core/cd_hw/libchdr/src -I./core/cd_hw/libchdr/deps/libFLAC/include -I./core/cd_hw/libchdr/deps/lzma -I./core/cd_hw/libchdr/deps/zlib -I./core -I./core/z80 -I./core/m68k -I./core/ntsc -I./core/sound -I./core/input_hw -I./core/cd_hw -I./core/cart_hw -I./core/cart_hw/svp -I./libretro -I./libretro/libretro-common/include  -DUSE_16BPP_RENDERING -DFRONTEND_SUPPORTS_RGB565 -DLSB_FIRST -DBYTE_ORDER=LITTLE_ENDIAN -DPSP -D__LIBRETRO__ -DM68K_OVERCLOCK_SHIFT=20 -DZ80_OVERCLOCK_SHIFT=20 -DHAVE_YM3438_CORE -DHAVE_OPLL_CORE -DINLINE="static inline"
/tmp/cccX2eDt.s: Assembler messages:
/tmp/cccX2eDt.s:162: Error: register value used as expression `lui $16,%hi(eq)'
/tmp/cccX2eDt.s:165: Error: register value used as expression `addiu $4,$16,%lo(eq)'
/tmp/cccX2eDt.s:170: Error: register value used as expression `lui $4,%hi(eq+128)'
/tmp/cccX2eDt.s:172: Error: register value used as expression `addiu $4,$4,%lo(eq+128)'
/tmp/cccX2eDt.s:177: Error: register value used as expression `addiu $16,$16,%lo(eq)'
/tmp/cccX2eDt.s:583: Error: register value used as expression `lui $2,%hi(eq)'
/tmp/cccX2eDt.s:584: Error: register value used as expression `addiu $2,$2,%lo(eq)'
/tmp/cccX2eDt.s:585: Error: register value used as expression `lui $21,%hi(eq+128)'
/tmp/cccX2eDt.s:587: Error: register value used as expression `addiu $2,$21,%lo(eq+128)'
/tmp/cccX2eDt.s:2777: Error: symbol `eq' is already defined

any help is appreciated.

@ekeeke
Copy link

@ekeeke ekeeke commented Jan 6, 2022

Sorry but you will have to report this to the libretro team (https://github.com/libretro/Genesis-Plus-GX/issues) as I don't maintain their Makefile and cannot help you with libretro core compilation.

@ekeeke ekeeke closed this Jan 6, 2022
@pleft
Copy link
Author

@pleft pleft commented Jan 6, 2022

Ok thanks a lot!

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

2 participants