On Jul 13, 2007, at 9:28 AM, Duncan Sands wrote:> Hi Chris, > >> This is probably a patch that got checked into llvm-gcc4 after devang >> started work on 4.2. Please feel free to update 4.2 to the version >> in >> 4.0. > > no, it doesn't exist in 4.0.hmm. that can not be true. It was applied by Evan on May 07, 2007 to unbreak Apple style builds. - Devang> I already updated 4.2 to 4.0 by the way. > > Ciao, > > Duncan. > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Hi Devang,> >> This is probably a patch that got checked into llvm-gcc4 after devang > >> started work on 4.2. Please feel free to update 4.2 to the version > >> in > >> 4.0. > > > > no, it doesn't exist in 4.0. > > hmm. that can not be true. It was applied by Evan on May 07, 2007 to > unbreak Apple style builds.this difference exists between llvm-gcc-4.0 (the mirror) and llvm-gcc-4.2 today, check llvm-linker-hack.cpp yourself if you like. There was a change to the mirror in May 07, but it was just changing Bytecode -> Bitcode. My guess is the Evan's change didn't reach the mirror. Here is the function as it exists in the llvm-gcc-4.0 mirror today: void dummy_function() { new llvm::ExistingModuleProvider(0); llvm::createVerifierPass(); llvm::WriteBitcodeToFile(0, llvm::cout); llvm::ParseBitcodeFile(NULL); ... and in llvm-gcc-4.2: void dummy_function() { new llvm::ExistingModuleProvider(0); llvm::createVerifierPass(); llvm::CreateBitcodeWriterPass(*llvm::cout); llvm::WriteBitcodeToFile(0, *llvm::cout); llvm::ParseBitcodeFile(NULL); llvm::MemoryBuffer::getNewMemBuffer(0); If the llvm-gcc-4.2 version is correct, the mirror needs to be corrected. Not sure how to do that... Ciao, Duncan.
On Jul 14, 2007, at 6:46 AM, Duncan Sands wrote:> Hi Devang, > >>>> This is probably a patch that got checked into llvm-gcc4 after >>>> devang >>>> started work on 4.2. Please feel free to update 4.2 to the version >>>> in >>>> 4.0. >>> >>> no, it doesn't exist in 4.0. >> >> hmm. that can not be true. It was applied by Evan on May 07, 2007 to >> unbreak Apple style builds. > > this difference exists between llvm-gcc-4.0 (the mirror) and llvm- > gcc-4.2 > today, check llvm-linker-hack.cpp yourself if you like. There was a > change > to the mirror in May 07, but it was just changing Bytecode -> > Bitcode. My > guess is the Evan's change didn't reach the mirror.I checked out llvm-gcc-4.0 from mirror svn server and our internal svn. And I do see the difference, but I do not understand why. Bill, any idea ? - Devang