Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / 000326.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
4 <head>
5    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6    <meta name="generator" content="Movable Type 5.2.3" />
7
8    <link rel="stylesheet" href="http://defaria.com/blogs/Status/styles-site.css" type="text/css" />
9    <link rel="alternate" type="application/atom+xml" title="Atom" href="http://defaria.com/blogs/Status/atom.xml" />
10    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://defaria.com/blogs/Status/index.xml" />
11
12    <title>Status for Andrew DeFaria: HybridOS Binary Comparison problems</title>
13
14    <link rel="start" href="http://defaria.com/blogs/Status/" title="Home" />
15    <link rel="prev" href="http://defaria.com/blogs/Status/archives/000325.html" title="Hybrid OS" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/000327.html" title="Finalized HybridOS" />
17
18    
19
20    
21
22    <script type="text/javascript" src="http://defaria.com/blogs/Status/mt-site.js"></script>
23 </head>
24 <body class="layout-one-column" onload="individualArchivesOnLoad(commenter_name)">
25    <div id="container">
26       <div id="container-inner" class="pkg">
27
28          <div id="banner">
29             <div id="banner-inner" class="pkg">
30                <h1 id="banner-header"><a href="http://defaria.com/blogs/Status/" accesskey="1">Status for Andrew DeFaria</a></h1>
31                <h2 id="banner-description">Searchable status reports and work log</h2>
32             </div>
33          </div>
34
35          <div id="pagebody">
36             <div id="pagebody-inner" class="pkg">
37                <div id="alpha">
38                   <div id="alpha-inner" class="pkg">
39
40                      <p class="content-nav">
41                         <a href="http://defaria.com/blogs/Status/archives/000325.html">&laquo; Hybrid OS</a> |
42                         <a href="http://defaria.com/blogs/Status/">Main</a>
43                         | <a href="http://defaria.com/blogs/Status/archives/000327.html">Finalized HybridOS &raquo;</a>
44                      </p>
45
46                      <a id="a000326"></a>
47                      <div class="entry" id="entry-326">
48                         <h3 class="entry-header">HybridOS Binary Comparison problems</h3>
49                         <div class="entry-content">
50                            <div class="entry-body">
51                               <ul>
52   <li>Managed to perform binary comparison of HybridOS</li>
53 </ul>
54                            </div>
55                            <div id="more" class="entry-more">
56                               <h3>HybridOS Binary Comparison</h3>
57
58 <p>HybridOS has been checked in and built. As you know the binary comparison procedure described in the GS: LOS178 Impact Summary discovered more differences. Specifically 227 .o files had differences. Further investigation revealed that the action of committing the sources to CVS caused $Header/ident strings to change. The following describes the changes to the $Header strings due to cvs commit:</p>
59
60 <div class="code"><pre>
61 tomcat:strings -a orig.uipc_usrreq.o | grep Header
62 $Header: /cvs/<font color="blue"><b>los178-cvs</b></font>/los178/sys/networking/tcpip/general/uipc_usrreq.c,v  <font color="orange"><b>1.1.1.1</b></font> <font color="green"><b>2004/03/03 00:59:24</b></font> <font color="purple"><b>emooring</b></font> Exp $
63 tomcat:strings -a new.uipc_usrreq.o | grep Header
64 $Header: /cvs/<font color="blue"><b>hybrid-os-cvs</b></font>/los178/sys/networking/tcpip/general/uipc_usrreq.c,v <font color="orange"><b>1.1</b></font> <font color="green"><b>2005/03/30 00:39:03</b></font> <font color="purple"><b>adefaria</b></font> Exp $
65 </pre></div>
66
67 <p>The changes are as follows:</p>
68
69 <ol>
70   <li>CVS Repository name changed from los178-cvs -> hybrid-os-cvs (<font color="blue">blue</font>)</li>
71
72   <li>Revision changed from whatever it was -> 1.1 (<font color="orange">orange</font>) All revisions for HybridOS are now 1.1</li>
73
74   <li>Date changed to reflect time of cvs commit to new CVS repository (<font color="green">green</font>)</li>
75
76   <li>User changed from whatever it was -> adefaria (<font color="purple">purple</font>) since I was the user to perform the commit</li>
77 </ol>
78
79 <p>Using objdump once again to disassemble these .o files and comparing the output left us with the following .o files that were still different:</p>
80
81 <ol>
82   <li>/sys/lib/libcsp_970.a (context_asm.o)</li>
83
84   <li>/sys/lib/libcsp_970.a (csp_cpu_asm.o)</li>
85
86   <li>/sys/lib/libcsp_970.a (flih.o)</li>
87
88   <li>/sys/lib/libcsp_970.a (fpu_asm.o)</li>
89
90   <li>/sys/lib/libcsp_970.a (launch_asm.o)</li>
91
92   <li>/sys/lib/libcsp_970.a (tlbmiss.o)</li>
93 </ol>
94
95 <p>Closer examination of these .o files reveals that the also contained ident strings in the text segment that had the same differences as the $Header differences described above. In other words the code was the same but the version strings and dates changed, as is expected.</p>
96
97                            </div>
98                         </div>
99                         <p class="entry-footer">
100                            <span class="post-footers">Posted by  on March 30, 2005  4:59 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000326.html">Permalink</a>
101                         </p>
102                      </div>
103
104                      
105
106                      
107                   </div>
108                </div>
109             </div>
110          </div>
111       </div>
112    </div>
113 </body>
114 </html>