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: 2.1.0 problem/3.4.3 gcc/GDB 6.0</title>
14 <link rel="start" href="http://defaria.com/blogs/Status/" title="Home" />
15 <link rel="prev" href="http://defaria.com/blogs/Status/archives/000367.html" title="build_los178 enhancements/3.4.3 toolchain build" />
16 <link rel="next" href="http://defaria.com/blogs/Status/archives/000369.html" title="3.4.3 toolchain build/LOS178 Makefile global clean/clobber" />
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/000367.html">« build_los178 enhancements/3.4.3 toolchain build</a> |
42 <a href="http://defaria.com/blogs/Status/">Main</a>
43 | <a href="http://defaria.com/blogs/Status/archives/000369.html">3.4.3 toolchain build/LOS178 Makefile global clean/clobber »</a>
47 <div class="entry" id="entry-368">
48 <h3 class="entry-header">2.1.0 problem/3.4.3 gcc/GDB 6.0</h3>
49 <div class="entry-content">
50 <div class="entry-body">
52 <li>Rebuilding LOS178 2.1.0</li>
54 <li>Attempted to build 3.4.3 on RH 8.0. Didn't work. Reattempting on RH 9.0 machine, shrike</li>
56 <li>Setup coolcat Windows box to attempt to build GDB 6.0</li>
58 <li>Changed Logger.pm to set autoflush</li>
60 <li>Changed build_los178 to look for sendmail</li>
62 <li>Worked on improving rename.sh to handle multiple versions. More works need to be done.</li>
65 <div id="more" class="entry-more">
68 <p>There was some sort of problem with the recent build of 2.1.0. In looking into it I found the following:</p>
70 <p>I found a tagging problem. I used the tag DEV_LOS178_3p0p0_ppc_20050603. Note the 3p0p0. It should have been 2p1p0. I searched dev_archive on t3 and find no 20050603 directory for 3p0p0 but find it instead under 2p1p0. I believe that I should simply rename that tag to DEV_LOS178_2p1p0_20050603.</p>
72 <p>The CRs involved in 1 gig support seem to be: 539 and 606. Additionally 620 appears to be picked. Here's the break down:</p>
74 <div class="code"><pre>
75 rock:files4cr 539 # Add 1Gb support for LynxOS-178
76 ENVIRONMENT: 1.9.2.2 - Already up to date
77 src/bin/lynxos.boot/Makefile: 1.1.1.1.2.1 - Already up to date
78 src/cdk/common/mkimage/coff.c: 1.1.2.1 - Already up to date
79 sys/bsp.vmpc/bsp_env.c: 1.2.2.1 - Already up to date
80 sys/bsp.vmpc/lowInit.c: 1.3.2.1 - Already up to date
81 sys/bsp.vmpc/procinit.c: 1.3.2.1 - Already up to date
82 sys/csp.970/csp_init.c: 1.2.2.1 - Out of date
83 sys/csp.970/csp_mem_map.c: 1.4.2.1 - Out of date
84 sys/csp.ppc/csp_init.c: 1.2.2.1 - Already up to date
85 sys/csp.ppc/csp_mem_map.c: 1.3.2.1 - Already up to date
86 sys/include/bsps/pmac_g5/board.h: 1.5.2.1 - Out of date
87 sys/include/bsps/vmpc/board.h: 1.2.2.1 - Already up to date
88 sys/include/bsps/vmpc/pwb.h: 1.1.2.1 - Already up to date
89 sys/include/family/ppc/arch_mem.h: 1.1.1.1.2.1 - Already up to date
91 rock:files4cr 606 # Fix the 1GB problem on the Apple Power Mac G5 LynxOS-178 BSP
92 sys/bsp.pmac_g5/bsp_env.c: 1.2.2.1 - Already up to date
93 sys/bsp.pmac_g5/bsp_init.c: 1.3.2.2 - Already up to date
94 sys/bsp.pmac_g5/ofw.c: 1.5.2.1 - Already up to date
95 sys/bsp.pmac_g5/ofw.h: 1.3.2.1 - Already up to date
96 sys/bsp.pmac_g5/procinit.c: 1.5.2.1 - Already up to date
97 sys/csp.970/csp_init.c: 1.2.2.2 - Already up to date
98 sys/csp.970/csp_mem_map.c: 1.4.2.2 - Out of date
99 sys/include/bsps/pmac_g5/board.h: 1.5.2.2 - Already up to date
100 sys/kernel/getrusage.c: 1.1.1.1.2.1 - Already up to date
102 rock:files4cr 620 # Import G5 bug fixes/improvement from TOT into 2.1.0 branch
103 sys/bsp.pmac_g5/bsp_intr.c: 1.2.2.1 - Already up to date
104 sys/csp.970/csp_mem_map.c: 1.4.2.3 - Already up to date
105 sys/drivers/arinc653/Makefile.real: 1.1.2.1 - Already up to date
108 <p>If you look carefully you'll notice that the "Out of date" items for 539 are covered with newer versions in 606 and 620. So it appears as if I was up to date with when I built.</p>
110 <p>I am building again and will be rereleasing images using the correct numbering this time.</p>
112 <h3>Building 3.4.3 gcc on shrike RH 9.0</h3>
114 <p>I attempted to build 3.4.3 gcc on shrike, a RH 9.0 system but it failed with the following:</p>
116 <div class="code"><pre>
117 make[2]: Entering directory `/home/adefaria/toolchain/build-powerpc/bison'
118 cd /home/adefaria/toolchain.orig/src/bison && autoheader
119 WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
120 WARNING: and `config.h.top', to define templates for `config.h.in'
121 WARNING: is deprecated and discouraged.
123 WARNING: Using the third argument of `AC_DEFINE' and
124 WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
125 WARNING: `acconfig.h':
127 WARNING: AC_DEFINE([NEED_MAIN], 1,
128 WARNING: [Define if a function `main' is needed.])
130 WARNING: More sophisticated templates can also be produced, see the
131 WARNING: documentation.
132 touch /home/adefaria/toolchain.orig/src/bison/config.hin
133 cd . && /bin/sh ./config.status config.h
134 Usage: ./config.status [--recheck] [--version] [--help]
135 make[2]: *** [stamp-h1] Error 1
136 make[2]: Leaving directory `/home/adefaria/toolchain/build-powerpc/bison'
137 make[1]: *** [all-bison] Error 2
138 make[1]: Leaving directory `/home/adefaria/toolchain/build-powerpc'
139 make: *** [stamp-all-powerpc] Error 2
142 <p>Here's what I did:</p>
145 <li>Checked out toolchain from my previous tag (DEV_LOS178_3p0p0_ppc_20050607)</li>
147 <li>Obtained and applied the patches as before</li>
149 <li>Obtained the LOS178 build environment as before</li>
151 <li>Performed make install</li>
154 <p>This was done on shrike in my home directory.</p>
157 <p class="entry-footer">
158 <span class="post-footers">Posted by on June 8, 2005 5:11 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000368.html">Permalink</a>