Error: no such instruction: `eor %edx,%r15d,%r15d,ror'

Rusty Dekema rdekema at gmail.com
Mon Apr 14 14:07:13 UTC 2014


To the best of my knowledge from when I first was trying to build
osmocom-bb, the error you are receiving is a result of gcc for Intel
x86/x86_64 trying to compile ARM code. There is no 'eor' instruction
for x86, which is why you get that error.

When you built the toolchain, you built a copy of gcc that compiles to
the ARM architecture. On your system, this compiler should be located
at /home/arslan/dir/install/bin/arm-elf-gcc. The message about
assuming arm-elf-gcc is inside the current path means your PATH
environment variable, not your current working directory. So, if you
add /home/arslan/dir/install/bin to your path environment variable,
the osmocom-bb build scripts will be able to find arm-elf-gcc there,
and you should not receive that error.

If you are using bash as your shell, you can accomplish this by
issuing the command:

export PATH=$PATH:/home/arslan/dir/install/bin

Cheers,
Rusty D



On Mon, Apr 14, 2014 at 7:46 AM, Ahmad Jan <e10007a at gmail.com> wrote:
> Hi...
> I m trying to install osmocom-bb using following link:
>
> http://bb.osmocom.org/trac/wiki/Software/GettingStarted
>
> First of all i installed the Dependencies for the host.
>
> Then for target dependencies, i build my own toolchain using following:
>
> http://bb.osmocom.org/trac/wiki/GnuArmToolchain
>
> This toolchain building processes ended up saying: "Build complete! Add
> /home/arslan/dir/install/bin to your PATH to make arm-elf-gcc and friends
> accessible directly."
> (i don't know building my own toolchain is necessary or not).
>
> Then i went back for building osmocom-bb
>
> There i came across getting and updating the source.
>
> But in building the source section, what it says is: " Compiling both the
> target and the host code will happen with the following command. It assumes
> that the arm-elf-gcc is inside the current path."
>
> I didn't understand it as my current path is osmocom-bb and there is no
> arm-elf-gcc
> Can anyone tell me what does it mean?
>
> Anyways, i just ignored it and went on executing the following command
>
> cd src/
> make
>
> So i ended up with an error saying:
> /home/arslan/osmocom-bb/src/target/firmware/include/asm/swab.h:32: Error: no
> such instruction: `eor %edx,%r15d,%r15d,ror'
> make[4]: *** [gsmtap_util.lo] Error 1
>
> I tried to figure it out from Internet. It really didn't work out.
> M stuck at this point.
> Can anyone help me resolving this problem?
>
>




More information about the baseband-devel mailing list