Dave, RH 7.2 and 7.3 also distributes with kgcc (egcs-2.91.66) and gcc3 (3.0.4) which do not have this problem. I have had much better success compiling LiS with kgcc and gcc3 than gcc. 2.96 is a completely broken release: it is amazing if it ever compiles anything correctly.
--brian On Mon, 20 May 2002, Dave Grothe wrote: > I have observed that gcc 2.96 contains a code optimization error that > causes mysterious system hangs when running LiS and certain driver > combinations that include interactions with the ldl driver. The hangs > are so bad that a 2 CPU SMP system with NMI watchdog timer enabled > cannot break into the loop. > > Due to the severity of the hang I was never able to get close enough to > the problem to pinpoint it. Therefore it cannot be usefully reported to > the gcc authors. > > The solution is to use -O2 instead of -O3 to build LiS and its included > drivers. The next published version of LiS will be configured to use > -O2. In the meantime if anyone is experiencing these sorts of problems, > try editing the LiS file config.mk directly and changing the > optimization level. > > I am uncertain whether it is necesary to build your STREAMS drivers with > -O2 rather than -O3. > > gcc 2.96 is distributed with both Red Hat 7.2 and 7.3. Both versions > have the problem. > > -- Dave > > > _______________________________________________ > Linux-streams mailing list > [EMAIL PROTECTED] > http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams -- Brian F. G. Bidulock � The reasonable man adapts himself to the � [EMAIL PROTECTED] � world; the unreasonable one persists in � http://www.openss7.org/ � trying to adapt the world to himself. � � Therefore all progress depends on the � � unreasonable man. -- George Bernard Shaw � _______________________________________________ Linux-streams mailing list [EMAIL PROTECTED] http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams
