Skip to content

LLVM ICE using maud and iron #28114

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
reem opened this issue Aug 31, 2015 · 1 comment
Closed

LLVM ICE using maud and iron #28114

reem opened this issue Aug 31, 2015 · 1 comment

Comments

@reem
Copy link
Contributor

reem commented Aug 31, 2015

Reproduction: https://gist.github.com/anonymous/ecaa67ead6b561fb8d39

The full error from cargo build:

   Compiling iron-maud v0.1.0 (file:///Users/reem/code/iron/iron-maud)
Global is external, but doesn't have external or weak linkage!
i8 (%closure.66*, i8*, void (i8*)**)* @_ZN4main13closure.10657E
invalid linkage type for function declaration
i8 (%closure.66*, i8*, void (i8*)**)* @_ZN4main13closure.10657E
LLVM ERROR: Broken module found, compilation aborted!
Could not compile `iron-maud`.

To learn more, run the command again with --verbose.
@Aatch
Copy link
Contributor

Aatch commented Aug 31, 2015

I have a fix for this, should be up soon.

Aatch added a commit to Aatch/rust that referenced this issue Aug 31, 2015
This was preventing any side-effects from the expressions from
happening.

Fixes rust-lang#28114
bors added a commit that referenced this issue Aug 31, 2015
This was preventing any side-effects from the expressions from
happening.

Fixes #28114

cc @rust-lang/compiler
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

2 participants