Arnaud Houdelette
2013-Jul-24 08:51 UTC
java (openjdk6) segfaults when built with 9-stable clang
Hi I recently upgraded my home NAS from 9.1-RELEASE to 9-stable (r253470 (9.2-BETA1)) I also upgraded my poudriere building jail. Since then, multimedia/xbmc port fails to build in configure stage : java segfaults (sig11). I use WITH_CLANG_IS_CC=YES, for world and build-jails. I found following workarounds: - use previously (with 9.1-RELEASE world and clang) build openjdk6 pkg (same version). - use USE_GCC=YES for java port. It's the only one place I use java (openjdk6-b27_4). So I cannot say if java works otherwise. Is this a java or clang bug ? Should I open a PR ?
Arnaud Houdelette
2013-Jul-25 20:04 UTC
java (openjdk6) segfaults when built with 9-stable clang
On 24/07/2013 10:51, Arnaud Houdelette wrote:> Hi > > I recently upgraded my home NAS from 9.1-RELEASE to 9-stable (r253470 > (9.2-BETA1)) > > I also upgraded my poudriere building jail. Since then, > multimedia/xbmc port fails to build in configure stage : java > segfaults (sig11). > I use WITH_CLANG_IS_CC=YES, for world and build-jails. > > I found following workarounds: > - use previously (with 9.1-RELEASE world and clang) build openjdk6 > pkg (same version). > - use USE_GCC=YES for java port. > > It's the only one place I use java (openjdk6-b27_4). So I cannot say > if java works otherwise. > > Is this a java or clang bug ? > > Should I open a PR ? >Solved in openjdk6-b27_6. See http://lists.freebsd.org/pipermail/freebsd-ports/2013-July/085074.html regards, Arnaud
Baptiste Daroussin
2013-Jul-25 22:05 UTC
java (openjdk6) segfaults when built with 9-stable clang
On Wed, Jul 24, 2013 at 10:51:00AM +0200, Arnaud Houdelette wrote:> Hi > > I recently upgraded my home NAS from 9.1-RELEASE to 9-stable (r253470 > (9.2-BETA1)) > > I also upgraded my poudriere building jail. Since then, multimedia/xbmc > port fails to build in configure stage : java segfaults (sig11). > I use WITH_CLANG_IS_CC=YES, for world and build-jails. > > I found following workarounds: > - use previously (with 9.1-RELEASE world and clang) build openjdk6 pkg > (same version). > - use USE_GCC=YES for java port. > > It's the only one place I use java (openjdk6-b27_4). So I cannot say if > java works otherwise. > > Is this a java or clang bug ? >Here is the bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6636110 Fixed in b27_6 regards, Bapt -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20130726/64f9b4a2/attachment.sig>
Patrick Lamaiziere
2013-Aug-02 12:15 UTC
java (openjdk6) segfaults when built with 9-stable clang
Le Fri, 26 Jul 2013 00:05:50 +0200, Baptiste Daroussin <bapt at FreeBSD.org> a ?crit : Hi all, Baptiste,> > Hi > > > > I recently upgraded my home NAS from 9.1-RELEASE to 9-stable > > (r253470 (9.2-BETA1)) > > > > I also upgraded my poudriere building jail. Since then, > > multimedia/xbmc port fails to build in configure stage : java > > segfaults (sig11). I use WITH_CLANG_IS_CC=YES, for world and > > build-jails. > > > > I found following workarounds: > > - use previously (with 9.1-RELEASE world and clang) build > > openjdk6 pkg (same version). > > - use USE_GCC=YES for java port. > > > > It's the only one place I use java (openjdk6-b27_4). So I cannot > > say if java works otherwise. > > > > Is this a java or clang bug ? > > > > Here is the bug > > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6636110 > > Fixed in b27_6Hmm, Isn't Openjdk7 affected too ? http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=2219304 Someone complains on the FreeBSD forums for openjdk7, I think it needs to be patched too. http://forums.freebsd.org/showthread.php?t=41181 Thanks, regards,