On Sun, 2006-12-31 at 13:37 -0800, Chris Lattner wrote:> On Sat, 30 Dec 2006, Reid Spencer wrote: > >>> You all just need remove "stacker_rt.ll". the stacker_rt.ll is a > >> rebuilt so they output proper .ll files. Reid, can you change the > >> makefile rule to use "llvm-gcc -S -emit-llvm -o - | llvm-upgrade > $@" or > >> the equivalent? > > > > Which makefile rule? > > The rule in the stacker makefile that builds stacker_rt.ll.Its not in Stacker's Makefile. It is in Makefile.rules. It was fixed to ensure the .ll version depended on llvm-gcc before you made your original comment. Reid.> > -Chris >
Ok, so I guess the issue is llvm-gcc has to be updated. There are some issues with the Apple svn repository so I checked out a copy from the public mirror. Looks the latest patch hasn't made it through: c++ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -pedantic -Wno-long- long -Wno-variadic-macros -mdynamic-no-pic -DHAVE_CONFIG_H -Wno- unused \-DTARGET_NAME=\"i686-apple-darwin8\" -DNDEBUG -DENABLE_LLVM - D__STDC_LIMIT_MACROS -I. -I. -I../../gcc.llvm/gcc -I../../gcc.llvm/ gcc/. -I.\./../gcc.llvm/gcc/../include -I../../gcc.llvm/gcc/../libcpp/ include -I/Volumes/Muggles/LLVM/llvm/include -I/Users/echeng/LLVM/ llvm/include\ ../../gcc.llvm/gcc/llvm-backend.cpp -o llvm-backend.o ../../gcc.llvm/gcc/llvm-backend.cpp: In function 'void CreateStructorsList(std::vector<std::pair<llvm::Function*, int>, std::allocator<std:\:pair<llvm::Function*, int> > >&, const char*)': ../../gcc.llvm/gcc/llvm-backend.cpp:346: error: 'IntTy' is not a member of 'llvm::Type' ../../gcc.llvm/gcc/llvm-backend.cpp: In function 'void llvm_asm_file_end()': ../../gcc.llvm/gcc/llvm-backend.cpp:370: error: 'SByteTy' is not a member of 'llvm::Type' make[1]: *** [llvm-backend.o] Error 1 make: *** [all-gcc] Error 2 We are out of luck until the changes are propagated. Evan On Dec 31, 2006, at 1:31 PM, Reid Spencer wrote:> On Sun, 2006-12-31 at 13:37 -0800, Chris Lattner wrote: >> On Sat, 30 Dec 2006, Reid Spencer wrote: >>>>> You all just need remove "stacker_rt.ll". the stacker_rt.ll is a >>>> rebuilt so they output proper .ll files. Reid, can you change the >>>> makefile rule to use "llvm-gcc -S -emit-llvm -o - | llvm-upgrade >>>> > $@" or >>>> the equivalent? >>> >>> Which makefile rule? >> >> The rule in the stacker makefile that builds stacker_rt.ll. > > Its not in Stacker's Makefile. It is in Makefile.rules. It was > fixed to > ensure the .ll version depended on llvm-gcc before you made your > original comment. > > Reid. > >> >> -Chris >> > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Or I can manually update my tree and rebuild gcc.llvm. Hopefully my testers will be happier now. Evan On Jan 1, 2007, at 12:44 AM, Evan Cheng wrote:> Ok, so I guess the issue is llvm-gcc has to be updated. There are > some issues with the Apple svn repository so I checked out a copy > from the public mirror. Looks the latest patch hasn't made it > through: > > c++ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -pedantic -Wno-long- > long -Wno-variadic-macros -mdynamic-no-pic -DHAVE_CONFIG_H -Wno- > unused \-DTARGET_NAME=\"i686-apple-darwin8\" -DNDEBUG -DENABLE_LLVM - > D__STDC_LIMIT_MACROS -I. -I. -I../../gcc.llvm/gcc -I../../gcc.llvm/ > gcc/. -I.\./../gcc.llvm/gcc/../include -I../../gcc.llvm/gcc/../libcpp/ > include -I/Volumes/Muggles/LLVM/llvm/include -I/Users/echeng/LLVM/ > llvm/include\ ../../gcc.llvm/gcc/llvm-backend.cpp -o llvm-backend.o > ../../gcc.llvm/gcc/llvm-backend.cpp: In function 'void > CreateStructorsList(std::vector<std::pair<llvm::Function*, int>, > std::allocator<std:\:pair<llvm::Function*, int> > >&, const char*)': > ../../gcc.llvm/gcc/llvm-backend.cpp:346: error: 'IntTy' is not a > member of 'llvm::Type' > ../../gcc.llvm/gcc/llvm-backend.cpp: In function 'void > llvm_asm_file_end()': > ../../gcc.llvm/gcc/llvm-backend.cpp:370: error: 'SByteTy' is not a > member of 'llvm::Type' > make[1]: *** [llvm-backend.o] Error 1 > make: *** [all-gcc] Error 2 > > We are out of luck until the changes are propagated. > > Evan > > On Dec 31, 2006, at 1:31 PM, Reid Spencer wrote: > >> On Sun, 2006-12-31 at 13:37 -0800, Chris Lattner wrote: >>> On Sat, 30 Dec 2006, Reid Spencer wrote: >>>>>> You all just need remove "stacker_rt.ll". the stacker_rt.ll is a >>>>> rebuilt so they output proper .ll files. Reid, can you change the >>>>> makefile rule to use "llvm-gcc -S -emit-llvm -o - | llvm-upgrade >>>>>> $@" or >>>>> the equivalent? >>>> >>>> Which makefile rule? >>> >>> The rule in the stacker makefile that builds stacker_rt.ll. >> >> Its not in Stacker's Makefile. It is in Makefile.rules. It was >> fixed to >> ensure the .ll version depended on llvm-gcc before you made your >> original comment. >> >> Reid. >> >>> >>> -Chris >>> >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
On Mon, 2007-01-01 at 00:44 -0800, Evan Cheng wrote:> Ok, so I guess the issue is llvm-gcc has to be updated. There are > some issues with the Apple svn repository so I checked out a copy > from the public mirror. Looks the latest patch hasn't made it through:Yeah, it should have just made it througha couple hours ago, but not at the time of your writing this email. Reid.> > c++ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -pedantic -Wno-long- > long -Wno-variadic-macros -mdynamic-no-pic -DHAVE_CONFIG_H -Wno- > unused \-DTARGET_NAME=\"i686-apple-darwin8\" -DNDEBUG -DENABLE_LLVM - > D__STDC_LIMIT_MACROS -I. -I. -I../../gcc.llvm/gcc -I../../gcc.llvm/ > gcc/. -I.\./../gcc.llvm/gcc/../include -I../../gcc.llvm/gcc/../libcpp/ > include -I/Volumes/Muggles/LLVM/llvm/include -I/Users/echeng/LLVM/ > llvm/include\ ../../gcc.llvm/gcc/llvm-backend.cpp -o llvm-backend.o > ../../gcc.llvm/gcc/llvm-backend.cpp: In function 'void > CreateStructorsList(std::vector<std::pair<llvm::Function*, int>, > std::allocator<std:\:pair<llvm::Function*, int> > >&, const char*)': > ../../gcc.llvm/gcc/llvm-backend.cpp:346: error: 'IntTy' is not a > member of 'llvm::Type' > ../../gcc.llvm/gcc/llvm-backend.cpp: In function 'void > llvm_asm_file_end()': > ../../gcc.llvm/gcc/llvm-backend.cpp:370: error: 'SByteTy' is not a > member of 'llvm::Type' > make[1]: *** [llvm-backend.o] Error 1 > make: *** [all-gcc] Error 2 > > We are out of luck until the changes are propagated. > > Evan > > On Dec 31, 2006, at 1:31 PM, Reid Spencer wrote: > > > On Sun, 2006-12-31 at 13:37 -0800, Chris Lattner wrote: > >> On Sat, 30 Dec 2006, Reid Spencer wrote: > >>>>> You all just need remove "stacker_rt.ll". the stacker_rt.ll is a > >>>> rebuilt so they output proper .ll files. Reid, can you change the > >>>> makefile rule to use "llvm-gcc -S -emit-llvm -o - | llvm-upgrade > >>>> > $@" or > >>>> the equivalent? > >>> > >>> Which makefile rule? > >> > >> The rule in the stacker makefile that builds stacker_rt.ll. > > > > Its not in Stacker's Makefile. It is in Makefile.rules. It was > > fixed to > > ensure the .ll version depended on llvm-gcc before you made your > > original comment. > > > > Reid. > > > >> > >> -Chris > >> > > > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev