Messages in this thread | | | From | Patrick Lerda <> | Subject | [POWERPC]: Bug in gcc 2.8.1 while compiling fs/ext2/balloc.c | Date | Tue, 3 Aug 1999 09:31:23 +0200 |
| |
<!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> <FONT SIZE=2 FACE="Arial">gdp->bg_free_blocks_count = cpu_to_le16(le16_to_cpu(gdp->bg_free_blocks_count) - 1);</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Is miscompiled whith gcc 2.8.1, and I get: gdp>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> | |