[LLVMdev] Sparc build error

Reid Spencer reid at x10sys.com
Mon May 23 16:14:19 PDT 2005


I haven't seen this ever before, but it looks like an LD_LIBRARY_PATH
problem to me.

Reid.

On Mon, 2005-05-23 at 17:26 -0500, Vikram S. Adve wrote:
> I'm encountering a new problem building llvm (from CVS) on Solaris.
> The tblgen executable builds successfully but it seems to use the
> wrong version of libstdc++ :
> 
> 
> % /home/vadve/vadve/llvm-sparc/Debug/bin/tblgen --help
> ld.so.1: /home/vadve/vadve/llvm-sparc/Debug/bin/tblgen:
> fatal: /home/vadve/lattner/local/x86-fc1/gcc-3.4.2/lib/libstdc++.so.6:
> wrong ELF class: ELFCLASS32
> Killed
> 
> 
> This version of tblgen was just created successfully in the same build
> on Solaris, so I don't know why the x86-fc1 version of libstdc++ is
> getting used.    My tree is configured as:
>     /home/vadve/vadve/llvm/configure --prefix=/localhome/vadve/llvm --
> enable-targets=host-only
> I verified that the correct (Sparc) version of llvm-gcc is on my path.
> 
> 
> Has anyone seen this error before or have a suggestion on what might
> be happening?
> 
> 
> Thanks,
> 
> 
> --Vikram
> http://www.cs.uiuc.edu/~vadve
> http://llvm.cs.uiuc.edu/
> 
> 
> 
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050523/85d19704/attachment.sig>


More information about the llvm-dev mailing list