Problem while building llvm

Hi, all

I come across the problem when building llvm.

The errors are as follows


etJITInfo&, llvm::JITMemoryManager*, llvm::CodeGenOpt::Level, bool)’:

: undefined reference to `__register_frame’

collect2: ld returned 1 exit status

make[2]: *** [/home/lishengmei/llvm-2.6/Release/bin/lli] Error 1

make[2]: Leaving directory `/home/lishengmei/llvm-2.6/tools/lli’

make[1]: *** [lli/.makeall] Error 2

make[1]: Leaving directory `/home/lishengmei/llvm-2.6/tools’

make: *** [all] Error 1

I search the key words with google but can’t find any solutions.

My OS is Redhat Linux, architecture is Itanium.

Are there anyone give help on it?


Li Shengmei


/ : undefined reference to `__register_frame' /

this is defined in libgcc on most platforms and is used for registering
exception handling frames. LLVM's JIT makes use of it on some platforms.
What version of gcc are you using?



Thanks, sands
My gcc version is 3.4.6. Any problems?



Thanks, sands
My gcc version is 3.4.6. Any problems?

Yes. iirc there is no __register_frame on itanium at all. You might
want to patch the sources to remove the references to it.