|
From: Julian S. <js...@ac...> - 2005-08-09 23:15:55
|
> > You can build and use 3.0.0 on RH7.3 (I tested it myself, and > > so did Tom) but you can't use the default gcc-2.96 compiler to > > build it with. I have been using gcc-3.0.4 on RH7.3 and that > > appears to build Valgrind with no problems. > > The box I do the overnight RH73 builds on is using gcc 3.2.2 now > which is why those work. Like you say, the standard RH73 compiler > won't work as it require variable declarations to be at the start > of blocks. To tell the whole truth .. it was in fact me who introduced most of these variable declarations in the middle of blocks. They are very convenient after all. For a long time it was fine, but when I built it on RH73 with gcc-2.96, it died. And I was too lazy to fix it; downloading/installing gcc-3.0.4 was easier :-) I did have a go, but gave up when I realised it would be several hours work. Also ... I remember getting into a pickle with gcc-2.96 and the order of qualifiers for __attribute__((regparm)) on fn declarations. That was another motivation for upgrading the compiler rather than spending time how to write gcc-2.96 compatible regparm incantations. Neither of which are very honourable motivations .. J |