(usagi-users 03864) Re: sparc64 and mip6d

Alexander Clouter <[email protected]> Sat, 23 Jun 2007 16:23:52 +0100
Newsgroups gmane.linux.ipv6.usagi.users
Organization diGriz
Message-ID <[email protected]>
Hi,

To further update you all...

Alexander Clouter <[email protected]> [20070623 03:06:32 +0100]:
>
> [snipped]
>
> I can get the daemon to run fine[1] on the MN (a i386 laptop running Debian 
> Unstable) but the HA (sparc64 running Debian Etch) fires up with a 'Bus 
> Error' and dies less than gracefully; bombs straight out.  Thats when 
> compiled with '-g -O2'.  If I compile with '-g -O0' then mip6d fails but 
> gracefully exits stating it cannot add the policy.
> 
Well found out that compiling mip6d with gcc 4.1 on my sparc[1] it comes up 
with a bus error but when using gcc 3.4[2] things are fine.  Annoying when 
running the gcc 4.1 compiled code through gdb/strace or removing -O2 and 
replacing with -O0 removed the problem. Just to sweeten the deal using gcc 
4.1 on i386[3] works fine also :-/

Best decribed by the words of Martin Pitt[4], "Yay Heisenbugs. :-/".

Anyway, now I'm just down to the 'Failed to add policy' errors.  Any ideas, 
I'm assuming a configuration issue now...

Cheers

Alex

[1] gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
[2] gcc version 3.4.6 (Debian 3.4.6-5)
[3] gcc version 4.1.3 20070601 (prerelease) (Debian 4.1.2-12)
[4] http://archives.postgresql.org/pgsql-bugs/2005-10/msg00118.php

-- 
 ______________________________________
/ Words have a longer life than deeds. \
|                                      |
\ -- Pindar                            /
 --------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGfTsINv5Ugh/sRBYRAlawAKCXFj5wI/5lUsBJ0oVYxT5uSekhJwCeJF7V
CjDGMVcJdfmhqyK4KWkBMR8=
=Q579
-----END PGP SIGNATURE-----