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

Unable to build uml on 64 bit linux #17

Open
ubogdan opened this issue Oct 11, 2017 · 0 comments
Open

Unable to build uml on 64 bit linux #17

ubogdan opened this issue Oct 11, 2017 · 0 comments

Comments

@ubogdan
Copy link

ubogdan commented Oct 11, 2017

I allways get this error
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/libgcc_eh.a when searching for -lgcc_eh
/usr/bin/ld: cannot find -lgcc_eh
collect2: error: ld returned 1 exit status
Makefile:929: recipe for target 'vmlinux' failed
make[1]: *** [vmlinux] Error 1
make[1]: Leaving directory '/home/bogdan/tmp/pythia-core/vm/build/linux-4.4.11'
vm/pythia.mk:59: recipe for target 'out/vm/uml' failed

I have libc6-dev-i386 and squashfs-tools installed on os.

I've tried this before runing make. The problem persists
export CFLAGS='-m32'
export CXXFLAGS='-m32'
export LDFLAGS='-m32'

Aparently it require to install gcc-5-multilib by running
apt-get install gcc-5-multilib

Please update documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant