shark improperly linked against llvm 2.4 (and first steps on ARM)

Gary Benson gbenson at redhat.com
Tue Jan 27 00:46:28 PST 2009


Robert Schuster wrote:
> I am now using 'engine nativecodegen' as the requested components
> and this works fine. I retrieved those components by looking at what
> is needed to link llvm's lli program which runs fine.

Hmmm, my (old) version of llvm doesn't recognise nativecodegen.
aph, do you have a recent llvm around?  Does it recognise it?
If so, Robert, I'd say feel free to check in your change.

> int64_t llvm::MachineOperand::getImm() const: Assertion `isImm() &&
> "Wrong MachineOperand accessor"' failed.
> Aborted
> 
> Do you think that assertion is a shark or an llvm issue?

It looks like an LLVM issue to me, but I could be wrong.
You'd have to get a debugger onto it to see what it was doing...

Cheers,
Gary

--
http://gbenson.net/



More information about the distro-pkg-dev mailing list