-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 sysbench on mips64el #318
Comments
This is a ConcurrencyKit limitation: concurrencykit/ck#80 |
@akopytov For MIPS, you can always just enable the GCC built-in port. That will be sub-optimal but might be with-in acceptable range and still correct. This falls back to using compiler built-ins. What do you think? |
@sbahra Compiler built-ins look like an acceptable option to me. Thanks for reminding me. I'm going to implement it for mips64el. |
@xieyanker can you try if building the latest git works for you? |
@akopytov Thanks for your help, I rebuild from the latest code, but still not work. mkdir tmp
tar -C . -cf - ck | tar -xf - -C tmp/
chmod -R u+w tmp
cd tmp/ck && \
CC="gcc -std=gnu99" \
CFLAGS="-O3 -funroll-loops -ggdb3 -D_GNU_SOURCE " \
LDFLAGS="-L/usr/local/lib" \
./configure --use-cc-builtins \
--prefix=/root/xujingsong/sysbench/third_party/concurrency_kit && \
make && \
make install
Detecting operating system.......success [linux]
Detecting machine architecture...failed [unsupported] |
@xieyanker right, sorry, this is not as easy as I thought. I would suggest reporting this to ConcurrencyKit. I'm happy to merge the fix as soon as it is available. |
Committed an improvement to master now. Up until now, configure profile would be used for platforms without official coverage (on which manual validation of generated code was also performed). However, I have committed a fix for this. You should now see a different behavior @xieyanker. Can you try again? Does sysbench behave as expected? |
@sbahra @akopytov Thanks for your help, I have successfully built it. root@master1:[/root/xujingsong/sysbench]sysbench --version
sysbench 1.1.0-74f3b6b But it seems that the |
i am facing the same problem as u did. can u tell me how can u solved this situation. |
Hello, I need to build the sysbench on mips64el arch,but it seems that the platform is not supported. Is there exist any idea to build it on mips64el?
Linux master2 3.10.0-862.9.1.ns7_4.37.mips64el #1 SMP PREEMPT Tue Feb 26 19:23:39 CST 2019 mips64el mips64el mips64el GNU/Linux
The text was updated successfully, but these errors were encountered: