All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] Bug during Kodi compile with host gcc <4.7, question regarding autobuilders
Date: Sun, 13 Mar 2016 23:19:50 +0100	[thread overview]
Message-ID: <56E5E786.1090906@mind.be> (raw)
In-Reply-To: <934hrcx7vo.ln2@ID-313208.user.individual.net>

On 03/13/16 22:53, Bernd Kuhls wrote:
> Hi,
>
> before sending a patch which fixes a problem with host gcc < 4.7 I would
> like to ask whether this patch is needed at all. Are there autobuilders
> where the host version of gcc is < 4.7?

  Well, RHEL6 has gcc 4.4, and ideally we'd like to support RHEL5 as well (many 
companies are still based on it).

  But we have a simple solution now: kodi depends on BR2_HOST_GCC_AT_LEAST_4_7. 
Cfr. nodejs for instance, which faces the same problem.

  Regards,
  Arnout

>
> While testing Kodi compilation using buildroot master this error occurs:
>
> cc1plus: error: unrecognized command line option '-std=c++11'
> make[4]: *** [md5.o] Error 1
> make[4]: *** Waiting for unfinished jobs....
> cc1plus: error: unrecognized command line option '-std=c++11'cc1plus:
> error: unrecognized command line option '-std=c++11'
>
> make[4]: *** [DecoderManager.o] Error 1
> make[4]: *** [XBTFWriter.o] Error 1
> cc1plus: error: unrecognized command line option '-std=c++11'
> make[4]: *** [TexturePacker.o] Error 1
> cc1plus: error: unrecognized command line option '-std=c++11'
> make[4]: *** [decoder/PNGDecoder.o] Error 1
> make[3]: *** [all] Error 2
> make[2]: *** [native/TexturePacker] Error 2
> make[1]: *** [/home/fli4l/buildroot/output/build/kodi-16.0-
> Jarvis/.stamp_configured] Error 2
>
> while the host version of TexturePacker is compiled during autoreconf on
> Ubuntu 12.04.5 with "gcc-Version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)".
>
> To fix the problem change "-std=c++11" to "-std=c++0x" in tools/depends/
> native/TexturePacker/src/Makefile.am.
>
> To reproduce the bug use this defconfig:
>
> BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
> BR2_TOOLCHAIN_BUILDROOT_CXX=y
> BR2_PACKAGE_KODI=y
> BR2_PACKAGE_MESA3D=y
> BR2_PACKAGE_MESA3D_DRI_DRIVER_I965=y
> BR2_PACKAGE_XORG7=y
>
> Regards, Bernd
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

  reply	other threads:[~2016-03-13 22:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-13 21:53 [Buildroot] Bug during Kodi compile with host gcc <4.7, question regarding autobuilders Bernd Kuhls
2016-03-13 22:19 ` Arnout Vandecappelle [this message]
2016-03-14 13:31   ` Peter Korsgaard
2016-03-14 13:42     ` Thomas Petazzoni
2016-03-14 19:23   ` Bernd Kuhls
2016-03-14 22:05     ` Thomas Petazzoni
2016-03-15 22:08       ` Yann E. MORIN
2016-03-17 20:54       ` Bernd Kuhls

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=56E5E786.1090906@mind.be \
    --to=arnout@mind.be \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.