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: June 12, 2005 - June 18, 2005 Archives</title>
14 <link rel="start" href="http://defaria.com/blogs/Status/" title="Home" />
15 <link rel="prev" href="http://defaria.com/blogs/Status/archives/week_2005_06_05.html" title="June 5, 2005 - June 11, 2005" />
16 <link rel="next" href="http://defaria.com/blogs/Status/archives/week_2005_06_19.html" title="June 19, 2005 - June 25, 2005" />
18 <body class="layout-one-column">
20 <div id="container-inner" class="pkg">
23 <div id="banner-inner" class="pkg">
24 <h1 id="banner-header"><a href="http://defaria.com/blogs/Status/" accesskey="1">Status for Andrew DeFaria</a></h1>
25 <h2 id="banner-description">Searchable status reports and work log</h2>
30 <div id="pagebody-inner" class="pkg">
32 <div id="alpha-inner" class="pkg">
34 <p class="content-nav">
35 <a href="http://defaria.com/blogs/Status/archives/week_2005_06_05.html">« June 5, 2005 - June 11, 2005</a> |
36 <a href="http://defaria.com/blogs/Status/">Main</a>
37 | <a href="http://defaria.com/blogs/Status/archives/week_2005_06_19.html">June 19, 2005 - June 25, 2005 »</a>
43 <h2 class="date-header">June 16, 2005</h2>
45 <div class="entry" id="entry-373">
46 <h3 class="entry-header">The Quest to build 3.0.0 from 3.4.3</h3>
47 <div class="entry-content">
48 <div class="entry-body">
50 <li>Worked to build 3.0.0 from 3.4.3</li>
55 <blockquote type=cite>
56 <p>Performed the following actions:</p>
58 <h3>Change packaging by hand:</h3>
61 <li>cd /build/toolchain/install-powerpc178/cdk/linux-elf-ppc</li>
67 <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>
73 <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>
75 <li>Created linux-elf-ppc.tar.gz with tar -zcvf ../linux-elf-ppc.tar.gz .</li>
78 <h3>Removing libgcc from LOS178:</h3>
81 <li>cd /build/los178/src/lib/libgcc</li>
85 <li>cvs delete Makefile</li>
89 <li>Editted Makefile to remove libgcc from SUBCOMPONENTS</li>
91 <li>cd /build/los178/src/cdk/common/bison-1.19</li>
95 <li>cvs delete Makefile (<b>Note:</b> there are many other files here. Should they be likewise removed?)</li>
101 <li>cvs delete Makefile</li>
103 <li>cd /build/los178/src/cdk</li>
105 <li>Editted Makefile to remove references to bison-1.19 and links</li>
107 <li>Editted Makefile to add -0.9.6 to "openssl".</li>
110 <p>The following is the result of building src/cdk:</p>
113 <li>coffcorrupt - for test <font color="green">PASSED</font></li>
115 <li>cofflook - for inspecting coff object <font color="green">PASSED</font></li>
117 <li>config - needed <font color="green">PASSED</font></li>
119 <li>crc - append script uses this <font color="green">PASSED</font></li>
121 <li>elflook - for inspecting elf object <font color="red">FAILED</font></li>
123 <li>install - use for installation <font color="green">PASSED</font></li>
125 <li>m4-1.4 - needed for config.tbl <font color="red">Didn't find anything about this!</font></li>
127 <li>man2html - html man page utility <font color="red">Didn't find anything about this!</font></li>
129 <li>mkbootprep - use by vmpc <font color="green">PASSED</font></li>
131 <li>mkimage - maybe need to be update to support elf kernel? <font color="green">PASSED</font></li>
133 <li>mktimestamp - needed for kernel timestamp <font color="green">PASSED</font></li>
135 <li>prepend-crc - mkboot178 uses this <font color="green">PASSED</font></li>
137 <li>gzip-1.2.4 - only for solaris host <font color="green">PASSED</font></li>
139 <li>tar-1.11.2 - only for solaris host <font color="red">FAILED</font></li>
141 <li>vctchk - use for checking vct <font color="red">FAILED</font></li>
143 <li>openssl <font color="red">(Failed to build saying it couldn't find /build/los178/cdk/linux-elf-ppc/bin/make)</font></li>
146 <p>I will try to pick this up from home but I have been having some connectivity issues lately...</p>
151 <h3>Building LOS178 after sections I & II above completed:</h3>
154 <li>Logged in as int</li>
156 <li>Exported toolchain source -> /build/toolchain.src (via tag DEV_LOS178_3p0p0_ppc_20050607)</li>
158 <li>Instructions say to package source yet Makefile's package target does not include fixup.sh so performed this by hand.</li>
160 <li>Stored previously successfully built toolchain -> t3:/export/dev_archive/los178/3p0p0/toolchain/20050607</li>
162 <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>
164 <li>rm sys/miscgcc/*.o</li>
166 <li>tar -zxvf /build/bin-image/ppc.cdksol.tar.gz sys/miscgcc</li>
168 <li>tar -zxpf/build/1033-00.cdklinux.tar.gz</li>
170 <li>Sourced SETUP.bash</li>
172 <li>make DEVELOPMENT=yes install > install.log 2>&1</li>
174 <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>
176 <li>make failed with the following:<p>
178 <div class="code"><pre>
179 europa:check -t -v install.log
181 make[3]: *** No rule to make target `_udivdi3.o', needed by `archive_step'. Stop.
182 make[3]: *** No rule to make target `install'. Stop.
183 make[3]: *** No rule to make target `install'. Stop.
184 make[3]: *** No rule to make target `install'. Stop.
185 make[3]: *** No rule to make target `install'. Stop.
186 make[3]: *** No rule to make target `install'. Stop.
187 /build/los178/cdk/linux-xcoff-ppc/bin/ld: cannot open -lmiscgcc: No such file or directory
188 make[4]: *** [common_all] Error 1
189 make[3]: *** [re_all] Error 2
190 /build/los178/cdk/linux-xcoff-ppc/bin/ld: cannot open -lmiscgcc: No such file or directory
191 make[4]: *** [a.out] Error 1
192 make[3]: *** [re_all] Error 2
193 make[2]: *** [real] Error 2
194 make[1]: *** [install] Error 2
195 make[3]: *** [gunzip] Error 1
196 make[3]: *** [nohup] Error 1
197 make[3]: *** [install_common] Error 1
198 make[3]: *** [install] Error 1
199 make[2]: *** [real] Error 2
200 make[1]: *** [install] Error 2
201 File: install.log Errors: 20 Warnings: 2545
203 <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>
205 <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>
207 <li>After building the following errors remain:</p>
210 <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>
212 <li>Various permissions problems dealing with the fact that I had initially built things as adefaria and switched to building as int.</li>
217 <p class="entry-footer">
218 <span class="post-footers">Posted by at 4:17 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000373.html">Permalink</a>
228 <h2 class="date-header">June 15, 2005</h2>
230 <div class="entry" id="entry-372">
231 <h3 class="entry-header">Rebuild 2.1.0/GDB 6.0</h3>
232 <div class="entry-content">
233 <div class="entry-body">
235 <li>Rebuilt/re-released 2.1.0 with additional CR #632</li>
237 <li>Built GDB 6.0 on Windows!</li>
240 <p class="entry-footer">
241 <span class="post-footers">Posted by at 12:18 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000372.html">Permalink</a>
251 <h2 class="date-header">June 13, 2005</h2>
253 <div class="entry" id="entry-371">
254 <h3 class="entry-header">3.4.3 toolchain build/LOS178 Makefile global clean/clobber</h3>
255 <div class="entry-content">
256 <div class="entry-body">
258 <li>Added CR 636: LOS178 3.0.0 build fails with new 3.4.3 gcc</li>
260 <li>Reproduced make clobber problem</li>
262 <li>Added 637: 3.4.3 toolchain does not package properly</li>
265 <h3>Make clobber problem</h3>
267 <p>When a make clobber is performed in sys the make is propagated downward through the sub makes. However the sys level Makefile starts it's clobber target with: rm $(ENV_PREFIX)/sys/lib/* to remove all of the libraries in sys/lib.</p>
269 <p>When the make clobber gets propagated down to drivers/arinc653 the following happens:</p>
271 <div class="code"><pre>
272 make -f Makefile.real DRV_IS_DLDD=no clobber
273 make[1]: Entering directory `/build/los178/sys/drivers/arinc653'
274 /bin/rm -f arinc653drvr.lint
275 /build/los178/cdk/linux-elf-ppc/usr/bin/ar d /build/los178/sys/lib/libdrivers.a arinc653drvr.o
276 make[1]: Leaving directory `/build/los178/sys/drivers/arinc653'
277 make -f Makefile.real DRV_IS_DLDD=yes clobber
278 make[1]: Entering directory `/build/los178/sys/drivers/arinc653'
279 /bin/rm -f arinc653.*.o arinc653.*.bin arinc653.pre arinc653.import
280 /bin/rm -f arinc653.dldd arinc653.info
281 make[1]: Leaving directory `/build/los178/sys/drivers/arinc653'
284 <p>At this point a small libdrivers.a is left in sys/lib:</p>
286 <div class="code"><pre>
287 europa:ll ../../lib/libdrivers.a
288 -rw-rw-r-- 1 adefaria staff 170 Jun 13 13:02 ../../lib/libdrivers.a
291 <p>Similar things happen in:</p>
294 <li>sys/drivers/mem</li>
296 <li>sys/driverspmac_g5/is_sungem</li>
298 <li>sys/drivers.vmpc/rs232</li>
300 <li>sys/drivers.vmpc/bdlan</li>
302 <li>sys/drivers.vmpc/if_dec21040</li>
305 <p>When we are done with a clobber we are left with:</p>
307 <div class="code"><pre>
310 drwxrwxr-x 2 adefaria staff 4096 Jun 13 13:16 ./
311 drwxrwxr-x 26 adefaria staff 4096 Jun 13 13:16 ../
312 -rw-rw-r-- 1 adefaria staff 170 Jun 13 13:16 libdrivers.a
313 -rw-rw-r-- 1 adefaria staff 8 Jun 13 13:16 libdrivers_pmac_g5.a
314 -rw-rw-r-- 1 adefaria staff 8 Jun 13 13:16 libdrivers_vmpc.a
317 <p>This eventually screws up the build. Doing a make clobber followed by rm lib/* then a make install works OK...</p>
319 <p class="entry-footer">
320 <span class="post-footers">Posted by at 8:57 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000371.html">Permalink</a>