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: The Quest to build 3.0.0 from 3.4.3</title>
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" />
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/000372.html">« 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 »</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">
52 <li>Worked to build 3.0.0 from 3.4.3</li>
55 <div id="more" class="entry-more">
58 <blockquote type=cite>
59 <p>Performed the following actions:</p>
61 <h3>Change packaging by hand:</h3>
64 <li>cd /build/toolchain/install-powerpc178/cdk/linux-elf-ppc</li>
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>
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>
78 <li>Created linux-elf-ppc.tar.gz with tar -zcvf ../linux-elf-ppc.tar.gz .</li>
81 <h3>Removing libgcc from LOS178:</h3>
84 <li>cd /build/los178/src/lib/libgcc</li>
88 <li>cvs delete Makefile</li>
92 <li>Editted Makefile to remove libgcc from SUBCOMPONENTS</li>
94 <li>cd /build/los178/src/cdk/common/bison-1.19</li>
98 <li>cvs delete Makefile (<b>Note:</b> there are many other files here. Should they be likewise removed?)</li>
104 <li>cvs delete Makefile</li>
106 <li>cd /build/los178/src/cdk</li>
108 <li>Editted Makefile to remove references to bison-1.19 and links</li>
110 <li>Editted Makefile to add -0.9.6 to "openssl".</li>
113 <p>The following is the result of building src/cdk:</p>
116 <li>coffcorrupt - for test <font color="green">PASSED</font></li>
118 <li>cofflook - for inspecting coff object <font color="green">PASSED</font></li>
120 <li>config - needed <font color="green">PASSED</font></li>
122 <li>crc - append script uses this <font color="green">PASSED</font></li>
124 <li>elflook - for inspecting elf object <font color="red">FAILED</font></li>
126 <li>install - use for installation <font color="green">PASSED</font></li>
128 <li>m4-1.4 - needed for config.tbl <font color="red">Didn't find anything about this!</font></li>
130 <li>man2html - html man page utility <font color="red">Didn't find anything about this!</font></li>
132 <li>mkbootprep - use by vmpc <font color="green">PASSED</font></li>
134 <li>mkimage - maybe need to be update to support elf kernel? <font color="green">PASSED</font></li>
136 <li>mktimestamp - needed for kernel timestamp <font color="green">PASSED</font></li>
138 <li>prepend-crc - mkboot178 uses this <font color="green">PASSED</font></li>
140 <li>gzip-1.2.4 - only for solaris host <font color="green">PASSED</font></li>
142 <li>tar-1.11.2 - only for solaris host <font color="red">FAILED</font></li>
144 <li>vctchk - use for checking vct <font color="red">FAILED</font></li>
146 <li>openssl <font color="red">(Failed to build saying it couldn't find /build/los178/cdk/linux-elf-ppc/bin/make)</font></li>
149 <p>I will try to pick this up from home but I have been having some connectivity issues lately...</p>
154 <h3>Building LOS178 after sections I & II above completed:</h3>
157 <li>Logged in as int</li>
159 <li>Exported toolchain source -> /build/toolchain.src (via tag DEV_LOS178_3p0p0_ppc_20050607)</li>
161 <li>Instructions say to package source yet Makefile's package target does not include fixup.sh so performed this by hand.</li>
163 <li>Stored previously successfully built toolchain -> t3:/export/dev_archive/los178/3p0p0/toolchain/20050607</li>
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>
167 <li>rm sys/miscgcc/*.o</li>
169 <li>tar -zxvf /build/bin-image/ppc.cdksol.tar.gz sys/miscgcc</li>
171 <li>tar -zxpf/build/1033-00.cdklinux.tar.gz</li>
173 <li>Sourced SETUP.bash</li>
175 <li>make DEVELOPMENT=yes install > install.log 2>&1</li>
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>
179 <li>make failed with the following:<p>
181 <div class="code"><pre>
182 europa:check -t -v install.log
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
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>
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>
210 <li>After building the following errors remain:</p>
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>
215 <li>Various permissions problems dealing with the fact that I had initially built things as adefaria and switched to building as int.</li>
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>