Den 22/10/2010 kl. 12.01 skrev Ulrich Spörlein:

> Why do you make this a requirement? Of course it's usually easier to
> build different releases from different source directories, but I think
> requiring the following conditions are fine:
> 
> 1. If you build a specific svn revision,
> 2. sitting in /usr/src with
> 3. the default make.conf (ie., no special flags, no frobbing of OBJDIR)
> 4. at different times
> 
> then you get the same binaries.
> 
> Let's start with an achievable, not-so-intrusive goal, right? :)


Ok, here's a new attempt with SRCDIR and OBJDIR constant between the two builds.

This time, /boot/kernel/kernel, /boot/loader, /boot/pxeboot and /boot/zfsloader 
differ. According to strings(1), the only difference is the timestamp. E.g. the 
kernel:

< @(#)FreeBSD 9.0-CURRENT #0 r215143: Thu Nov 11 22:58:34 CET 2010
< FreeBSD 9.0-CURRENT #0 r215143: Thu Nov 11 22:58:34 CET 2010
---
> @(#)FreeBSD 9.0-CURRENT #0 r215143: Thu Nov 11 23:29:17 CET 2010
> FreeBSD 9.0-CURRENT #0 r215143: Thu Nov 11 23:29:17 CET 2010

Since the SVN rev. is recorded, I think a timestamp is redundant. Any ideas 
where I can disable the timestamps in the source?

Also, /usr/bin/[clang|clang++|tblgen] differ, i.e.:

248735,248736c248735,248736
< 
N135_GLOBAL__N__usr_home_erik_freebsd_head_src_lib_clang_libllvmcore_.._.._.._contrib_llvm_lib_VMCore_PrintModulePass.cpp_00000000_E8B12D4D15PrintModulePassE
< 
N135_GLOBAL__N__usr_home_erik_freebsd_head_src_lib_clang_libllvmcore_.._.._.._contrib_llvm_lib_VMCore_PrintModulePass.cpp_00000000_E8B12D4D17PrintFunctionPassE
---
> N135_GLOBAL__N__usr_home_erik_freebsd_head_src_lib_clang_libllvmcore_.._.._.._contrib_llvm_lib_VMCore_PrintModulePass.cpp_00000000_BDCFB9C615PrintModulePassE
> N135_GLOBAL__N__usr_home_erik_freebsd_head_src_lib_clang_libllvmcore_.._.._.._contrib_llvm_lib_VMCore_PrintModulePass.cpp_00000000_BDCFB9C617PrintFunctionPassE

I'm not sure what to do with this except pass it on to the LLVM lists.

Erik

Reply via email to