[LLVMdev] git repository of the tutorial

Peng Yu pengyu.ut at gmail.com
Mon Dec 31 18:53:02 PST 2012


On Sun, Dec 30, 2012 at 12:19 AM, Journeyer J. Joh
<oosaprogrammer at gmail.com> wrote:
> Hello,
>
> I just applied changes of LLVM 3.2 and it is tested with LLVM 3.2
> downloaded from the LLVM Download Page.
>
> I just worked for master branch only.
> The rest of the other branches need to be changed about this also.
> This will be done as soon as possible.
> (Before I fix this, If you look at the commits for this issue for
> master branch, you can easily fix it and test for others also.)

I have pulled llvm from github.

The last commit is this.
commit 5284f976327d789b9e52089ff684fb36f6d964dd
Author: Craig Topper <craig.topper at gmail.com>
Date:   Tue Jan 1 00:11:07 2013 +0000

    Merge AVX/SSE instruction definitions for SQRTPS/PD, RSQRTPS,
RCPPS. No funcitonal change intended.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171337
91177308-0d34-0410-b5e6-96231b3b80d8


But when I compile it. I still get the following link error. I don't
understand why the architecture is not correct. My machine is Mac OS X
10.8.2.

~/dvcs_src/llvm_obj_dir$ ../llvm/configure ; make -j8

....

llvm[4]: Linking Debug+Asserts executable klang
ld: warning: ld: warning: ignoring file
/Users/py/dvcs_src/llvm_obj_dir/Debug+Asserts/lib/libLLVMX86AsmParser.a,
file was built for archive which is not the architecture being linked
(i386): /Users/py/dvcs_src/llvm_obj_dir/Debug+Asserts/lib/libLLVMX86AsmParser.aignoring
file /Users/py/dvcs_src/llvm_obj_dir/Debug+Asserts/lib/libLLVMX86Disassembler.a,
file was built for archive which is not the architecture being linked
(i386): /Users/py/dvcs_src/llvm_obj_dir/Debug+Asserts/lib/libLLVMX86Disassembler.a

ld: warning: ignoring file
/Users/py/dvcs_src/llvm_obj_dir/Debug+Asserts/lib/libLLVMX86Desc.a,
file was built for archive which is not the architecture being linked
(i386): /Users/py/dvcs_src/llvm_obj_dir/Debug+Asserts/lib/libLLVMX86Desc.a
ld: warning: ignoring file
/Users/py/dvcs_src/llvm_obj_dir/Debug+Asserts/lib/libLLVMMCParser.a,
file was built for archive which is not the architecture being linked
(i386): /Users/py/dvcs_src/llvm_obj_dir/Debug+Asserts/lib/libLLVMMCParser.ald:
warning:
ignoring file /Users/py/dvcs_src/llvm_obj_dir/Debug+Asserts/lib/libLLVMX86Info.a,
file was built for archive which is not the architecture being linked
(i386): /Users/py/dvcs_src/llvm_obj_dir/Debug+Asserts/lib/libLLVMX86Info.a
ld: warning: ignoring file
/Users/py/dvcs_src/llvm_obj_dir/Debug+Asserts/lib/libLLVMX86AsmPrinter.a,
file was built for archive which is not the architecture being linked
(i386): /Users/py/dvcs_src/llvm_obj_dir/Debug+Asserts/lib/libLLVMX86AsmPrinter.a
ld: warning: ignoring file
/Users/py/dvcs_src/llvm_obj_dir/Debug+Asserts/lib/libLLVMX86Utils.a,
file was built for archive which is not the architecture being linked
(i386): /Users/py/dvcs_src/llvm_obj_dir/Debug+Asserts/lib/libLLVMX86Utils.a



-- 
Regards,
Peng



More information about the llvm-dev mailing list