[Buildroot] [PATCH 5/5 v5] boot/systemd-boot: new package

Yann E. MORIN yann.morin.1998 at free.fr
Thu Dec 27 10:40:29 UTC 2018


James, All,

On 2018-12-27 03:13 -0600, James Hilliard spake thusly:
> On Thu, Dec 27, 2018 at 3:11 AM Yann E. MORIN <yann.morin.1998 at free.fr> wrote:
> > On 2018-12-27 03:07 -0600, James Hilliard spake thusly:
> > > On Thu, Dec 27, 2018 at 2:49 AM Yann E. MORIN <yann.morin.1998 at free.fr> wrote:
> > > > On 2018-12-26 19:27 -0600, James Hilliard spake thusly:
> > > > > On Wed, Dec 26, 2018 at 4:52 PM James Hilliard
> > > > > > > > meson.build:293:8: ERROR:  Unknown compiler(s):
> > > > > > > > [['/home/buildroot/buildroot/output/host/bin/i586-buildroot-linux-uclibc-g++']]
> > > > > > Upstream bug report https://github.com/systemd/systemd/issues/11278
> > > > > Potential fix: https://github.com/systemd/systemd/pull/11279
> > > > That unfortunately does not work:
> > > > ERROR: No specified compiler can handle file src/libsystemd/sd-bus/test-bus-vtable-cc.cc
> > > > But if you also add:
> > > >     -if cxx.found()
> > > >     +if cxx_cmd != ''
> > > > Then it works.
> > > Pushed that fix and one other I found, didn't realize cxx.found() was
> > > being used other places(I only tested that pull request against a c
> > > only cross toolchain).
> >
> > It worked for me without the hunk in src/systemd/meson.build. However,
> > for our case in Buildroot (just building systemd-boot standalone), we
> > don't need a 100% perfect patch, as long as it allows building.
> That patch I think is needed to build systemd itself when using a
> cross toolchain without c++, not just systemd-boot.

I can confirm that, without the hunk in src/systemd/meson.build, I was
able to build systemd with this defconfig:

    BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
    BR2_INIT_SYSTEMD=y

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