Closed
Description
Compile the following with rustc unsupervise.rs -o unsupervise
native mod rustrt {
fn unsupervise();
}
fn main() { }
rustc: /home/brian/Dev/rust/src/llvm/lib/MC/MCAssembler.cpp:132: uint64_t llvm::MCAsmLayout::getSymbolOffset(const llvm::MCSymbolData*) const: Assertion `SD->getFragment() && "Invalid getOffset() on undefined symbol!"' failed.
Stack dump:
0. Running pass 'Function Pass Manager' on module 'unsupervise'.
Aborted
Only happens on Linux (Ubuntu 10.10 here). Thanks araujo.