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

build fails on powerpc (linux) #935

Open
crazycusti opened this issue Nov 19, 2017 · 4 comments

Comments

Projects
None yet
4 participants
@crazycusti
Copy link

commented Nov 19, 2017

[ 39%] Building CXX object libopenage/CMakeFiles/libopenage.dir/error/demo.cpp.o
[ 39%] Building CXX object libopenage/CMakeFiles/libopenage.dir/error/error.cpp.o
/tmp/ccmrhs8c.s: Assembler messages:
/tmp/ccmrhs8c.s:3493: Error: unrecognized opcode: `int'
libopenage/CMakeFiles/libopenage.dir/build.make:2930: die Regel für Ziel „libopenage/CMakeFiles/libopenage.dir/error/error.cpp.o“ scheiterte
make[3]: *** [libopenage/CMakeFiles/libopenage.dir/error/error.cpp.o] Fehler 1
CMakeFiles/Makefile2:1482: die Regel für Ziel „libopenage/CMakeFiles/libopenage.dir/all“ scheiterte
make[2]: *** [libopenage/CMakeFiles/libopenage.dir/all] Fehler 2
Makefile:160: die Regel für Ziel „all“ scheiterte
make[1]: *** [all] Fehler 2
Makefile:33: die Regel für Ziel „build“ scheiterte
make: *** [build] Fehler 2
wynton@PowerBookG4:~/Downloads/SFTtech-openage-c69922d$

Ubuntu Mate 16.04
openage git (19.11.2017)
PowerPC G4 7450 1.67GHz
GCC 5.4.0 altivec enabled

Any ideas?

@janisozaur

This comment has been minimized.

Copy link
Contributor

commented Nov 19, 2017

@crazycusti

This comment has been minimized.

Copy link
Author

commented Nov 19, 2017

Silly workaround:
remove BREAKPOINT in error.cpp

@TheJJ

This comment has been minimized.

Copy link
Member

commented Nov 25, 2017

Maybe you can implement the correct BREAKPOINT asm for powerpc. The x86 asm should only be used on x86, anyway. This should be an easy task to do.

@chocoladisco

This comment has been minimized.

Copy link
Contributor

commented Jan 10, 2018

@TheJJ #890 (comment)
would probably need to add a case:

#elif __powerpc
#define BREAKPOINT asm("tw 31,0,0")

which should unconditionally cause a program interrupt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.