This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Weird behaviour, possible compiler bug?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]