From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/supertux: needs gcc >= 6
Date: Wed, 16 Jan 2019 21:21:27 +0100 [thread overview]
Message-ID: <87won49wvs.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20181229123120.30803-1-romain.naour@gmail.com> (Romain Naour's message of "Sat, 29 Dec 2018 13:31:20 +0100")
>>>>> "Romain" == Romain Naour <romain.naour@gmail.com> writes:
> The initial build issue [1] has been fixed upstream but the supertux
> fail to link with boost libraries when using gcc 5 (which use C++11 by default):
> libsupertux2_lib.a(main.cpp.o): In function `boost::system::error_category::std_category::equivalent(std::error_code const&, int) const':
> main.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x32): undefined reference to `boost::system::detail::generic_category_instance'
> main.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x47): undefined reference to `boost::system::detail::generic_category_instance'
> main.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x99): undefined reference to `boost::system::detail::generic_category_instance'
> libsupertux2_lib.a(main.cpp.o): In function `boost::system::error_category::std_category::equivalent(int, std::error_condition const&) const':
> main.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x33): undefined reference to `boost::system::detail::generic_category_instance'
> main.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x48): undefined reference to `boost::system::detail::generic_category_instance'
> collect2: error: ld returned 1 exit status
> This is a similar issue as the one reported by [2].
> With gcc 5, boost libraries are compiled using C++11 but
> supertux2_lib.a is using C++14 standard.
> To fix the issue, boost libraries should be build using C++14
> standard but we currently don't have an option to "force" the
> default C++ standard used by the compiler.
> So bump the minimum gcc version to gcc 6 since the C++14 is
> used by default.
> [1] https://github.com/SuperTux/supertux/issues/1014
> [2] https://github.com/boostorg/system/issues/26
> Fixes:
> http://autobuild.buildroot.net/results/5b4/5b452c155917d783b3d8167fde48c2c938a74b95
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
Committed, thanks.
--
Bye, Peter Korsgaard
prev parent reply other threads:[~2019-01-16 20:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-29 12:31 [Buildroot] [PATCH] package/supertux: needs gcc >= 6 Romain Naour
2019-01-16 20:21 ` Peter Korsgaard [this message]
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=87won49wvs.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--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