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

Inlining intrinsics across crates causes link errors #3005

Closed
eholk opened this issue Jul 24, 2012 · 1 comment
Closed

Inlining intrinsics across crates causes link errors #3005

eholk opened this issue Jul 24, 2012 · 1 comment
Labels
A-attributes Area: #[attributes(..)]
Milestone

Comments

@eholk
Copy link
Contributor

eholk commented Jul 24, 2012

I will commit a test case shortly. Here is the error message:

note: Undefined symbols for architecture x86_64:
  "rusti::atomic_xchng::_90ba6d45f3724239::_00", referenced from:
      main::_4d18ee73dd908dc4::_00      in intrinsic-atomics-cc.o
      __rust_main in intrinsic-atomics-cc.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status

@nikomatsakis thinks this could be because attributes (and thus the ABI attribute) are not serialized.

eholk added a commit that referenced this issue Jul 24, 2012
@brson
Copy link
Contributor

brson commented Sep 3, 2012

Fixed by ac31fdd

@brson brson closed this as completed Sep 3, 2012
bors pushed a commit to rust-lang-ci/rust that referenced this issue May 15, 2021
RalfJung pushed a commit to RalfJung/rust that referenced this issue Aug 6, 2023
miri-script: simplify flag computation a bit
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
mdbook-graphviz has released 0.1.7, which has updated dependencies.

Resolves: rust-lang#3005
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-attributes Area: #[attributes(..)]
Projects
None yet
Development

No branches or pull requests

2 participants