bird6 1.3.7 hangs on start on a Raspberry Pi
The config below causes bird6 to hang, without backgrounding, on my Raspberry Pi (model B). The same config on a vortex96sx system (also bird6-1.3.7 under Debian) causes bird6 to apparently start normally - at least it forks and returns. strace on the Pi shows a couple of sendmsg/recvmsg transactions (no errors), then silence. bird6's CPU usage pegs. How can I debug this further? -Eric ------------------------ bird6.conf ------------------- router id 0.0.0.2; protocol kernel { } protocol device { scan time 10; # Scan interfaces every 10 seconds } protocol static { } protocol ospf MyOSPF { area 0 { interface -"lo" { type broadcast; }; }; }
Hi, I had the same problem on my Rasperry Pi with any Bird version. The problem is that GCC breaks the list implementation while optimizing. You have to recompile bird without optimizations. Fritz.
On Sun, Jan 13, 2013 at 06:27:33PM +0000, Fritz Grimpen wrote:
Hi,
I had the same problem on my Rasperry Pi with any Bird version. The problem is that GCC breaks the list implementation while optimizing. You have to recompile bird without optimizations.
Hello Could you check if your problems with lists happen when compiled with -O2 -fno-strict-aliasing GCC options? -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
On Thu, Jan 17, 2013 at 07:19:57PM +0000, Fritz Grimpen wrote:
On Thu, 17 Jan 2013 13:36:05 +0100 Ondrej Zajicek <santiago@crfreenet.org> wrote:
Could you check if your problems with lists happen when compiled with -O2 -fno-strict-aliasing GCC options?
That fixes the problem too, at least under 1.3.9. Can you send me your nest/iface.o once compiled with
-O2 -fno-strict-aliasing -g and once with -O2 -g please? Uwe
CFLAGS="-O2 -fno-strict-aliasing -g" http://files.grimpen.net/fritz/bird-iface-no-strict-aliasing.o CFLAGS="-O2 -g" http://files.grimpen.net/fritz/bird-iface.o Fritz.
participants (4)
-
Eric Buddington -
Fritz Grimpen -
Ondrej Zajicek -
Uwe Kleine-König