Subject: Re: pkg/28962: glib-2.6.1 fails test atomic-test on NetBSD/Sparc64
To: None <jmmv@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Gert Doering <gert@greenie.muc.de>
List: pkgsrc-bugs
Date: 02/16/2005 09:20:02
The following reply was made to PR pkg/28962; it has been noted by GNATS.

From: Gert Doering <gert@greenie.muc.de>
To: Frederick Bruckman <fredb@immanent.net>
Cc: Gert Doering <gert@greenie.muc.de>, gnats-bugs@netbsd.org
Subject: Re: pkg/28962: glib-2.6.1 fails test atomic-test on NetBSD/Sparc64
Date: Wed, 16 Feb 2005 10:19:34 +0100

 Hi,
 
 following up on this:
 
 On Sat, Jan 15, 2005 at 11:45:21PM -0600, Frederick Bruckman wrote:
 [..]
 > >checking whether to use assembler code for atomic operations... sparcv9
 > 
 > That's all I was going for with that patch. There must be a problem 
 > with the assembly language itself.
 
 I've seen that glib-2.6.2 is now in pkgsrc, and given it another try.
 
 No change, still core dumps in atomic-test.
 
 I've tested the "upstream source", and it has the same problem:
 
 ---------- snip ---------
 make  check-TESTS
 
 ** ERROR **: file atomic-test.c: line 53 (main): assertion failed: (g_atomic_pointer_compare_and_exchange (&atomic_pointer, NULL, biggest_pointer))
 aborting...
 [1]   Abort trap (core dumped) srcdir=. LIBCHAR...
 FAIL: atomic-test
 ---------- snip ---------
 
 so it's not a local issue in pkgsrc - I think I'll try to take it
 "upstream", and maybe one of the glibc2 developers will know how
 to fix it.
 
 gert
 -- 
 USENET is *not* the non-clickable part of WWW!
                                                            //www.muc.de/~gert/
 Gert Doering - Munich, Germany                             gert@greenie.muc.de
 fax: +49-89-35655025                        gert@net.informatik.tu-muenchen.de