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

bcmp missing #303

Closed
jethrogb opened this issue Jul 15, 2019 · 2 comments
Closed

bcmp missing #303

jethrogb opened this issue Jul 15, 2019 · 2 comments

Comments

@jethrogb
Copy link
Contributor

LLVM 9 emits calls to bcmp:

  = note: rust/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-fortanix-unknown-sgx/lib/libtest-a9ecdf8e579fd5d7.rlib(test-a9ecdf8e579fd5d7.test.bolfc4sh-cgu.0.rcgu.o):test.bolfc4sh-cgu.0:function _$LT$test..TestDesc$u20$as$u20$core..cmp..PartialEq$GT$::eq::h29076b407d2a6562: error: undefined reference to 'bcmp'
          collect2: error: ld returned 1 exit status
@jethrogb
Copy link
Contributor Author

bcmp: This function is deprecated (marked as LEGACY in POSIX.1-2001): use memcmp(3) in new programs. POSIX.1-2008 removes the specification of bcmp().

@alexcrichton
Copy link
Member

Looks like this is going to be handled in rust-lang/rust#62698

Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this issue Jul 15, 2019
@repmop repmop mentioned this issue May 1, 2020
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