[Buildroot] [PATCH 2/6] package/libbsd: new package

Yann E. MORIN yann.morin.1998 at free.fr
Wed May 8 11:08:37 UTC 2013


Nathan, All,

On Tue, May 07, 2013 at 09:09:15PM -0500, Nathan Lynch wrote:
> On Sat, 2013-02-09 at 19:09 +0100, Yann E. MORIN wrote:
> > Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> > Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> > ---
> >  package/Config.in        |    1 +
> >  package/libbsd/Config.in |   10 ++++++++++
> >  package/libbsd/libbsd.mk |   21 +++++++++++++++++++++
> >  3 files changed, 32 insertions(+), 0 deletions(-)
> >  create mode 100644 package/libbsd/Config.in
> >  create mode 100644 package/libbsd/libbsd.mk
> 
> This is a few months old by now, but for what it's worth:
> 
> Acked-by: Nathan Lynch <ntl at pobox.com>

Thanks. :-)

> I happen to use libbsd for a mips target but hadn't gotten around to
> submitting it myself.
> 
> I see you've posted patches adding libbsd a few times over the last few
> months; it looks like it was related to your qemu efforts but not
> committed so far.  Are you still working on having it included?

Well, it's been two Buildroot Developpers' Day that we said this stuff
would be added upstream, so yes, it will eventually get upstreamed.

But I need to rework all the QEMU patches first, since there has been
two new versions released since I first started working on it.

As for the preliminary packages, I'll resubmit them shortly, but I'm
afraid they won't make it in this cycle, it's a bit too late. But if
people are interested (like you are), they can help poke Peter to speed
up inclusion when the next window opens (start of June, after 2013.05 is
released). ;-)

> Any ideas on this libbsd build error with mips (which seems to lack an
> a.out.h)?

No, sorry, never ever tried on MIPS. And indeed, MIPS does not install
a.out.h THere's only 4 archs exporting the a.out.h header: alpha, arm,
m68k and x86; all other archs supsedly do not support running a.out
executables, so there is no reason to export a.out.h for those archs.

> I've hacked around it locally by just hacking nlist.c out of
> the build, but that's not exactly satisfactory.

I've looked at how Debian builds libbsd, but they have strictly 0 patch
on libbsd, and yet they have a MIPS package. Weird...

Can you try to just remove the a.out.h include and see if it still
compiles? If not, then maybe we should patch configure.ac to check for
a.out.h, and src/Makefile.am to not add nlist.c to the build if a.out.h
is not found.

But I'm afraid nlist.c contains important functions that would be missed
by other packages, so the best is to somehow getrid of including a.out.h
in the first place.

Also, has libbsd upstream done something about it yet?

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'


More information about the buildroot mailing list