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

Does not compile on ARM #608

Closed
Hubbitus opened this Issue Jan 17, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@Hubbitus

Hubbitus commented Jan 17, 2016

/builddir/build/BUILD/rigs-of-rods-23c619a9010e375ea7357ef190ff683f2beac5d4/source/main/physics/BeamFactory.cpp:71:23: error: impossible constraint in 'asm'
    : "a" (i), "c" (0));
                       ^
source/main/main_sim/CMakeFiles/RoR.dir/build.make:3902: recipe for target 'source/main/main_sim/CMakeFiles/RoR.dir/__/physics/BeamFactory.cpp.o' failed
make[2]: *** [source/main/main_sim/CMakeFiles/RoR.dir/__/physics/BeamFactory.cpp.o] Error 1

Full log: https://kojipkgs.fedoraproject.org//work/tasks/6906/12586906/build.log

@Hubbitus Hubbitus changed the title from Does not compiled on ARM to Does not compile on ARM Jan 17, 2016

@Hiradur

This comment has been minimized.

Show comment
Hide comment
@Hiradur

Hiradur Jan 17, 2016

Contributor

I compiled RoR on ARM before and it worked, this is a problem with the CPU core count detection recently introduced by @ulteq

Code here: https://github.com/RigsOfRods/rigs-of-rods/blob/master/source/main/physics/BeamFactory.cpp#L66

Instead of #else we need #elif defined(_X86_) || defined(__i386__) || defined(__386__)and another #else path for non-x86 CPUs.

Contributor

Hiradur commented Jan 17, 2016

I compiled RoR on ARM before and it worked, this is a problem with the CPU core count detection recently introduced by @ulteq

Code here: https://github.com/RigsOfRods/rigs-of-rods/blob/master/source/main/physics/BeamFactory.cpp#L66

Instead of #else we need #elif defined(_X86_) || defined(__i386__) || defined(__386__)and another #else path for non-x86 CPUs.

@Hiradur Hiradur added the coding label Jan 17, 2016

Hubbitus added a commit to Hubbitus/Fedora-packaging that referenced this issue Jan 17, 2016

rigsofrods major update
* Sun Jan 17 2016 Pavel Alexeev <Pahan@Hubbitus.info> - 0.4.6.0-0.5.git.23c619a
- Does not compiled on ARM - RigsOfRods/rigs-of-rods#608. Excluded.

* Sat Jan 16 2016 Pavel Alexeev <Pahan@Hubbitus.info> - 0.4.6.0-0.4.git.23c619a
- Report segfault: RigsOfRods/rigs-of-rods#550 - temporary disable caelum (it is optional dep).
- Add BR openssl-devel
- Report new segfault: RigsOfRods/rigs-of-rods#602
- Hit issue RigsOfRods/rigs-of-rods#156. Add patch igsofrods-0.4.6.0-mygui-gt-2.2.1.patch.

* Sun Jan 10 2016 Pavel Alexeev <Pahan@Hubbitus.info> - 0.4.6.0-0.3.git.23c619a
- Update to 23c619a9010e375ea7357ef190ff683f2beac5d4 - RigsOfRods/rigs-of-rods#534 closed. Build without angelscript until RigsOfRods/rigs-of-rods#530 resolved.
- Add patch rigsofrods-0.4.6.0-without-angelscript.patch for 534 issue as sugested in RigsOfRods/rigs-of-rods@23c619a.

* Fri Jan 08 2016 Pavel Alexeev <Pahan@Hubbitus.info> - 0.4.6.0-0.2.git.c10f9ac
- Use autodownloader to easy download high quality pack (can't be redistributed RigsOfRods/rigs-of-rods#542)

* Wed Jan 06 2016 Pavel Alexeev <Pahan@Hubbitus.info> - 0.4.6.0-0.1.git.c10f9ac
- Update to upstream release 0.4.6.0 (RigsOfRods/rigs-of-rods#145 (comment)).
- Project now on github.
- Fill RigsOfRods/rigs-of-rods#530 about outdated AngelScript API usage. Disable AngelScript for now.
- Step to unreliased versions (due to the RigsOfRods/rigs-of-rods#145)
- Fill RigsOfRods/rigs-of-rods#534 (ScriptEngine.h: No such file or directory) - add temporary patch1: rigsofrods-0.4.6.0-build-without-angelscript.patch
- Upstream informed about incorrect fsf address: RigsOfRods/rigs-of-rods#538
- Fill RigsOfRods/rigs-of-rods#541 about required /usr/bin//plugins.cfg

ulteq added a commit to ulteq/rigs-of-rods that referenced this issue Jan 18, 2016

@ulteq ulteq closed this in #610 Jan 20, 2016

@Hubbitus

This comment has been minimized.

Show comment
Hide comment
@Hubbitus

Hubbitus commented Jan 24, 2016

Hubbitus added a commit to Hubbitus/Fedora-packaging that referenced this issue Jan 25, 2016

0.4.6.0-0.6.git.3e56c07
- Issue with compilation on ARM resolved (RigsOfRods/rigs-of-rods#608).
- Drop rigsofrods-0.4.6.0-mygui-gt-2.2.1.patch as it incorporated (RigsOfRods/rigs-of-rods#156 -> RigsOfRods/rigs-of-rods#547)

Hubbitus added a commit to Hubbitus/rpm-rigsofrods that referenced this issue Jan 31, 2017

rigsofrods major update
* Sun Jan 17 2016 Pavel Alexeev <Pahan@Hubbitus.info> - 0.4.6.0-0.5.git.23c619a
- Does not compiled on ARM - RigsOfRods/rigs-of-rods#608. Excluded.

* Sat Jan 16 2016 Pavel Alexeev <Pahan@Hubbitus.info> - 0.4.6.0-0.4.git.23c619a
- Report segfault: RigsOfRods/rigs-of-rods#550 - temporary disable caelum (it is optional dep).
- Add BR openssl-devel
- Report new segfault: RigsOfRods/rigs-of-rods#602
- Hit issue RigsOfRods/rigs-of-rods#156. Add patch igsofrods-0.4.6.0-mygui-gt-2.2.1.patch.

* Sun Jan 10 2016 Pavel Alexeev <Pahan@Hubbitus.info> - 0.4.6.0-0.3.git.23c619a
- Update to 23c619a9010e375ea7357ef190ff683f2beac5d4 - RigsOfRods/rigs-of-rods#534 closed. Build without angelscript until RigsOfRods/rigs-of-rods#530 resolved.
- Add patch rigsofrods-0.4.6.0-without-angelscript.patch for 534 issue as sugested in RigsOfRods/rigs-of-rods@23c619a.

* Fri Jan 08 2016 Pavel Alexeev <Pahan@Hubbitus.info> - 0.4.6.0-0.2.git.c10f9ac
- Use autodownloader to easy download high quality pack (can't be redistributed RigsOfRods/rigs-of-rods#542)

* Wed Jan 06 2016 Pavel Alexeev <Pahan@Hubbitus.info> - 0.4.6.0-0.1.git.c10f9ac
- Update to upstream release 0.4.6.0 (RigsOfRods/rigs-of-rods#145 (comment)).
- Project now on github.
- Fill RigsOfRods/rigs-of-rods#530 about outdated AngelScript API usage. Disable AngelScript for now.
- Step to unreliased versions (due to the RigsOfRods/rigs-of-rods#145)
- Fill RigsOfRods/rigs-of-rods#534 (ScriptEngine.h: No such file or directory) - add temporary patch1: rigsofrods-0.4.6.0-build-without-angelscript.patch
- Upstream informed about incorrect fsf address: RigsOfRods/rigs-of-rods#538
- Fill RigsOfRods/rigs-of-rods#541 about required /usr/bin//plugins.cfg

Hubbitus added a commit to Hubbitus/rpm-rigsofrods that referenced this issue Jan 31, 2017

0.4.6.0-0.6.git.3e56c07
- Issue with compilation on ARM resolved (RigsOfRods/rigs-of-rods#608).
- Drop rigsofrods-0.4.6.0-mygui-gt-2.2.1.patch as it incorporated (RigsOfRods/rigs-of-rods#156 -> RigsOfRods/rigs-of-rods#547)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment