List Info

Thread: Array




Array
user name
1969-12-31 18:00:00
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-bsdgentoo.org mailing list

Array
user name
1969-12-31 18:00:00
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-bsdgentoo.org mailing list
>


-- 
gentoo-bsdgentoo.org mailing list

Array
user name
1969-12-31 18:00:00
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-bsdgentoo.org mailing list

Array
user name
1969-12-31 18:00:00
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-bsdgentoo.org mailing list
>


-- 
gentoo-bsdgentoo.org mailing list

Array
user name
1969-12-31 18:00:00
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-bsdgentoo.org mailing list

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )