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.) Sorry for the late update. Thank you for the concern. Best regards Journeyer 2012/12/30 Journeyer J. Joh <oosaprogrammer at gmail.com>:>> I think that klang should be based on the latest SVN/git version of LLVM. > > OK. I am testing it with LLVM 3.2 wait a minute. > -- Journeyer > > 2012/12/30 Sean Silva <silvas at purdue.edu>: >> On Sat, Dec 29, 2012 at 9:45 PM, Journeyer J. Joh >> <oosaprogrammer at gmail.com> wrote: >>> Klang is tested with LLVM 3.1 >>> Header file location is often changed. I guess that's why.. >> >> I think that klang should be based on the latest SVN/git version of LLVM. >> >> -- Sean Silva > > > > -- > ---------------------------------------- > Journeyer J. Joh > o o s a p r o g r a m m e r > a t > g m a i l d o t c o m > ------------------------------------------ ---------------------------------------- Journeyer J. Joh o o s a p r o g r a m m e r a t g m a i l d o t c o m ----------------------------------------
All branches are now tested with LLVM 3.2 on LLVM Download page. Thank you for the report. Journeyer 2012/12/30 Journeyer J. Joh <oosaprogrammer at gmail.com>:> 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.) > > Sorry for the late update. > Thank you for the concern. > > Best regards > Journeyer > > 2012/12/30 Journeyer J. Joh <oosaprogrammer at gmail.com>: >>> I think that klang should be based on the latest SVN/git version of LLVM. >> >> OK. I am testing it with LLVM 3.2 wait a minute. >> -- Journeyer >> >> 2012/12/30 Sean Silva <silvas at purdue.edu>: >>> On Sat, Dec 29, 2012 at 9:45 PM, Journeyer J. Joh >>> <oosaprogrammer at gmail.com> wrote: >>>> Klang is tested with LLVM 3.1 >>>> Header file location is often changed. I guess that's why.. >>> >>> I think that klang should be based on the latest SVN/git version of LLVM. >>> >>> -- Sean Silva >> >> >> >> -- >> ---------------------------------------- >> Journeyer J. Joh >> o o s a p r o g r a m m e r >> a t >> g m a i l d o t c o m >> ---------------------------------------- > > > > -- > ---------------------------------------- > Journeyer J. Joh > o o s a p r o g r a m m e r > a t > g m a i l d o t c o m > ------------------------------------------ ---------------------------------------- Journeyer J. Joh o o s a p r o g r a m m e r a t g m a i l d o t c o m ----------------------------------------
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 at 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
Hello Peng Yu, I found the same error on my Macbook Air. This was my first trying on MacOS X. Troubleshooting this might take sometime. Only thing I can say now that klang is tested successfully on Ubuntu with - LLVM 3.2 official release on LLVM download page - LLVM svn latest update Clang compile produces an error message on MacOS X with the LLVM svn latest update I am trying to find the problem. And might need a help. Best regards Happy New Year! Journeyer 2013/1/1 Peng Yu <pengyu.ut at gmail.com>:> 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 at 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-- ---------------------------------------- Journeyer J. Joh o o s a p r o g r a m m e r a t g m a i l d o t c o m ----------------------------------------