Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / 000373.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: The Quest to build 3.0.0 from 3.4.3</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/000372.html" title="Rebuild 2.1.0/GDB 6.0" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/000374.html" title="2.1.0 GDB Build" />
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/000372.html">&laquo; Rebuild 2.1.0/GDB 6.0</a> |
42                         <a href="http://defaria.com/blogs/Status/">Main</a>
43                         | <a href="http://defaria.com/blogs/Status/archives/000374.html">2.1.0 GDB Build &raquo;</a>
44                      </p>
45
46                      <a id="a000373"></a>
47                      <div class="entry" id="entry-373">
48                         <h3 class="entry-header">The Quest to build 3.0.0 from 3.4.3</h3>
49                         <div class="entry-content">
50                            <div class="entry-body">
51                               <ul>
52   <li>Worked to build 3.0.0 from 3.4.3</li>
53 </ul>
54                            </div>
55                            <div id="more" class="entry-more">
56                               Andrew DeFaria wrote:
57
58 <blockquote type=cite>
59 <p>Performed the following actions:</p>
60
61 <h3>Change packaging by hand:</h3>
62
63 <ol>
64   <li>cd /build/toolchain/install-powerpc178/cdk/linux-elf-ppc</li>
65
66   <li>mkdir bin</li>
67
68   <li>cd bin</li>
69
70   <li>Created symlinks for the following: ar, as, byacc, c++, cc, cmp, diff, diff3, expect, flex, gcc, ld, make, nm, ranlib, size, strip to link to ../usr/bin (exception: cc -> ../usr/bin/gcc). <b>Note:</b> byacc, c++, cmp, diff, diff3 and expect do not exist in ../usr/bin! Removed symlinks</li>
71
72   <li>cd ../..</li>
73
74   <li>mkdir lib</li>
75
76   <li>Copied cdk/linux-elf-ppc/usr/lib/gcc/powerpc-lynx-lynxos178/3.4.3/libgcc.a -> lib <b>Note:</b> Unable to find any libstdc++.a's!</li>
77
78   <li>Created linux-elf-ppc.tar.gz with tar -zcvf ../linux-elf-ppc.tar.gz .</li>
79 </ol>
80
81 <h3>Removing libgcc from LOS178:</h3>
82
83 <ol>
84   <li>cd /build/los178/src/lib/libgcc</li>
85
86   <li>rm Makefile</li>
87
88   <li>cvs delete Makefile</li>
89
90   <li>cd ..</li>
91
92   <li>Editted Makefile to remove libgcc from SUBCOMPONENTS</li>
93
94   <li>cd /build/los178/src/cdk/common/bison-1.19</li>
95
96   <li>rm Makefile</li>
97
98   <li>cvs delete Makefile (<b>Note:</b> there are many other files here. Should they be likewise removed?)</li>
99
100   <li>cd ../links</li>
101
102   <li>rm Makefile</li>
103
104   <li>cvs delete Makefile</li>
105
106   <li>cd /build/los178/src/cdk</li>
107
108   <li>Editted Makefile to remove references to bison-1.19 and links</li>
109
110   <li>Editted Makefile to add -0.9.6 to "openssl".</li>
111 </ol>
112
113 <p>The following is the result of building src/cdk:</p>
114
115 <ul>
116   <li>coffcorrupt - for test <font color="green">PASSED</font></li>
117
118   <li>cofflook - for inspecting coff object <font color="green">PASSED</font></li>
119
120   <li>config - needed <font color="green">PASSED</font></li>
121
122   <li>crc - append script uses this <font color="green">PASSED</font></li>
123
124   <li>elflook - for inspecting elf object <font color="red">FAILED</font></li>
125
126   <li>install - use for installation <font color="green">PASSED</font></li>
127
128   <li>m4-1.4 - needed for config.tbl <font color="red">Didn't find anything about this!</font></li>
129
130   <li>man2html - html man page utility <font color="red">Didn't find anything about this!</font></li>
131
132   <li>mkbootprep - use by vmpc <font color="green">PASSED</font></li>
133
134   <li>mkimage - maybe need to be update to support elf kernel? <font color="green">PASSED</font></li>
135
136   <li>mktimestamp - needed for kernel timestamp <font color="green">PASSED</font></li>
137
138   <li>prepend-crc - mkboot178 uses this <font color="green">PASSED</font></li>
139
140   <li>gzip-1.2.4 - only for solaris host <font color="green">PASSED</font></li>
141
142   <li>tar-1.11.2 - only for solaris host <font color="red">FAILED</font></li>
143
144   <li>vctchk - use for checking vct <font color="red">FAILED</font></li>
145
146   <li>openssl <font color="red">(Failed to build saying it couldn't find /build/los178/cdk/linux-elf-ppc/bin/make)</font></li>
147 </ul>
148
149 <p>I will try to pick this up from home but I have been having some connectivity issues lately...</p>
150 </blockquote>
151
152 <p>Picking up...</p>
153
154 <h3>Building LOS178 after sections I & II above completed:</h3>
155
156 <ol>
157   <li>Logged in as int</li>
158
159   <li>Exported toolchain source -> /build/toolchain.src (via tag DEV_LOS178_3p0p0_ppc_20050607)</li>
160
161   <li>Instructions say to package source yet Makefile's package target does not include fixup.sh so performed this by hand.</li>
162
163   <li>Stored previously successfully built toolchain -> t3:/export/dev_archive/los178/3p0p0/toolchain/20050607</li>
164
165   <li>Checked that europa:/build/los178 had TOT. Only differences were the changes to the Makefile(s) describe above and the cvs deletes that I did.</li>
166
167   <li>rm sys/miscgcc/*.o</li>
168
169   <li>tar -zxvf /build/bin-image/ppc.cdksol.tar.gz sys/miscgcc</li>
170
171   <li>tar -zxpf/build/1033-00.cdklinux.tar.gz</li>
172
173   <li>Sourced SETUP.bash</li>
174
175   <li>make DEVELOPMENT=yes install > install.log 2>&1</li>
176
177   <li>make failed due to lack of crc (and a syntax error I introduced in the src/lib/Makefile - missed a "\"!). The crc was missing because I skipped a step, the make install in src/cdk. Turns out I skipped this step because I thought we had performed this yesterday - and we did - but we had some problems there and Vinnie helped me to get that to work. Unfortunately we were using make all during that time and failed to to the make install portion).</li>
178
179   <li>make failed with the following:<p>
180
181 <div class="code"><pre>
182       europa:check -t -v install.log
183       ERRORS:
184       make[3]: *** No rule to make target `_udivdi3.o', needed by `archive_step'.  Stop.
185       make[3]: *** No rule to make target `install'.  Stop.
186       make[3]: *** No rule to make target `install'.  Stop.
187       make[3]: *** No rule to make target `install'.  Stop.
188       make[3]: *** No rule to make target `install'.  Stop.
189       make[3]: *** No rule to make target `install'.  Stop.
190       /build/los178/cdk/linux-xcoff-ppc/bin/ld: cannot open -lmiscgcc: No such file or directory
191       make[4]: *** [common_all] Error 1
192       make[3]: *** [re_all] Error 2
193       /build/los178/cdk/linux-xcoff-ppc/bin/ld: cannot open -lmiscgcc: No such file or directory
194       make[4]: *** [a.out] Error 1
195       make[3]: *** [re_all] Error 2
196       make[2]: *** [real] Error 2
197       make[1]: *** [install] Error 2
198       make[3]: *** [gunzip] Error 1
199       make[3]: *** [nohup] Error 1
200       make[3]: *** [install_common] Error 1
201       make[3]: *** [install] Error 1
202       make[2]: *** [real] Error 2
203       make[1]: *** [install] Error 2
204       File: install.log Errors: 20 Warnings: 2545
205 </pre></div>
206   <p>The issues here boil down to the _udivd3.o problem mostly (the No rule to make target `install' are the csp.x86, ibm440ep stuff and there are few permissions problems with chmod since this build was done as int this time). The _udivd3.o problem results from a new .o file introduced by Gilbert and CR #542 and a corresponding change to the Makefile. The miscgcc .o files are gotten from ppc.cdksol.tar.gz but there is no _udivd3.o in ppc.cdksol.tar.gz.</p>
207
208   <p>After discussing this with Vinnie we determined that Gilbert had checked in these .o files when what really needs to be done is for us to include this new .o file into the ppc.cdk[sol|linux].tar.gz images in bin-image.</p>
209
210   <li>After building the following errors remain:</p>
211
212   <ol>
213     <li>5 "No rule to make target `install`" remains for devices.ibm440ep, drivers.ibm440ep, csp.440, csp.x86 and bsp.ibm440ep. These are known problems.</li>
214
215     <li>Various permissions problems dealing with the fact that I had initially built things as adefaria and switched to building as int.</li>
216   </ol>
217 </ol>
218
219                            </div>
220                         </div>
221                         <p class="entry-footer">
222                            <span class="post-footers">Posted by  on June 16, 2005  4:17 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000373.html">Permalink</a>
223                         </p>
224                      </div>
225
226                      
227
228                      
229                   </div>
230                </div>
231             </div>
232          </div>
233       </div>
234    </div>
235 </body>
236 </html>