<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<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]-->
</head>

<body bgcolor=white lang=EN-AU link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;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 size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;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.?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>thanks<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
color=black face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;
color:windowtext'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 color=black face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold'>From:</span></font></b><font
size=2 color=black face=Tahoma><span lang=EN-US style='font-size:10.0pt;
font-family:Tahoma;color:windowtext'> axp-list-bounces@redhat.com
[mailto:axp-list-bounces@redhat.com] <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 lang=EN-US style='color:windowtext'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>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 size=2 color=black face=Arial><span style='font-size:10.0pt;
font-family:Arial'><!-- Converted from text/rtf format -->Hi</span></font><o:p></o:p></p>

<p><font size=2 color=black face=Arial><span style='font-size:10.0pt;
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 size=2 color=black face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I have this package installed</span></font><o:p></o:p></p>

<p><font size=2 color=black face=Arial><span style='font-size:10.0pt;
font-family:Arial'>kernel-smp-devel-2.6.11-1.1180axp_FC3</span></font><o:p></o:p></p>

<p><font size=2 color=black face=Arial><span style='font-size:10.0pt;
font-family:Arial'>and I get this error</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p><a name=""><font size=2 color=black face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial'>fs/ext3/acl.c: In function
'ext3_set_acl':</span></font></a><o:p></o:p></p>

<p><font size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>fs/ext3/acl.c:229: warning: 'size' may be used uninitialized
in this function</span></font><o:p></o:p></p>

<p><font size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>fs/isofs/namei.c: In function 'isofs_lookup':</span></font><o:p></o:p></p>

<p><font size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>fs/isofs/namei.c:171: warning: 'offset' may be used
uninitialized in this function</span></font><o:p></o:p></p>

<p><font size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>fs/isofs/namei.c:171: warning: 'block' may be used
uninitialized in this function</span></font><o:p></o:p></p>

<p><font size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>lib/zlib_inflate/inftrees.c: In function 'huft_build':</span></font><o:p></o:p></p>

<p><font size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>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 size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>net/ipv4/netfilter/ip_conntrack_core.c: In function
'ip_conntrack_in':</span></font><o:p></o:p></p>

<p><font size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>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 size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>drivers/scsi/aic7xxx/aic7xxx_osm.c: In function
'ahc_linux_register_host':</span></font><o:p></o:p></p>

<p><font size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>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 size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>  CHK     include/linux/compile.h</span></font><o:p></o:p></p>

<p><font size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>  UPD     include/linux/compile.h</span></font><o:p></o:p></p>

<p><font size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>kernel/built-in.o(.text+0x9e50): In function `__xchg':</span></font><o:p></o:p></p>

<p><font size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>include/asm/system.h:459: undefined reference to
`__xchg_called_with_bad_pointer'</span></font><o:p></o:p></p>

<p><font size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>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 size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>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 size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>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 size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>fs/built-in.o(.text+0x22374): In function `__xchg':</span></font><o:p></o:p></p>

<p><font size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>include/asm/system.h:459: undefined reference to
`__xchg_called_with_bad_pointer'</span></font><o:p></o:p></p>

<p><font size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>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 size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>drivers/built-in.o(.text+0x44210): In function `__cmpxchg':</span></font><o:p></o:p></p>

<p><font size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>include/asm/system.h:610: undefined reference to
`__cmpxchg_called_with_bad_pointer'</span></font><o:p></o:p></p>

<p><font size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>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 size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>net/built-in.o(.text+0x310c): In function `__xchg':</span></font><o:p></o:p></p>

<p><font size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>include/asm/system.h:459: undefined reference to
`__xchg_called_with_bad_pointer'</span></font><o:p></o:p></p>

<p><font size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>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 size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>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 size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>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 size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>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 size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>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 size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>make: *** [.tmp_vmlinux1] Error 1</span></font><o:p></o:p></p>

<p><font size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>error: Bad exit status from /var/tmp/rpm-tmp.89997 (%build)</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p><font size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>Thought I would hit the list before I tried to confuse
myself intrying to decipher.</span></font><o:p></o:p></p>

<p><font size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial'>Thanks</span></font><o:p></o:p></p>

<pre wrap=""><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre
style='text-align:center'><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt'>

<hr size=4 width="90%" align=center>

</span></font></pre><pre><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>_______________________________________________<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>axp-list mailing list<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><a
href="mailto:axp-list@redhat.com">axp-list@redhat.com</a><o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><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 size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><br>
<br>
<o:p></o:p></span></font></p>

<pre><font size=2 color=black face="Courier New"><span style='font-size:10.0pt'>-- <o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>---<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Sergey Tikhonov<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Solvo Ltd.<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><a
href="mailto:tsv@solvo.ru">tsv@solvo.ru</a><o:p></o:p></span></font></pre></div>

</div>

</body>

</html>