Skip to content

Unoptimized code too big for 32-bit linker #7206

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

Closed
Aatch opened this issue Jun 18, 2013 · 5 comments
Closed

Unoptimized code too big for 32-bit linker #7206

Aatch opened this issue Jun 18, 2013 · 5 comments
Labels
A-codegen Area: Code generation I-slow Issue: Problems and improvements with respect to performance of generated code.

Comments

@Aatch
Copy link
Contributor

Aatch commented Jun 18, 2013

So the auto-mac-32-nopt build slave failed trying to link librustc.dylib. The error being LLVM ERROR: Section too large, can't encode r_address (0x10007fc) into 24 bits of scattered relocation entry. which I interpret as being too big for the linker to handle.

@thestinger
Copy link
Contributor

cc @graydon

I think we'll have to disable the 32-bit no-opt bots for now.

@brson
Copy link
Contributor

brson commented Jun 18, 2013

Maybe this will be resolved after a snapshot.

@catamorphism
Copy link
Contributor

Seems resolved to me; auto-mac-32-nopt seems to be enabled.

@thestinger
Copy link
Contributor

@catamorphism: I don't think the 64-bit one is enabled but not 32-nopt: http://buildbot.rust-lang.org/builders

@thestinger thestinger reopened this Aug 5, 2013
@catamorphism
Copy link
Contributor

Both of the Mac 32-nopt builders seem to be enabled now:

http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-c

http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-t

Closing.

flip1995 pushed a commit to flip1995/rust that referenced this issue May 20, 2021
…teffen

Fix FPs about generic args

Fix 2 false positives in [`use_self`] and [`useless_conversion`] lints, by taking into account generic args and comparing them.

Fixes: rust-lang#7205
Fixes: rust-lang#7206

changelog: Fix FPs about generic args in [`use_self`] and [`useless_conversion`] lints
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-codegen Area: Code generation I-slow Issue: Problems and improvements with respect to performance of generated code.
Projects
None yet
Development

No branches or pull requests

4 participants