Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Nov 2009 12:48:04 -0800
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        freebsd-current@freebsd.org, kde@freebsd.org, freebsd-ia64@freebsd.org
Subject:   Re: QMutex: mutex destroy failure: Device busy -> Seg fault in ports/x11/kdebase4-workspace
Message-ID:  <3A2818E0-70DE-4837-9E47-08FFDF74072D@mac.com>
In-Reply-To: <20091109132113.GA71911@mech-cluster241.men.bris.ac.uk>
References:  <20091109132113.GA71911@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary_(ID_2xJVi1Urv/LNNp56ChrsuA)
Content-Type: text/plain; charset="us-ascii"; format=flowed
Content-Transfer-Encoding: 7BIT


On Nov 9, 2009, at 5:21 AM, Anton Shterenlikht wrote:

> On ia64 HEAD while building x11/kdebase4-workspace
> I get lots of messages similar to:
>
> 	QWaitCondition: mutex destroy failure: Device busy
> 	QMutex: mutex destroy failure: Device busy
>
> culminating in this error:
>
>
> [skip]
>
>
> Linking CXX shared module ../../lib/kgreet_generic.so
> [ 10%] Built target kgreet_generic
> [ 10%] Generating org.kde.Kephal.Screens.xml
> QMutex: mutex destroy failure: Device busy
> [ 10%] Generating org.kde.Kephal.Outputs.xml
> [ 10%] Generating org.kde.Kephal.Configurations.xml
> Segmentation fault (core dumped)
> *** Error code 139
> 1 error
> *** Error code 2
> Linking CXX shared module ../../lib/kgreet_winbind.so
> [ 10%] Built target kgreet_winbind
> 1 error
> *** Error code 2
> 1 error
> *** Error code 1
>
> Stop in /usr/ports/x11/kdebase4-workspace.
> *** Error code 1
>
>
> Please advise
> anton

This is most likely a compiler bug. Just restart the build.
I noticed some instability as well, but when restarting it
would always move past the original problem.

Please do not override compiler options. Just keep the default
for now.

> PS. I don't really need KDE at all. But Marcel reports that
> konqueror seems to be working. So I just want to build this.

I have some outstanding patches, you may want to apply.
See attached.

> At present there's no
> secure graphical web browser for ia64. Until recently
> kazehakase was working. But now it doesn't, because security/nss
> doesn't build. And firefox doesn't build because of broken xpcom..

Firefox used to build. I'll see up with that...

-- 
Marcel Moolenaar
xcllnt@mac.com



--Boundary_(ID_2xJVi1Urv/LNNp56ChrsuA)
Content-Type: application/octet-stream; name="ports.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="ports.diff"

Index: lang/guile/files/patch-libguile_gc.c
===================================================================
RCS file: lang/guile/files/patch-libguile_gc.c
diff -N lang/guile/files/patch-libguile_gc.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ lang/guile/files/patch-libguile_gc.c	21 Aug 2009 14:35:43 -0000
@@ -0,0 +1,23 @@
+--- libguile/gc.c.orig	2008-12-08 09:42:54.000000000 -0800
++++ libguile/gc.c	2009-08-20 22:55:11.000000000 -0700
+@@ -1060,6 +1060,20 @@
+   return (void *) ctx->uc_mcontext.sc_ar_bsp;
+ }
+ # endif	/* linux */
++# ifdef __FreeBSD__
++#  include <ucontext.h>
++void *
++scm_ia64_register_backing_store_base (void)
++{
++  return (void *)0x8000000000000000;
++}
++void *
++scm_ia64_ar_bsp (const void *opaque)
++{
++  const ucontext_t *ctx = opaque;
++  return (void *)(ctx->uc_mcontext.mc_special.bspstore + ctx->uc_mcontext.mc_special.ndirty);
++}
++# endif /* __FreeBSD__ */
+ #endif /* __ia64__ */
+ 
+ void
Index: lang/ocaml/Makefile
===================================================================
RCS file: /home/ncvs/ports/lang/ocaml/Makefile,v
retrieving revision 1.65
diff -u -r1.65 Makefile
--- lang/ocaml/Makefile	29 Jun 2009 10:46:44 -0000	1.65
+++ lang/ocaml/Makefile	30 Sep 2009 01:12:49 -0000
@@ -81,7 +81,7 @@
 			-tklibs "-L${LOCALBASE}/lib ${THR_LD}"
 .endif
 
-.if ${ARCH} == sparc64 || ${ARCH} == ia64
+.if ${ARCH} == sparc64
 BROKEN=	ocamlc.opt seg-faults on ${ARCH}, please try to fix
 .endif
 
Index: math/cln/Makefile
===================================================================
RCS file: /home/ncvs/ports/math/cln/Makefile,v
retrieving revision 1.40
diff -u -r1.40 Makefile
--- math/cln/Makefile	27 Sep 2009 21:42:41 -0000	1.40
+++ math/cln/Makefile	1 Oct 2009 02:43:30 -0000
@@ -39,8 +39,8 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == "sparc64" || ${ARCH} == "ia64"
-BROKEN=		Does not compile on sparc64 or ia64
+.if ${ARCH} == "sparc64"
+BROKEN=		Does not compile on sparc64
 .endif
 
 post-patch:
Index: science/openbabel/Makefile
===================================================================
RCS file: /home/ncvs/ports/science/openbabel/Makefile,v
retrieving revision 1.27
diff -u -r1.27 Makefile
--- science/openbabel/Makefile	7 Oct 2009 21:11:39 -0000	1.27
+++ science/openbabel/Makefile	9 Oct 2009 23:54:36 -0000
@@ -30,10 +30,6 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == "ia64"
-BROKEN=		does not compile on ia64 (gcc internal error)
-.endif
-
 post-extract:
 	@${LN} -sf babel.1 ${WRKSRC}/doc/openbabel.1
 
Index: x11/xorg/Makefile
===================================================================
RCS file: /home/ncvs/ports/x11/xorg/Makefile,v
retrieving revision 1.28
diff -u -r1.28 Makefile
--- x11/xorg/Makefile	25 Aug 2009 04:42:54 -0000	1.28
+++ x11/xorg/Makefile	25 Sep 2009 05:01:15 -0000
@@ -18,7 +18,7 @@
 
 NO_BUILD=	yes
 
-RUN_DEPENDS+=	${LOCALBASE}/lib/dri/r128_dri.so:${PORTSDIR}/graphics/dri
+RUN_DEPENDS+=	${LOCALBASE}/libdata/pkgconfig/dri.pc:${PORTSDIR}/graphics/dri
 
 # data
 RUN_DEPENDS+=	${LOCALBASE}/libdata/pkgconfig/xbitmaps.pc:${PORTSDIR}/x11/xbitmaps \
Index: x11-drivers/xf86-video-openchrome/Makefile
===================================================================
RCS file: /home/ncvs/ports/x11-drivers/xf86-video-openchrome/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- x11-drivers/xf86-video-openchrome/Makefile	29 May 2009 03:53:34 -0000	1.13
+++ x11-drivers/xf86-video-openchrome/Makefile	27 Oct 2009 05:22:08 -0000
@@ -22,6 +22,6 @@
 
 MAKE_ARGS+=	drivermandir=${LOCALBASE}/man/man4
 
-ONLY_FOR_ARCHS=	amd64 i386
+ONLY_FOR_ARCHS=	amd64 i386 ia64
 
 .include <bsd.port.mk>

--Boundary_(ID_2xJVi1Urv/LNNp56ChrsuA)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
--Boundary_(ID_2xJVi1Urv/LNNp56ChrsuA)--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A2818E0-70DE-4837-9E47-08FFDF74072D>