Re: 32/64bit KSE issues?
Daniel Eischen writes: | On Sat, 31 Mar 2007, John Baldwin wrote: | On Saturday 31 March 2007 03:16, Andriy Gapon wrote: | on 31/03/2007 05:23 Daniel Eischen said the following: | On Fri, 30 Mar 2007, David E. Cross wrote: | | I recently ran into a problem where the 32bit JVM won't run on a 64bit host. | I, and at least one other person in -java thinks it has to do with 32 bit KSE | on a 64bit kernel (I have a vague memory on this somewheres WAY back). Is | this still the issue? Could someone point me in the general direction of the | specifics of the problem (if they exist, if not, I may try to create a | simpler test case then java)? | | I tried a few searches, but nothing matching what I remembered came up. | | No, you can't run 32-bit libpthread on 64-bit kernel. There | are no compatiblity hooks in the kernel to handle 32-bit kse | interfaces. It is really too messy to provide it. | | [ ... ] | | I plan on making sure full 32-bit compat exists for both libthr and | libpthread and backporting it to 6.x for work. Very few things are | too hard to wrap with a 32-bit shim. | | Not according to peter@ ;-) But if you can do it, that'd be | great. I MFC'ed David Xu's libthr to 6.X at work and it's working. libkse will be a lot harder IMHO. David's stuff in -current just works. I routinely run 32bit thread stuff on 64bit hosts using the libmap32.conf trick to switch from kse to libthr. Thanks to David for making it work in -current. Doug A. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 32/64bit KSE issues?
on 31/03/2007 05:23 Daniel Eischen said the following: On Fri, 30 Mar 2007, David E. Cross wrote: I recently ran into a problem where the 32bit JVM won't run on a 64bit host. I, and at least one other person in -java thinks it has to do with 32 bit KSE on a 64bit kernel (I have a vague memory on this somewheres WAY back). Is this still the issue? Could someone point me in the general direction of the specifics of the problem (if they exist, if not, I may try to create a simpler test case then java)? I tried a few searches, but nothing matching what I remembered came up. No, you can't run 32-bit libpthread on 64-bit kernel. There are no compatiblity hooks in the kernel to handle 32-bit kse interfaces. It is really too messy to provide it. Daniel, maybe you can send a followup to the following ? http://www.freebsd.org/cgi/query-pr.cgi?pr=110655 Given that 32-bit libthr also doesn't work on 64-bit kernel, the only option is to map thread libs to libc_r via libmap32.conf. BTW, next time there is a poll about retiring libc_r please count me against for precisely this reason. -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 32/64bit KSE issues?
David E. Cross wrote: I recently ran into a problem where the 32bit JVM won't run on a 64bit host. I, and at least one other person in -java thinks it has to do with 32 bit KSE on a 64bit kernel (I have a vague memory on this somewheres WAY back). Is this still the issue? Could someone point me in the general direction of the specifics of the problem (if they exist, if not, I may try to create a simpler test case then java)? I tried a few searches, but nothing matching what I remembered came up. The KSE system calls have not been emulated in the 32 bit emulation layer. it tries to save a 64 bit stack frame where it needs to save a 32 bit stack frame. try run libthr for now. fixing the emulation layer is in my to do list but I'm busy with RealWork (TM) ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 32/64bit KSE issues?
On Saturday 31 March 2007 03:16, Andriy Gapon wrote: on 31/03/2007 05:23 Daniel Eischen said the following: On Fri, 30 Mar 2007, David E. Cross wrote: I recently ran into a problem where the 32bit JVM won't run on a 64bit host. I, and at least one other person in -java thinks it has to do with 32 bit KSE on a 64bit kernel (I have a vague memory on this somewheres WAY back). Is this still the issue? Could someone point me in the general direction of the specifics of the problem (if they exist, if not, I may try to create a simpler test case then java)? I tried a few searches, but nothing matching what I remembered came up. No, you can't run 32-bit libpthread on 64-bit kernel. There are no compatiblity hooks in the kernel to handle 32-bit kse interfaces. It is really too messy to provide it. Daniel, maybe you can send a followup to the following ? http://www.freebsd.org/cgi/query-pr.cgi?pr=110655 Given that 32-bit libthr also doesn't work on 64-bit kernel, the only option is to map thread libs to libc_r via libmap32.conf. BTW, next time there is a poll about retiring libc_r please count me against for precisely this reason. I plan on making sure full 32-bit compat exists for both libthr and libpthread and backporting it to 6.x for work. Very few things are too hard to wrap with a 32-bit shim. -- John Baldwin ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 32/64bit KSE issues?
On Sat, 31 Mar 2007, John Baldwin wrote: On Saturday 31 March 2007 03:16, Andriy Gapon wrote: on 31/03/2007 05:23 Daniel Eischen said the following: On Fri, 30 Mar 2007, David E. Cross wrote: I recently ran into a problem where the 32bit JVM won't run on a 64bit host. I, and at least one other person in -java thinks it has to do with 32 bit KSE on a 64bit kernel (I have a vague memory on this somewheres WAY back). Is this still the issue? Could someone point me in the general direction of the specifics of the problem (if they exist, if not, I may try to create a simpler test case then java)? I tried a few searches, but nothing matching what I remembered came up. No, you can't run 32-bit libpthread on 64-bit kernel. There are no compatiblity hooks in the kernel to handle 32-bit kse interfaces. It is really too messy to provide it. [ ... ] I plan on making sure full 32-bit compat exists for both libthr and libpthread and backporting it to 6.x for work. Very few things are too hard to wrap with a 32-bit shim. Not according to peter@ ;-) But if you can do it, that'd be great. -- DE ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
32/64bit KSE issues?
I recently ran into a problem where the 32bit JVM won't run on a 64bit host. I, and at least one other person in -java thinks it has to do with 32 bit KSE on a 64bit kernel (I have a vague memory on this somewheres WAY back). Is this still the issue? Could someone point me in the general direction of the specifics of the problem (if they exist, if not, I may try to create a simpler test case then java)? I tried a few searches, but nothing matching what I remembered came up. -- David E. Cross ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 32/64bit KSE issues?
On Fri, 30 Mar 2007, David E. Cross wrote: I recently ran into a problem where the 32bit JVM won't run on a 64bit host. I, and at least one other person in -java thinks it has to do with 32 bit KSE on a 64bit kernel (I have a vague memory on this somewheres WAY back). Is this still the issue? Could someone point me in the general direction of the specifics of the problem (if they exist, if not, I may try to create a simpler test case then java)? I tried a few searches, but nothing matching what I remembered came up. No, you can't run 32-bit libpthread on 64-bit kernel. There are no compatiblity hooks in the kernel to handle 32-bit kse interfaces. It is really too messy to provide it. -- DE ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]