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">
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <meta name="generator" content="Movable Type 5.2.3" />
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" />
12 <title>Status for Andrew DeFaria: HybridOS Binary Comparison problems</title>
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" />
22 <script type="text/javascript" src="http://defaria.com/blogs/Status/mt-site.js"></script>
24 <body class="layout-one-column" onload="individualArchivesOnLoad(commenter_name)">
26 <div id="container-inner" class="pkg">
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>
36 <div id="pagebody-inner" class="pkg">
38 <div id="alpha-inner" class="pkg">
40 <p class="content-nav">
41 <a href="http://defaria.com/blogs/Status/archives/000325.html">« 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 »</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">
52 <li>Managed to perform binary comparison of HybridOS</li>
55 <div id="more" class="entry-more">
56 <h3>HybridOS Binary Comparison</h3>
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>
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 $
67 <p>The changes are as follows:</p>
70 <li>CVS Repository name changed from los178-cvs -> hybrid-os-cvs (<font color="blue">blue</font>)</li>
72 <li>Revision changed from whatever it was -> 1.1 (<font color="orange">orange</font>) All revisions for HybridOS are now 1.1</li>
74 <li>Date changed to reflect time of cvs commit to new CVS repository (<font color="green">green</font>)</li>
76 <li>User changed from whatever it was -> adefaria (<font color="purple">purple</font>) since I was the user to perform the commit</li>
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>
82 <li>/sys/lib/libcsp_970.a (context_asm.o)</li>
84 <li>/sys/lib/libcsp_970.a (csp_cpu_asm.o)</li>
86 <li>/sys/lib/libcsp_970.a (flih.o)</li>
88 <li>/sys/lib/libcsp_970.a (fpu_asm.o)</li>
90 <li>/sys/lib/libcsp_970.a (launch_asm.o)</li>
92 <li>/sys/lib/libcsp_970.a (tlbmiss.o)</li>
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>
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>