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: February 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/2005_01.html" title="January 2005" />
16 <link rel="next" href="http://defaria.com/blogs/Status/archives/2005_03.html" title="March 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/2005_01.html">« January 2005</a> |
36 <a href="http://defaria.com/blogs/Status/">Main</a>
37 | <a href="http://defaria.com/blogs/Status/archives/2005_03.html">March 2005 »</a>
43 <h2 class="date-header">February 28, 2005</h2>
45 <div class="entry" id="entry-306">
46 <h3 class="entry-header">BC Step 3/PPC Toolchain/X86 Toolchain</h3>
47 <div class="entry-content">
48 <div class="entry-body">
50 <li>Went through steps 1 & 2 again for BC</li>
52 <li>After 6 hours step 3 of BC finally finished!</li>
54 <li>Step 4 fails though</li>
56 <li>Experiencing network problems in lab and so the native X86 toolchain build on t-k1g-1 keeps dying.</li>
58 <li>Also having problems keeping connection to t-mcn765-n (???)</li>
61 <p class="entry-footer">
62 <span class="post-footers">Posted by at 5:36 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000306.html">Permalink</a>
72 <h2 class="date-header">February 25, 2005</h2>
74 <div class="entry" id="entry-305">
75 <h3 class="entry-header">ECRD/cvs_reports/Bluecat</h3>
76 <div class="entry-content">
77 <div class="entry-body">
79 <li>Seems I need to rebuild the local tools. This is an odd step and isn't working very well</li>
81 <li>Fixed ECRDig by limiting description fields to 50K</li>
83 <li>Fixed a bug or two WRT translating <> -> < and >'s</li>
85 <li>Announced ECRDig and cvs_report.pl</li>
88 <p class="entry-footer">
89 <span class="post-footers">Posted by at 4:21 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000305.html">Permalink</a>
99 <h2 class="date-header">February 24, 2005</h2>
101 <div class="entry" id="entry-304">
102 <h3 class="entry-header">Bluecat Build/ECRDig failing</h3>
103 <div class="entry-content">
104 <div class="entry-body">
106 <li>Bluecat build failed in step 3 again. Thu recommended that I start from scratch. Completed steps 1 and 2 but step 3 fails.</li>
108 <li>ECRDig keeps failing with what turns out to be ECRs with huge description fields. Apparently some ECRs have uuencoded tar.gz files!</li>
111 <p class="entry-footer">
112 <span class="post-footers">Posted by at 4:18 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000304.html">Permalink</a>
122 <h2 class="date-header">February 23, 2005</h2>
124 <div class="entry" id="entry-302">
125 <h3 class="entry-header">Bluecat build</h3>
126 <div class="entry-content">
127 <div class="entry-body">
129 <li>Repartitioning disks on Penguin to continue build</li>
132 <p class="entry-footer">
133 <span class="post-footers">Posted by at 2:57 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000302.html">Permalink</a>
143 <h2 class="date-header">February 22, 2005</h2>
145 <div class="entry" id="entry-303">
146 <h3 class="entry-header">Bluecat Build/All ECRs</h3>
147 <div class="entry-content">
148 <div class="entry-body">
150 <li>Attempting to rebuild Bluecat for steps 2 & 3. I was trying to pick up from step 4 where Thu was having problems but I had different problems.</li>
152 <li>Ran out of disk space in step 3. Had some copies of saved stuff that was occupying space so I removed them and tried again.</li>
154 <li>Still running out of space. Need to repartition drives.</li>
156 <li>Altered ecrd to return all ECR numbers when "*" is requested. Created <a href="http://saturn.lynx.com/ecr/all.php">All ECRs</a> page to display them. Each ECR number is presented as a link to the ECR detail page. Although this page is not that useful to the human it will allow a web crawler/search engine to index all ECR descriptions and allow for full text search on ECR description. Now I just need to get a web crawler/indexer...</li>
159 <p class="entry-footer">
160 <span class="post-footers">Posted by at 2:59 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000303.html">Permalink</a>
170 <h2 class="date-header">February 17, 2005</h2>
172 <div class="entry" id="entry-299">
173 <h3 class="entry-header">ECRC Improvement/Fix of cvs_report.pl bug and Toolchain builds!</h3>
174 <div class="entry-content">
175 <div class="entry-body">
177 <li>Implemented a few more improvements to ecrd</li>
179 <li>Implemented the translations of enums from Quintus for fields like defstatus, severity, priority and state to strings</li>
181 <li>Improved CVS report web pages to include descriptions of the above enums</li>
183 <li>Fixed cvs_reports.pl. Had a bug where more than a single blank appeared between "ECR Number:" and the ECR number itself. Changed regexs to handle this situation</li>
185 <li>Managed to build toolchain for x86! Proceeding to native toolchain build</li>
188 <p class="entry-footer">
189 <span class="post-footers">Posted by at 5:10 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000299.html">Permalink</a>
199 <h2 class="date-header">February 16, 2005</h2>
201 <div class="entry" id="entry-300">
202 <h3 class="entry-header">ECRC.php</h3>
203 <div class="entry-content">
204 <div class="entry-body">
206 <li>Implemented ECRC.php which is the client library for ECRD written in PHP. PHP enables us to use this information easily in a web page.</li>
208 <li>Implemented <a href="http://saturn.lynx.com/ecr">ECR Info</a> as a way to get information about an ECR in the form of a web page. Adam really likes it!</li>
210 <li>Changed <a href="http://saturn.lynx.com/cvsr/">CVS Reports</a> web pages to obtain ECR summary description and make ECR numbers a link to ECR Info</li>
212 <li>Finished up ecrd, the deamon. Multithreading still has problems but I can address that later.</li>
214 <li>Worked on ecrc, the client command line tool that talks to ecrd.</li>
217 <p class="entry-footer">
218 <span class="post-footers">Posted by at 5:14 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000300.html">Permalink</a>
228 <h2 class="date-header">February 15, 2005</h2>
230 <div class="entry" id="entry-301">
231 <h3 class="entry-header">ECRC and ECRD</h3>
232 <div class="entry-content">
233 <div class="entry-body">
235 <li>Initial implementation of ecrc/ecrd, a client/server application to return information about ECRS</li>
237 <li>Started initial implmenetation of ecrc.php</li>
239 <li>Reported another problem with toolchain build</li>
242 <h3>ECRC and ECRD</h3>
244 <p>Taking code from cqd/cqc that I implemented over at Salira, I decided to adapt these to ECRs. The concept is essentially the same - you have data on a server in a database and wish to get to it either through a command line or a web page. At Salira I had Clearquest and it's backend database of SQL Anywhere. I was also limited to using cqperl which was based off of ActiveState Perl which has problems going into daemon mode and handling signals. Here I have an Informix SQL database and do not face the same limitation of ActiveState. Perl's DBI interface makes handling this database pretty easy. Of course the data fields are different and I took advantage of <i>real</i> Linux so as to make the daemon mode actually work well now. Multithreading remains a problem in that the child process hangs on the SQL prepare statement and if I try to reopen the database (not efficient) I get an error. Eventually I can work out these problems...</p>
246 <p class="entry-footer">
247 <span class="post-footers">Posted by at 3:25 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000301.html">Permalink</a>
257 <h2 class="date-header">February 11, 2005</h2>
259 <div class="entry" id="entry-298">
260 <h3 class="entry-header">More int_tools changes</h3>
261 <div class="entry-content">
262 <div class="entry-body">
264 <li>Implemented the -XX addition to product numbers</li>
267 <p>The solution was simple but it was also not ideal. The expect scripts currently merely fill a few arrays with numbers from ranges like 18000-18999, 19000-19999, etc. Then, later on they just grab a number from the array.</p>
269 <p>The idea of adding "-xx" to the end of the product numbers is to allow for different versions down the road. So one might have 18000-00.devos.tar.gz and 18001-00.other.package.tar.gz. Other times there might be 18000-00.devos.tar.gz and 18001-01.other.package.tar.gz. IOW different "-xx"'s in the product range. Unfortunately the way the expect scripts are coded this is not easy to do.</p>
271 <p>So for now we are just implementing this by adding -00 to the end. IOW all -xx's must be the same, for now...</p>
273 <p class="entry-footer">
274 <span class="post-footers">Posted by at 3:31 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000298.html">Permalink</a>
284 <h2 class="date-header">February 9, 2005</h2>
286 <div class="entry" id="entry-297">
287 <h3 class="entry-header">ECR 23248 Toolchain build failure</h3>
288 <div class="entry-content">
289 <div class="entry-body">
291 <li>Worked with Adam to retag the toolchain and rebuild. Build failed. Filed ECR 23248</li>
293 <li>Went on to get the int_tools to work after modifying them to take into account recent changes in tagging and build directory names</li>
296 <p>ECR 23248: Toolchain build fails due to problem in LynxOS header file:</p>
298 <p>In attempting to build top of the gcc_3_2_2-branch gdb fails to build
299 with the following:</p>
301 <div class="code"></pre>
302 gcc -x c -P -E -dM -nostdinc -g -O2 -D__Lynx__ -I. /config
303 -I/export/build1/LYNXOS_500/work_area/toolchain/3.2.2/toolchain/src/gdb
304 -I/export/build1/LYNXOS_500/work_area/toolchain/3.2.2/toolchain/src/gdb
305 -I/export/build1/LYNXOS_500/work_area/toolchain/3.2.2/toolchain/src/gdb
306 -I/export/build1/LYNXOS_500/work_area/toolchain/3.2.2/toolchain/src/gdb-DHAVE_CONFIG_H /../include/opcode /../readline/.. -I../bfd /../bfd
307 -I/export/build1/LYNXOS_500/work_area/toolchain/3.2.2/toolchain/src/gdb/../include -I../intl /../intl -DGDBTK -DCROSS_DEBUGGER -idirafter
308 /export/build1/LYNXOS_500/build/lynxos/20050207/x86/sys/include/kernel
309 /export/build1/LYNXOS_500/build/lynxos/20050207/x86/sys/include/family/-idirafter `echo i386-lynx-lynxos | sed -e 's/-.*//' -e 's/i.86/x86/'
310 -e 's/powerpc/ppc/'` -idirafter
311 /export/build1/LYNXOS_500/build/lynxos/20050207/x86/usr/include -I
312 /export/build1/LYNXOS_500/build/lynxos/20050207/x86/usr/include -I
313 /export/build1/LYNXOS_500/build/lynxos/20050207/x86/sys/include/kernel
314 /export/build1/LYNXOS_500/build/lynxos/20050207/x86/sys/include/family/-I `echo i386-lynx-lynxos | sed -e 's/-.*//' -e 's/i.86/x86/' -e
315 's/powerpc/ppc/'` tm-lynx.th-rn || exit 2; \<br>
316 echo; echo "#endif /* $guard */" ) > tm-lynx.ti<br>
317 In file included from /export/build1/LYNXOS_500/build/lynxos/20050207/x86/usr/include/stdint.h:15,<br>
318 from /export/build1/LYNXOS_500/build/lynxos/20050207/x86/sys/include/family/x86/arch_mem.h:15,<br>
319 from /export/build1/LYNXOS_500/work_area/toolchain/3.2.2/toolchain/src/gdb/config/tm-lynx.th:6:<br>
320 /export/build1/LYNXOS_500/build/lynxos/20050207/x86/usr/include/sys/cdefs.h:432:2: #error "Unsupported size of long double"<br>
321 make[2]: *** [tm-lynx.ti] Error 1<br>
323 make[2]: Leaving directory `/export/build1/LYNXOS_500/build/toolchain/3.2.2/20050207/build-i386/gdb'<br>
324 make[1]: *** [all-gdb] Error 2<br>
325 make[1]: Leaving directory `/export/build1/LYNXOS_500/build/toolchain/3.2.2/20050207/build-i386'<br>
326 make: *** [stamp-all-i386] Error 2<br>
329 <p class="entry-footer">
330 <span class="post-footers">Posted by at 4:19 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000297.html">Permalink</a>
340 <h2 class="date-header">February 8, 2005</h2>
342 <div class="entry" id="entry-296">
343 <h3 class="entry-header">CVS Tag Problems</h3>
344 <div class="entry-content">
345 <div class="entry-body">
346 <p>Spent most of the day attempting to build the TOB Toolchain by first tagging it with DEV_LYNXOS_3P2P2_ALL_20050207. The tagging operation has some problems and I suspect not everything that needed to get tagged got tagged.</p>
348 <p>Have been hunting down and tagging things hopefully appropriately in order to get things to build but I'm still having some problems.</p>
350 <p class="entry-footer">
351 <span class="post-footers">Posted by at 5:28 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000296.html">Permalink</a>
361 <h2 class="date-header">February 7, 2005</h2>
363 <div class="entry" id="entry-295">
364 <h3 class="entry-header">cvs_report.pl</h3>
365 <div class="entry-content">
366 <div class="entry-body">
367 <p>Changed cvs_report.pl to:</p>
370 <li>Properly handle branches</li>
372 <li>Create/use a data file instead of writing out an HTML file.</li>
374 <li>Not create a data file is it has not changed since the last report</li>
377 <p>Changed http://saturn.lynx.com/cvsr to generate HTML from the above datafiles.</p>
379 <p class="entry-footer">
380 <span class="post-footers">Posted by at 5:52 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000295.html">Permalink</a>
390 <h2 class="date-header">February 3, 2005</h2>
392 <div class="entry" id="entry-291">
393 <h3 class="entry-header">Finishing build note</h3>
394 <div class="entry-content">
395 <div class="entry-body">
397 <li>Finished build note for 012405</li>
399 <li>Experimented more with VCG</li>
402 <p class="entry-footer">
403 <span class="post-footers">Posted by at 4:44 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000291.html">Permalink</a>
413 <h2 class="date-header">February 2, 2005</h2>
415 <div class="entry" id="entry-294">
416 <h3 class="entry-header">cvs_report updates/common build</h3>
417 <div class="entry-content">
418 <div class="entry-body">
420 <li>Changed cvs_report.pl to better handle branches</li>
422 <li>Build common for 012405</li>
425 <h3>cvs_report.pl changes</h3>
427 <p>The changes to cvs_report.pl involved changing ProcessECRs to look for the start and stop revision numbers in the log. The CVS log has entries like the following:</p>
429 <div class="code"><pre>
430 $ cvs log Makefile | grep ^revision
449 <p>Thus if the from tag is pointing to revision 1.1.2.1 and the to_tag is pointing to revision 1.1.2.4 cvs_report.pl now skips all versions until 1.1.2.4 then picks up ECR numbers from there.</p>
451 <h3>Building common</h3>
453 <p>First check out the top of trunk of ats:</p>
456 <li><tt>cd <<i>build_area</i>>/LYNXOS_500/work_area/tst</tt></li>
457 <li><tt>export CVSROOT=:pserver:int@t3.lynx.com:/cvs/tst-cvs</tt></li>
458 <li><tt>cvs login</tt> (Enter the password)</li>
459 <li>Check out the top of trunk of ats (<tt>cvs checkout ats</tt>)</li>
460 <li>Set a tag for ats (e.g. Lion_common_<<i>mmddyy</i>>). sually we will tag the ATS as the same date as LynxOS build.</li>
461 <li>Change directory to your build tree - int_tools area and modify the <tt>__profile.exp</tt> to set the correcty ATS tag that just tagged if it is not the same as lynxos build as defined.</li>
462 <li>Modify the START for ATS process.
463 <div class="code"><pre>
465 echo "=== Starting common ==="
466 startit.exp common dummy $steps_com >> LOGS/common.log 2>&1 &
468 <li>Run the ./START</li>
471 <p class="entry-footer">
472 <span class="post-footers">Posted by at 4:49 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000294.html">Permalink</a>
482 <h2 class="date-header">February 1, 2005</h2>
484 <div class="entry" id="entry-293">
485 <h3 class="entry-header">CVSR/Toolchain</h3>
486 <div class="entry-content">
487 <div class="entry-body">
489 <li>Worked on CVS Report section of web site</li>
491 <li>Attempting to determine what ECRs were picked up for the toolchain. Found what I think might be a CVS tagging issue</li>
494 <p>Either I really just don't understand CVS branching or perhaps we have an error in tagging. I have written a Perl script that will report the ECRs involved between two different CVS tags. When I run this script on the toolchain, comparing tags Lion_com3_2_2_120204 -> Lion_com3_2_2_121604 I see odd results. I believe that the only real ECR involved here is ECR #23084. The following appears in Quintus for that ECR:</p>
497 /cvs/gcc-cvs/toolchain/src/ChangeLog.lynx,v <-- ChangeLog.lynx
498 new revision: 1.25.2.31; previous revision: 1.25.2.30
500 /cvs/gcc-cvs/toolchain/src/gcc/config/lynx.c,v <-- lynx.c
501 new revision: 1.2.2.1; previous revision: 1.2
505 /cvs/gcc-cvs/toolchain/src/gcc/ChangeLog.lynx,v <-- ChangeLog.lynx
506 new revision: 1.7; previous revision: 1.6
508 /cvs/gcc-cvs/toolchain/src/gcc/config/lynx.c,v <-- lynx.c
509 new revision: 1.3; previous revision: 1.2
512 <p>However I also notice the following WRT the file src/ChangeLog.lynx:</p>
514 <div class="code"><pre>
515 $ cvs log toolchain/src/ChangeLog.lynx
517 Lion_com3_2_2_121604: 1.25.2.31
519 Lion_com3_2_2_120604: 1.25.3.28
522 date: 2004/12/15 23:48:49; author: anemet; state: Exp; lines: +6 -0
526 date: 2004/12/14 15:28:22; author: orepin; state: Exp; lines: +17 -0
530 date: 2004/12/14 09:26:25; author: orepin; state: Exp; lines: +8 -0
534 date: 2004/11/23 15:35:16; author: aneyman; state: Exp; lines: +8 -0
540 <p>So, to me, the ECRs that changed between the CVS tags of Lion_com3_2_2_120204 and Lion_com3_2_2_121604 WRT src/ChangeLog.lynx would be</p>
548 <p>(I assume that ECR #22989 was included with the previous toolchain).</p>
550 <p>Or am I just looking at this the wrong way?</p>
552 <p>Futhermore, the other files associated with, for example, ECR #22875, are:</p>
555 <li>toolchain.cvsr/src/gdb/gdbtypes.h: 1.2.4.1</li>
557 <li>toolchain.cvsr/src/ChangeLog.lynx: 1.25.2.30</li>
558 <li>toolchain.cvsr/src/gdb/gdbtypes.c: 1.2.4.1</li>
559 <li>toolchain.cvsr/src/gdb/config/i386/tm-i386lynx.h: 1.2.4.3</li>
562 <p>Yet, other than ChangeLog.lynx, all other files have tags that suggest that nothing else changed! For example, gdbtypes.h has Lion_com3_2_2_120204 pointing to revision 1.2 and Lion_com3_2_2_121604 also pointing to 1.2! Likewise for gdbtypes.c and config/i386/tm-i386lynx.h. Is this a tagging error?</p>
564 <p class="entry-footer">
565 <span class="post-footers">Posted by at 4:48 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000293.html">Permalink</a>