<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Samad, Alex wrote:
<blockquote
cite="midDB174B32B0943440B5440C601B85FE1702D63D7C@snoexc03.asiapacific.cpqcorp.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Trouble building kernel</title>
<o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName">
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";
color:black;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman";
color:black;}
pre
{margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</o:SmartTagType>
<div class="Section1">
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;">Hi<o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;">Yep gcc 4,
that’s the only one I
found at the repository…<o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;">Do you know
what was used to make kernel-smp-2.6.11-1.1180axp_FC3
? or which version of gcc do yo use 3.?</span></font></p>
</div>
</blockquote>
The main compiler for AC 1.0 is gcc 3.4. gcc 4.x is the main compiler
for "devel" (aka AC 2.0 or what ever it will be) repository. You should
you gcc from AC1.0 distribution and it was used to build the kernel.<br>
<br>
I got new kernel (2.6.12-something) from FC4 compiled by gcc 4.x, but
like I said - I've never tried to boot it. :)<br>
I tried to build vanila kernel (from kernel.org) with gcc 4.x, but I
had problems with new version of udev during boot.<br>
So far I didn't have time to figure out what the problem is.<br>
<br>
Regards,<br>
<blockquote
cite="midDB174B32B0943440B5440C601B85FE1702D63D7C@snoexc03.asiapacific.cpqcorp.net"
type="cite">
<div class="Section1">
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;">thanks<o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p>
<div
style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0cm 0cm 0cm 4pt;">
<div>
<div class="MsoNormal" style="text-align: center;" align="center"><font
color="black" face="Times New Roman" size="3"><span
style="font-size: 12pt; color: windowtext;" lang="EN-US">
<hr tabindex="-1" align="center" size="2" width="100%"></span></font></div>
<p class="MsoNormal"><b><font color="black" face="Tahoma" size="2"><span
style="font-size: 10pt; font-family: Tahoma; color: windowtext; font-weight: bold;"
lang="EN-US">From:</span></font></b><font color="black" face="Tahoma"
size="2"><span
style="font-size: 10pt; font-family: Tahoma; color: windowtext;"
lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:axp-list-bounces@redhat.com">axp-list-bounces@redhat.com</a>
[<a class="moz-txt-link-freetext" href="mailto:axp-list-bounces@redhat.com">mailto:axp-list-bounces@redhat.com</a>] <b><span
style="font-weight: bold;">On
Behalf Of </span></b>Sergey Tikhonov<br>
<b><span style="font-weight: bold;">Sent:</span></b> Friday, 22 July
2005 4:32 AM<br>
<b><span style="font-weight: bold;">To:</span></b> Linux on Alpha
processors<br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: Trouble
building
kernel</span></font><font color="black"><span style="color: windowtext;"
lang="EN-US"><o:p></o:p></span></font></p>
</div>
<p class="MsoNormal"><font color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt;">Hi,<br>
<br>
What compiler do you use? I guess gcc 4.x?<br>
There were issues with include/asm/system.h and gcc 4.x. As far as I
understood
- it is optimiser that doesn't remove "dead" code (which in its turn
would be activated if passed pointer in not properly aligned or points
to
correct data with allowed size). In my test kernel I just commented out
that
statement in the header. Frankly speaking, I have not tried to run a
kernel
compiled with gcc 4.x.<br>
<br>
Regards,<br>
<br>
<st1:PersonName w:st="on">Samad, Alex</st1:PersonName> wrote: <o:p></o:p></span></font></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><!-- Converted from text/rtf format -->Hi</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">Seem to be having some
problem rebuilding the kernel from
source, doing this because of the ipv6 and the netfilter module issues!</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">I have this package
installed</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">kernel-smp-devel-2.6.11-1.1180axp_FC3</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">and I get this error</span></font><o:p></o:p></p>
<p class="MsoNormal"><font color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt;"><o:p> </o:p></span></font></p>
<p><a name=""><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">fs/ext3/acl.c:
In function
'ext3_set_acl':</span></font></a><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">fs/ext3/acl.c:229:
warning: 'size' may be used uninitialized
in this function</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">fs/isofs/namei.c:
In function 'isofs_lookup':</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">fs/isofs/namei.c:171:
warning: 'offset' may be used
uninitialized in this function</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">fs/isofs/namei.c:171:
warning: 'block' may be used
uninitialized in this function</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">lib/zlib_inflate/inftrees.c:
In function 'huft_build':</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">lib/zlib_inflate/inftrees.c:121:
warning: 'r.base' may be
used uninitialized in this function</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">net/ipv4/netfilter/ip_conntrack_core.c:
In function
'ip_conntrack_in':</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">net/ipv4/netfilter/ip_conntrack_core.c:612:
warning:
'set_reply' may be used uninitialized in this function</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">drivers/scsi/aic7xxx/aic7xxx_osm.c:
In function
'ahc_linux_register_host':</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">drivers/scsi/aic7xxx/aic7xxx_osm.c:1732:
warning: ignoring
return value of 'scsi_add_host', declared with attribute
warn_unused_result</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US"> CHK
include/linux/compile.h</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US"> UPD
include/linux/compile.h</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">kernel/built-in.o(.text+0x9e50):
In function `__xchg':</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">include/asm/system.h:459:
undefined reference to
`__xchg_called_with_bad_pointer'</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">kernel/built-in.o(.text+0x9e54):include/asm/system.h:459:
undefined reference to `__xchg_called_with_bad_pointer'</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">kernel/built-in.o(.text+0x2374c):include/asm/system.h:459:
undefined reference to `__xchg_called_with_bad_pointer'</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">kernel/built-in.o(.text+0x23750):include/asm/system.h:459:
undefined reference to `__xchg_called_with_bad_pointer'</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">fs/built-in.o(.text+0x22374):
In function `__xchg':</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">include/asm/system.h:459:
undefined reference to
`__xchg_called_with_bad_pointer'</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">fs/built-in.o(.text+0x22378):include/asm/system.h:459:
more
undefined references to `__xchg_called_with_bad_pointer' follow</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">drivers/built-in.o(.text+0x44210):
In function `__cmpxchg':</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">include/asm/system.h:610:
undefined reference to
`__cmpxchg_called_with_bad_pointer'</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">drivers/built-in.o(.text+0x44214):include/asm/system.h:610:
undefined reference to `__cmpxchg_called_with_bad_pointer'</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">net/built-in.o(.text+0x310c):
In function `__xchg':</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">include/asm/system.h:459:
undefined reference to
`__xchg_called_with_bad_pointer'</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">net/built-in.o(.text+0x3110):include/asm/system.h:459:
undefined reference to `__xchg_called_with_bad_pointer'</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">net/built-in.o(.text+0x28c08):include/asm/system.h:459:
undefined reference to `__xchg_called_with_bad_pointer'</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">net/built-in.o(.text+0x28c0c):include/asm/system.h:459:
undefined reference to `__xchg_called_with_bad_pointer'</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">net/built-in.o(.text+0x8272c):include/asm/system.h:459:
undefined reference to `__xchg_called_with_bad_pointer'</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">net/built-in.o(.text+0x82730):include/asm/system.h:459:
more
undefined references to `__xchg_called_with_bad_pointer' follow</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">make: ***
[.tmp_vmlinux1] Error 1</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">error: Bad
exit status from /var/tmp/rpm-tmp.89997 (%build)</span></font><o:p></o:p></p>
<p class="MsoNormal"><font color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt;"><o:p> </o:p></span></font></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">Thought I
would hit the list before I tried to confuse
myself intrying to decipher.</span></font><o:p></o:p></p>
<p><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">Thanks</span></font><o:p></o:p></p>
<pre wrap=""><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
<pre style="text-align: center;"><font color="black"
face="Courier New" size="2"><span style="font-size: 10pt;">
<hr align="center" size="4" width="90%">
</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">_______________________________________________<o:p></o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">axp-list mailing list<o:p></o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"><a href="mailto:axp-list@redhat.com">axp-list@redhat.com</a><o:p></o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"><a
href="https://www.redhat.com/mailman/listinfo/axp-list">https://www.redhat.com/mailman/listinfo/axp-list</a><o:p></o:p></span></font></pre>
<p class="MsoNormal"><font color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt;"><br>
<br>
<o:p></o:p></span></font></p>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">-- <o:p></o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">---<o:p></o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Sergey Tikhonov<o:p></o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Solvo Ltd.<o:p></o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"><a href="mailto:tsv@solvo.ru">tsv@solvo.ru</a><o:p></o:p></span></font></pre>
</div>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
axp-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:axp-list@redhat.com">axp-list@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/axp-list">https://www.redhat.com/mailman/listinfo/axp-list</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
---
Sergey Tikhonov
Solvo Ltd.
<a class="moz-txt-link-abbreviated" href="mailto:tsv@solvo.ru">tsv@solvo.ru</a>
</pre>
</body>
</html>