public inbox for gentoo-bsd@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-bsd] linux binaries
@ 2006-06-29 17:27 Artem Gr
  2006-06-29 18:17 ` François Saint-Jacques
  0 siblings, 1 reply; 5+ messages in thread
From: Artem Gr @ 2006-06-29 17:27 UTC (permalink / raw
  To: gentoo-bsd

There is a lot of linux binaries, for whose it is often troublesome or 
impossible to compile a FreeBSD counterpart. For example, there is the 
Java beta builds or NetBeans and Eclipse java dynamic libraries. Linux 
compatibility in FreeBSD is inferior to run these, for example, Java is 
known to crash the FreeBSD system when running in linux compatibility 
mode, and there is no plans i've heard of to support NPTL threads in 
FreeBSD linux emulation.
My question is:
a) Does Gentoo under FreeBSD compiles the standard Linux libc there, 
that is, do we have linux libc which talks directly to FreeBSD kernel, 
and not to the FreeBSD linux kernel emulation?
b) If so, is it possible to compile libc with NPTL support under 
Gentoo/FreeBSD?
c) Is it possible to run Linux binaries under Gentoo/FreeBSD, having 
them linked to Gentoo=Linux libc, but using FreeBSD (and not linux 
emulation) kernel?
-- 
gentoo-bsd@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-bsd] linux binaries
  2006-06-29 17:27 [gentoo-bsd] linux binaries Artem Gr
@ 2006-06-29 18:17 ` François Saint-Jacques
  2006-06-29 18:43   ` James Colannino
  0 siblings, 1 reply; 5+ messages in thread
From: François Saint-Jacques @ 2006-06-29 18:17 UTC (permalink / raw
  To: gentoo-bsd

I'm not sure if this is correct, but FreeBSD's glibc is not the same  
as GNU-glibc. Like the entire userland, it was developped by the  
FreeBSD dev-team. This means that there is no NTPL in this version of  
glibc because it's not the same sources as the GNU-glibc on Linux.  
This is due to the fact that glibc depends mostly on kernel calls  
wich are not the same on the FreeBSD kernel vs Linux.

Like I said, I could be totaly wrong.

Frank



Le 06-06-29 à 13:27, Artem Gr a écrit :

> There is a lot of linux binaries, for whose it is often troublesome  
> or impossible to compile a FreeBSD counterpart. For example, there  
> is the Java beta builds or NetBeans and Eclipse java dynamic  
> libraries. Linux compatibility in FreeBSD is inferior to run these,  
> for example, Java is known to crash the FreeBSD system when running  
> in linux compatibility mode, and there is no plans i've heard of to  
> support NPTL threads in FreeBSD linux emulation.
> My question is:
> a) Does Gentoo under FreeBSD compiles the standard Linux libc  
> there, that is, do we have linux libc which talks directly to  
> FreeBSD kernel, and not to the FreeBSD linux kernel emulation?
> b) If so, is it possible to compile libc with NPTL support under  
> Gentoo/FreeBSD?
> c) Is it possible to run Linux binaries under Gentoo/FreeBSD,  
> having them linked to Gentoo=Linux libc, but using FreeBSD (and not  
> linux emulation) kernel?
> -- 
> gentoo-bsd@gentoo.org mailing list
>


-- 
gentoo-bsd@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-bsd] linux binaries
  2006-06-29 18:17 ` François Saint-Jacques
@ 2006-06-29 18:43   ` James Colannino
  2006-06-29 19:31     ` François Saint-Jacques
  0 siblings, 1 reply; 5+ messages in thread
From: James Colannino @ 2006-06-29 18:43 UTC (permalink / raw
  To: gentoo-bsd

François Saint-Jacques wrote:
> I'm not sure if this is correct, but FreeBSD's glibc is not the same as
> GNU-glibc. Like the entire userland, it was developped by the FreeBSD
> dev-team. This means that there is no NTPL in this version of glibc
> because it's not the same sources as the GNU-glibc on Linux. This is due
> to the fact that glibc depends mostly on kernel calls wich are not the
> same on the FreeBSD kernel vs Linux.

I believe that it's not even referred to as glibc but rather as libc
(the g prefix is usually present on *BSD to denote GNU developed
software; gmake as opposed to make for example.)

James
-- 
gentoo-bsd@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-bsd] linux binaries
  2006-06-29 18:43   ` James Colannino
@ 2006-06-29 19:31     ` François Saint-Jacques
  2006-06-29 23:13       ` [gentoo-bsd] " Artem Gr
  0 siblings, 1 reply; 5+ messages in thread
From: François Saint-Jacques @ 2006-06-29 19:31 UTC (permalink / raw
  To: gentoo-bsd

Thanks for the clarification. Taking this in consideration, I don't  
think glibc will not compiled on FreeBSD without patching it.

Frank


Le 06-06-29 à 14:43, James Colannino a écrit :

> François Saint-Jacques wrote:
>> I'm not sure if this is correct, but FreeBSD's glibc is not the  
>> same as
>> GNU-glibc. Like the entire userland, it was developped by the FreeBSD
>> dev-team. This means that there is no NTPL in this version of glibc
>> because it's not the same sources as the GNU-glibc on Linux. This  
>> is due
>> to the fact that glibc depends mostly on kernel calls wich are not  
>> the
>> same on the FreeBSD kernel vs Linux.
>
> I believe that it's not even referred to as glibc but rather as libc
> (the g prefix is usually present on *BSD to denote GNU developed
> software; gmake as opposed to make for example.)
>
> James
> -- 
> gentoo-bsd@gentoo.org mailing list
>


-- 
gentoo-bsd@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-bsd] Re: linux binaries
  2006-06-29 19:31     ` François Saint-Jacques
@ 2006-06-29 23:13       ` Artem Gr
  0 siblings, 0 replies; 5+ messages in thread
From: Artem Gr @ 2006-06-29 23:13 UTC (permalink / raw
  To: gentoo-bsd

François Saint-Jacques wrote:
> Thanks for the clarification. Taking this in consideration, I don't 
> think glibc will not compiled on FreeBSD without patching it.
> 
> Frank

Yeah. But i've suspected that the glibc is somehow portable and that 
Gentoo/BSD team might have been managed to port it.

Looking back, i see that my question was a silly one. It would've 
require a Linux kernel emulation layer, Linux linker and Linux /proc to 
run a Linux binary anyhow. The only problem is that FreeBSD linux 
emulation is not as good as it might have been.
-- 
gentoo-bsd@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-06-29 23:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-29 17:27 [gentoo-bsd] linux binaries Artem Gr
2006-06-29 18:17 ` François Saint-Jacques
2006-06-29 18:43   ` James Colannino
2006-06-29 19:31     ` François Saint-Jacques
2006-06-29 23:13       ` [gentoo-bsd] " Artem Gr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox