Weird behaviour, possible compiler bug?

Daniel Kegel dank@kegel.com
Thu Aug 19 02:06:00 GMT 2004


Alex Bennee wrote:
> Has anyone been building SH kernels with Dan's latest crosstool gcc?
> 
> [alex@cambridge linux-2.6.8.1]$ sh4-unknown-linux-gnu-gcc --version
> sh4-unknown-linux-gnu-gcc (GCC) 3.3.3 20040126 (prerelease)
> 
> Specifically the routine root_nfs_parse_addr() (in net/ipv4/ipconfig.c)
> would parse an invalid address.

This is a known problem,
http://gcc.gnu.org/PR13260

Crosstool has a pair of patches for this,
gcc-3.3.3/pr13260-test.patch
gcc-3.3.3/pr13260-fix-3.3.3.patch

but since you're using a funny prerelease, I suspect they
weren't applied.

Have you tried building a kernel with gcc-3.4.1 yet?
- Dan

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list