You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to build rustc without optimzations, linking of std fails because:
= note: /usr/local/bin/ld: /tmp/rustc.6VSDxArmnzqR/libcompiler_builtins-614d629936883e62.rlib(compiler_builtins-614d629936883e62.6.o): relocation R_X86_64_PC32 against symbol `memcpy@@GLIBC_2.14' can not be used when making a shared object; recompile with -fPIC
/usr/local/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
I guess this can be fixed by either compiling compiler_builtins as PIC or by making it not depend on memcpy. Which would be the correct fix? Intuitively I would say that compiler_builtins should not have any dependencies.
The text was updated successfully, but these errors were encountered:
When attempting to build rustc without optimzations, linking of
std
fails because:full log
I guess this can be fixed by either compiling
compiler_builtins
as PIC or by making it not depend onmemcpy
. Which would be the correct fix? Intuitively I would say thatcompiler_builtins
should not have any dependencies.The text was updated successfully, but these errors were encountered: