View Single Post
Posts: 3,074 | Thanked: 12,964 times | Joined on Mar 2010 @ Sofia,Bulgaria
#39
Originally Posted by gidzzz View Post
You got me curious. I loosely followed instructions from the wiki to set up the GCC 4.7.2 target and looks like it went well (Open Media Player lost almost half of its weight, yay! Hamster Filer works great too).

Unfortunately, when it comes to Homeworld, it fails to start with the following message, no matter if it's compiled with or without -mthumb:
Code:
A newer kernel is required to run this binary. (__kernel_cmpxchg64 helper)
Aborted (core domped)
I have no idea what to do with it (although I have not performed a thorough googling yet). If you have a clue, I'd be grateful.
I did just a little googling, but it seems to me your gcc target CPU is not setup correctly. For some reason gcc is not using LDREX/STREX for atomic operations. Try to pass -march=armv7-a -mcpu=cortex-a8 -mfpu=neon in CFLAGS/CXXFLAGS. But make sure there is no -ffast-math or -O3 or -ftree-vectorize, auto-vectorizer still produces slower neon code than ARM(without auto-vectorizer).
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following 4 Users Say Thank You to freemangordon For This Useful Post: