On Fri 05 Jan 2001, Ron Farrer wrote: > Anthony Towns ([email protected]) wrote: > > > Like the subject says; if I build ifupdown (0.6.4-1) on alpha with -O2 > > it breaks, if I build it with -O0, it's fine. With -O2, trying to trace > > what's going on with gdb doesn't seem to work (it jumps all over the > > place, fairly meaninglessly).
> I haven't looked at this (yet?), but I would guess it to be more bugs > in gcc 2.95 we are using. If you look at the gcc 2.96 changelog you'll > see there are quite a few bug fixes, a lot of them on Alpha. We've > been plauged with bad gcc optimization on Alpha for about as long as I > can remember. > > If no one knows for sure, I may have time in the next couple of days > to play with it and see. Chris Chimelis ([EMAIL PROTECTED]) is the one > to talk to about gcc bugs on Alpha. I would say either don't use -O2 Note that Chris is busy moving house for a couple of weeks. I'm trying to keep up with building packages for the time being. > (duh) or use a different gcc (probably not gonna happen anytime soon). I've just built ifupdown 0.6.4-2, and tested it with Anthony's interfaces.tst file, and it gives the following output: Configuring interface lo=lo (inet) run-parts /etc/network/if-pre-up.d ifconfig lo 127.0.0.1 up run-parts /etc/network/if-up.d Configuring interface eth0=eth0 (inet) run-parts /etc/network/if-pre-up.d ifconfig eth0 10.254.0.104 netmask 255.255.255.0 broadcast 10.254.0.255 up route add default gw 10.254.0.254 eth0 run-parts /etc/network/if-up.d Configuring interface eth2=eth2 (inet) run-parts /etc/network/if-pre-up.d ifconfig eth2 192.168.115.1 netmask 255.255.255.0 up run-parts /etc/network/if-up.d Configuring interface eth3=eth3 (inet) run-parts /etc/network/if-pre-up.d ifconfig eth3 192.168.116.1 netmask 255.255.255.0 up run-parts /etc/network/if-up.d Configuring interface eth4=eth4 (inet) run-parts /etc/network/if-pre-up.d ifconfig eth4 192.168.117.1 netmask 255.255.255.0 up run-parts /etc/network/if-up.d It looks OK to me, so I've uploaded it. I didn't do anything special (i.e. it's compiled with -O2). Paul Slootman -- home: [EMAIL PROTECTED] http://www.wurtel.demon.nl/ work: [EMAIL PROTECTED] http://www.murphy.nl/ debian: [EMAIL PROTECTED] http://www.debian.org/ isdn4linux: [EMAIL PROTECTED] http://www.isdn4linux.org/

