Summary:ASTERISK-15937: [patch] OSARCH in GNU/kFreeBSD
Reporter:Tzafrir Cohen (tzafrir)Labels:
Date Opened:2010-04-10 07:37:48Date Closed:2011-07-26 15:21:46
Versions:Frequency of
Environment:Attachments:( 0) kfreebsd.diff
Description:Debian has recently aquired the extra port of GNU/kFreeBSD. That is: complete GNU ("linux-like") userspace on a FreeBSD kernel. Specifically, glibc is used rather than the FreeBSD libc.

Specifcally, I just tried a partial run of the configure script on such a machine, and I get:

host_os = <kfreebsd8.0-gnu>
OSARCH = <kfreebsd8.0-gnu>

However from 'grep OSARCH Makefile* */Makefile*' I get many places where OSARCH is tested to be linux-gnu:

 ifeq ($(OSARCH),linux-gnu)

There's a single

 main/Makefile:ifneq ($(findstring $(OSARCH), linux-gnu uclinux linux-uclibc linux-gnueabi ),)

I don't have time right now to test all of those, so I leave it as an open bug for now.


For more information:

Comments:By: Tzafrir Cohen (tzafrir) 2011-05-10 20:27:52

I should also note that the bootstrap script fails on my test Debian kFreeBSD system, as I don't have autoconf-2.62 there. I fixed this for not by removing
the case there for '*BSD'.

By: Leif Madsen (lmadsen) 2011-07-26 15:21:41.775-0500

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.  Further information can be found at http://www.asterisk.org/developers/bug-guidelines