lkml.org 
[lkml]   [1999]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[POWERPC]: Bug in gcc 2.8.1 while compiling fs/ext2/balloc.c
Date
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.1960.3">
<TITLE>[POWERPC]: Bug in gcc 2.8.1 while compiling fs/ext2/balloc.c</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=2 FACE="Arial">This line C line in fs/ext2/balloc.c:</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">gdp-&gt;bg_free_blocks_count = cpu_to_le16(le16_to_cpu(gdp-&gt;bg_free_blocks_count) - 1);</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Is miscompiled whith gcc 2.8.1, and I get: gdp&gt;bg_free_blocks_count=-1, whatever the value is!</FONT>
<BR><FONT SIZE=2 FACE="Arial">I tried the compiler used by RedHat for PowerPC (a prereleased of egcs 1.0.2), and this new</FONT>
<BR><FONT SIZE=2 FACE="Arial">compiler give the right result. </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">If you know the most reliable version of gcc to compile linux on PowerPC, and how to make</FONT>
<BR><FONT SIZE=2 FACE="Arial">a cross compiler of GCC-2.9.5 for powerpc on an intel box le me know.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Thanks</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">LERDA Patrick</FONT>
</P>

</BODY>
</HTML>
\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.069 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site