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

Bug:Compiler hitting unexpected failure after running make && make install #10499

Closed
tessie opened this issue Nov 15, 2013 · 7 comments
Closed

Comments

@tessie
Copy link

tessie commented Nov 15, 2013

I tried install rust on Ubuntu 13.10 system.architecture is x86_64.I installed it from the tarball.Configured it using ./configure.make && make install returns the following error
Internal compiler error .this is a bug

https://gist.github.com/Tessie/7470406

@tessie
Copy link
Author

tessie commented Nov 15, 2013

I made sure that i have installed all the depencies
python 2.7
perl 5
gnu 3.81
and g'++

@tessie
Copy link
Author

tessie commented Nov 15, 2013

on running it with RUST_LOG
task failed at 'failure in fork: Cannot allocate memory', /home/rustbuild/src/rust-buildbot/slave/snap3-linux/build/src/libstd/run.rs:672
task failed at 'explicit failure', /home/rustbuild/src/rust-buildbot/slave/snap3-linux/build/src/librustc/rustc.rs:377

@emberian
Copy link
Member

OOM is notabug. Rust currently uses ~1.4G memory to build.

@thestinger
Copy link
Contributor

It doesn't actually need 3GiB. It needs ~1.5GiB with full overcommit on but will require more available memory with the default Linux overcommit setting for the fork.

@catamorphism
Copy link
Contributor

@tessie Do you know how much RAM your computer has?

@emberian
Copy link
Member

(They came to IRC for help)

On Fri, Nov 15, 2013 at 2:59 AM, Tim Chevalier notifications@github.comwrote:

@tessie https://github.com/Tessie Do you know how much RAM your
computer has?


Reply to this email directly or view it on GitHubhttps://github.com//issues/10499#issuecomment-28552786
.

@tessie
Copy link
Author

tessie commented Nov 15, 2013

the issue is solved.came to irc for help

flip1995 pushed a commit to flip1995/rust that referenced this issue Mar 24, 2023
Fix `almost_swapped` false positive (`let mut a = b; a = a`)

Fixes `2` in rust-lang#10421
changelog: [`almost_swapped`]: Fix false positive when a variable is changed to itself. (`a = a`)
flip1995 pushed a commit to flip1995/rust that referenced this issue Mar 24, 2023
fix `almost_swapped`: Ignore external macros

Fixes rust-lang#10421 ; Related to rust-lang#10499 (Fixing points *1* and *3* from rust-lang#10421)
changelog: [`almost_swapped`]: Add a check to ignore external macros
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

4 participants