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
On 32-bit Linux and LLVM trunk revision 133904 (tip at the time of filing), rustc fails to build (in particular, librustrt fails to link) rustllvm/MachOObjectFile.o. This appears to be due to a change in the interface of LLVM's ObjectFile probably introduced by revisions 133868 through 133872.
LLVM revision 133867 works just fine.
Some sample errors include:
/usr/local/include/llvm/Object/ObjectFile.h:131:22: error: ‘virtual llvm::error_code llvm::object::ObjectFile::getSymbolNext(llvm::object::DataRefImpl, llvm::object::SymbolRef&) const’ was hidden
../src/rustllvm/MachOObjectFile.cpp:49:21: error: by ‘virtual llvm::object::SymbolRef llvm::MachOObjectFile::getSymbolNext(llvm::object::DataRefImpl) const’
../src/rustllvm/MachOObjectFile.cpp: In constructor ‘llvm::MachOObjectFile::MachOObjectFile(llvm::MemoryBuffer*, llvm::object::MachOObject*)’:
../src/rustllvm/MachOObjectFile.cpp:37:65: error: no matching function for call to ‘llvm::object::ObjectFile::ObjectFile(llvm::MemoryBuffer*&)’
/usr/local/include/llvm/Object/ObjectFile.h:116:3: note: candidates are: llvm::object::ObjectFile::ObjectFile(unsigned int, llvm::MemoryBuffer*, llvm::error_code&)
/usr/local/include/llvm/Object/ObjectFile.h:113:3: note: llvm::object::ObjectFile::ObjectFile(const llvm::object::ObjectFile&)
/usr/local/include/llvm/Object/ObjectFile.h:112:3: note: llvm::object::ObjectFile::ObjectFile()
and
../src/rustllvm/MachOObjectFile.cpp: In static member function ‘static llvm::object::ObjectFile* llvm::object::ObjectFile::createMachOObjectFile(llvm::MemoryBuffer*)’:
../src/rustllvm/MachOObjectFile.cpp:79:46: error: cannot allocate an object of abstract type ‘llvm::MachOObjectFile’
../src/rustllvm/MachOObjectFile.cpp:32:43: note: because the following virtual functions are pure within ‘llvm::MachOObjectFile’:
/usr/local/include/llvm/Object/ObjectFile.h:131:22: note: virtual llvm::error_code llvm::object::ObjectFile::getSymbolNext(llvm::object::DataRefImpl, llvm::object::SymbolRef&) const
The text was updated successfully, but these errors were encountered:
* fix _mm_castsi128_pd and _mm_castpd_si128 impls
The _mm_castX_Y SSE intrinsics are "reinterpreting" casts; LLVM's
simd_cast is a "converting" cast. Replace simd_cast with mem::transmute.
Fixesrust-lang#55249
* Temporarily pin CI
* Fix i686 segfaults
* Fix wasm CI
Output of `wasm2wat` has changed!
* Fix AppVeyor with an older nightly
ZuseZ4
pushed a commit
to EnzymeAD/rust
that referenced
this issue
Mar 7, 2023
On 32-bit Linux and LLVM trunk revision 133904 (tip at the time of filing), rustc fails to build (in particular, librustrt fails to link)
rustllvm/MachOObjectFile.o
. This appears to be due to a change in the interface of LLVM'sObjectFile
probably introduced by revisions 133868 through 133872.LLVM revision 133867 works just fine.
Some sample errors include:
and
The text was updated successfully, but these errors were encountered: