compiler-builtins icon indicating copy to clipboard operation
compiler-builtins copied to clipboard

Porting `compiler-rt` intrinsics to Rust

Results 52 compiler-builtins issues
Sort by recently updated
recently updated
newest added

cargo build --out-dir Drive/EFI/BOOT/ --release Compiling bootx v0.1.0 (/Users/visual/Developer/BootX) error: linking with `rust-lld` failed: exit status: 1 | = note: "rust-lld" "-flavor" "link" "/NOLOGO" "/entry:efi_main" "/subsystem:efi_application" "/var/folders/8t/31hks2hx4vvdczdjxfvcp_qc0000gn/T/rustc6KmMXf/symbols.o" "/Users/visual/Developer/BootX/target/x86_64-unknown-uefi/release/deps/bootx64-dfc09ef20fcfbd31.bootx64.1834cb91-cgu.1.rcgu.o" "/LIBPATH:/Users/visual/Developer/BootX/target/x86_64-unknown-uefi/release/deps" "/LIBPATH:/Users/visual/Developer/BootX/target/release/deps"...

See https://bugs.llvm.org/show_bug.cgi?id=35243. Some of the `__aeabi_mem*` functions in `src/arm.rs` probably can't be written in Rust because they have special ABI requirements. We should wait and see what the resolution of...

I've seen the assembly of the memcpy here for both powerpc and wasm (where the one here seems to be used unless you use the WASI target) and in both...

Hi, We are trying to build mozjs-91 in debug mode on Yocto framework. However, the build fails with the following error on compiler_builtins. /libexec/i686-linux/gcc/i686-linux/12.1.0/ld: mozjs-91/91.8.0-r0/build/i686-linux/release/libjsrust.a(compiler_builtins-3fc4b4898efc1e1d.compiler_builtins.b3f4713f-cgu.3.rcgu.o): in function `compiler_builtins::int::specialized_div_rem::u64_div_rem': compiler_builtins.b3f4713f-cgu.3:(.text._ZN17compiler_builtins3int19specialized_div_rem11u64_div_rem17ha9ef929772c35813E+0x178): undefined...

Attempting to `dlopen` my shared library on an android device results in it being unable to find the `__clear_cache` symbol. This is needed for my project. It is needed for...

Similar to #412, on `armv7-unknown-linux-gnueabihf` we get symbols `__sync_fetch_and_add_4` and `__sync_fetch_and_add_8` (and probably others) clashing when a C/C++ tries to link with our library. We've tried on `arm-unknown-linux-gnueabihf`, `aarch64-unknown-linux-gnu` and...

Trying to compile [a sample app](https://github.com/lights0123/example-nspire/tree/master/hello-world) for [a custom ARM target](https://github.com/lights0123/example-nspire/blob/master/armv5te-nspire-eabi.json), I get the following linker error: ``` = note: arm-none-eabi-ld: /home/benschattinger/.src/Ndless/ndless-sdk/toolchain/install/lib/gcc/arm-none-eabi/9.2.0/libgcc.a(_arm_addsubdf3.o): in function `__floatundidf': /home/benschattinger/.src/Ndless/ndless-sdk/toolchain/build/arm-none-eabi/libgcc/../../../gcc-9.2.0/libgcc/config/arm/ieee754-df.S:541: multiple definition of `__aeabi_ul2d';...

```shell $ cargo new --bin a Created binary (application) `a` package $ cd a/ $ echo -e '[profile.dev]\nlto="fat"' >> Cargo.toml $ cargo run -Zbuild-std --target x86_64-unknown-linux-gnu ... error: linking with...

I am having some issues using a rust staticlib that is being called from C via FFI, being built for an embedded target (Cortex M). This issue is sort-of a...

The source code in this crate is derivative of LLVM's compiler-rt, the license of which is declared correctly in LICENSE.TXT, but not in Cargo.toml, and is the [NCSA license](https://opensource.org/licenses/NCSA) (similar...