Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [autobuild.buildroot.net] Build results for 2017-02-22
Date: Thu, 23 Feb 2017 18:16:55 +0100	[thread overview]
Message-ID: <20170223171655.GA3910@free.fr> (raw)
In-Reply-To: <20170223072850.D0F0B20BE0@mail.free-electrons.com>

All,

On 2017-02-23 08:28 +0100, Thomas Petazzoni spake thusly:
> Detail of failures
>          arm |           chocolate-doom-2.2.1 | NOK | http://autobuild.buildroot.net/results/3d3036d40ddad71d872d910aae7a24975706d2e9

This one is a long-standing issue:

  - this is a static build,
  - son SDL libraries linked to by chocolate-doom ars C++ libs,
  - one library (indirectly) linked to by chocolate-doom needs libz
  - chocolate-doom itself is written in C

So, chocolate-doom uses gcc to link, instead of g++. In so doing, it
bring in neither libstdc++.a nor libz.a

I did a quick hack to verify this, and added -lstdc++ and -lz to the SDL
Libs.Privte in sdl.pc, and the build suceeded.

For the C++ dependency, SDL unconditionally checks for a C++ compiler:

    AC_PROG_CXX

so we should probably add a dependency on C++ to SDL.

As for the the -lz, I'm still investigating...

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.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2017-02-23 17:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-23  7:28 [Buildroot] [autobuild.buildroot.net] Build results for 2017-02-22 Thomas Petazzoni
2017-02-23 17:16 ` Yann E. MORIN [this message]
2017-02-23 17:48   ` Thomas Petazzoni
2017-02-23 20:06     ` Yann E. MORIN
2017-02-23 20:20       ` Thomas Petazzoni
2017-02-23 20:28         ` Yann E. MORIN
2017-02-23 20:21       ` Yann E. MORIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170223171655.GA3910@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox