Re: Weird behaviour, possible compiler bug?

Daniel Kegel <[email protected]> Wed, 18 Aug 2004 12:33:21 -0700
Newsgroups gmane.comp.gcc.cross-compiling,gmane.linux.ports.sh.devel,gmane.linux.ports.sh.general
Message-ID <[email protected]>
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 [email protected]