[LLVMdev] successful full recurse of mips32
Reed Kotler
rkotler at mips.com
Fri Apr 4 07:55:20 PDT 2014
if you don't enable time stamps, then the difference will go away
in CommandLine.cpp
#if (ENABLE_TIMESTAMPS == 1)
<< " Built " << __DATE__ << " (" << __TIME__ << ").\n"
#endif
On 04/04/2014 07:28 AM, Reed Kotler wrote:
>
> > then i build [clang2] again in directory recurse on the mips host (this
> .....
>
> On 04/04/2014 07:10 AM, reed kotler wrote:
>> We have NFS mounted drives.
>>
>> I first build an clang/llvm hosted compiler for Mips linux using the
>> clang/llvm linux x86 compiler.
>> Call this clang1.
>>
>> then in directory recurse on Mips host, I place this clang1 compiler and
>> build clang2.
>>
>> then i rename recurse to recurse1 and create a new recurse directory.
>>
>> in recurse I copy clang2 from recurse1 to a recurse but name it clang1.
>>
>> then i build recurse2 again in directory recurse on the mips host (this
>> time it was built with the second generation clang/llvm).
>>
>> then use find to diff all the .o files
>>
>> rkotler at mipsswbrd002:~/slave/recurse2be/build$ find . -name "*.o" -exec
>> cmp '{}' /home/rkotler/slave1/recurse2be/build/'{}' \; |& tee foo.txt
>> ./lib/Support/Release+Asserts/CommandLine.o
>> /home/rkotler/slave1/recurse2be/build/./lib/Support/Release+Asserts/CommandLine.o
>>
>> differ: char 59791, line 147
>> rkotler at mipsswbrd002:~/slave/recurse2be/build$
>>
>>
>> This one difference is a time stamp.
>>
>> kotler at mipsswbrd002:~/slave/recurse2be/build$ diff 1 2
>> 2c2
>> < ./lib/Support/Release+Asserts/CommandLine.o: file format
>> elf32-tradbigmips
>> ---
>> >
>> /home/rkotler/slave1/recurse2be/build/lib/Support/Release+Asserts/CommandLine.o:
>>
>> file format elf32-tradbigmips
>> 3956,3957c3956,3957
>> < 0e4b0 8e22000c 1000000c 00000000 3c01393a ."..........<.9:
>> < 0e4c0 3c033231 34213330 34633a35 a8410004 <.214!304c:5.A..
>> ---
>> > 0e4b0 8e22000c 1000000c 00000000 3c01383a ."..........<.8:
>> > 0e4c0 3c033138 34213135 34633a30 a8410004 <.184!154c:0.A..
>> 6838,6839c6838,6839
>> < 16d0 41707220 20332032 30313400 20280032 Apr 3 2014. (.2
>> < 16e0 313a3539 3a333000 292e0a00 20204465 1:59:30.)... De
>> ---
>> > 16d0 41707220 20322032 30313400 20280031 Apr 2 2014. (.1
>> > 16e0 383a3038 3a313500 292e0a00 20204465 8:08:15.)... De
>> rkotler at mipsswbrd002:~/slave/recurse2be/build$
More information about the llvm-dev
mailing list