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

compilation failure installing from source on Ubuntu 32 bit #54

Closed
mk270 opened this issue Jun 14, 2015 · 6 comments
Closed

compilation failure installing from source on Ubuntu 32 bit #54

mk270 opened this issue Jun 14, 2015 · 6 comments
Assignees

Comments

@mk270
Copy link

mk270 commented Jun 14, 2015

I have Ubuntu (the most recent LTS version), and when compiling from source got an error to the effect that <asm/errno.h> could not be found when running:

./update-fcp.sh && ../facebook-clang-plugin/clang/setup.sh && ./compile-fcp.sh # go have a coffee :)

Sadly, the Screen session in which I ran this (twice) has been closed, and it takes two hours to hit the error, and the script which runs the thing seems to delete the /tmp/clang.XXXXX build directory on failure, so it's expensive for me to get the exact error message. I do, AFAICT, have the build-essentials etc prerequisites installed, though in my case it's linux-libc-dev:i386

@akotulski
Copy link
Contributor

Hi @mk270 which version of gcc you have?
As far as I know you need at least gcc 4.7.2. When we tested building from source on Ubuntu LTS we actually installed gcc-4.8 (so it didn't work with default gcc for some reason) an it worked for us then
https://github.com/facebook/infer/blob/master/INSTALL.md

@mk270
Copy link
Author

mk270 commented Jun 15, 2015

I have, according to gcc --version: gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2

@akotulski akotulski self-assigned this Jun 15, 2015
@akotulski
Copy link
Contributor

Thanks for the report, I'll look into it

@akotulski akotulski changed the title compilation failure installing from source on Ubuntu compilation failure installing from source on Ubuntu 32 bit Jun 15, 2015
@akotulski
Copy link
Contributor

I managed to reproduce the issue on 32 bit ubuntu precise LTS

@mk270
Copy link
Author

mk270 commented Jun 15, 2015

Ah good, thanks. I fancied I might be going a bit mad.

My own setup is 32bit fairly vanilla Ubuntu trusty, i.e. another of Ubuntu's LTS releases.

@jvillard
Copy link
Contributor

closing as we have upgraded clang many times since this issue was open. Please do reopen if there is still an issue with the latest version of infer.

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

No branches or pull requests

3 participants