[LLVMdev] (no subject)

Mohd-Hanafiah Abdullah napi at axiomsol.com
Tue Nov 21 01:31:57 PST 2006


Emil:

I'm using LLVM 1.9 now.  When I tried to do what you did I got the
following though:

$ llvm-g++ -emit-llvm -c x.cpp
$ llvm-link -o=linked.o x.o std/*.o sup/*.o
WARNING: Linking two modules of different target triples!
WARNING: Linking two modules of different target triples!
WARNING: Linking two modules of different target triples!
...

$ lli linked.o
lli((anonymous namespace)::PrintStackTrace()+0x19)[0x846d7f9]
lli(llvm::MachineFunctionPass::runOnFunction(llvm::Function&)+0x29)[0x811af59]
Segmentation fault


What could be the problem?

Thanks.

Napi



More information about the llvm-dev mailing list