summaryrefslogtreecommitdiffstats
path: root/package/cc-tool
Commit message (Collapse)AuthorAgeFilesLines
* package/cc-tool: drop BR2_PACKAGE_BOOST_SIGNALS selectFabrice Fontaine2019-01-131-1/+0
| | | | | | | | | | | | | | | cc-tool depends on signals2 not signals, indeed only signals2 is used in src/data/progress_watcher.h and BOOST_SIGNALS defined in m4/boost.m4 is never used in configure.ac. There is no need to select any sort of BR2_PACKAGE_BOOST_SIGNALS2 option, as signals2 is a header-only boost library, and such header-only boost libraries do not have any Config.in options, as they are all always installed with the base boost library. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> [Thomas: tweak commit log] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* cc-tool: add patch fixing boost.m4 logic for static linkingThomas Petazzoni2017-08-231-0/+44
| | | | | | | | | | | | | This commit adds a patch to cc-tool that fixes the boost.m4 logic used to detect the linker rpath option so that it works properly with static linking and additional libraries passed in LIBS. This is the second step to fix static linking of cc-tool on architectures like SPARC that need to link against libatomic: http://autobuild.buildroot.net/results/ed9f2524d0ccef318ff1bc99e5dea980111de989/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cc-tool: pass -latomic in LIBSThomas Petazzoni2017-08-232-2/+53
| | | | | | | | | | | | | | | | Just like -lpthread was passed in LIBS, -latomic should also be passed in LIBS. In order for this to work, we however need to first fix cc-tool's Makefile.am so that it does not overwrite LIBS. This is the first part of fixing the build of cc-tool in a static linking scenario on SPARC, i.e to fix: http://autobuild.buildroot.net/results/ed9f2524d0ccef318ff1bc99e5dea980111de989/ The patch has been merged upstream, in https://github.com/dashesy/cc-tool/commit/553f9c601646af0c6e3f6150d0fa3bc63ff56416. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/cc-tool: link with libatomic when neededBernd Kuhls2017-07-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Detecting the boost program_options library is broken: checking for the Boost program_options library... no configure: error: cannot find the flags to link with Boost program_options config.log shows the reason, libatomic is missing: conftest.o: In function `boost::detail::sp_counted_base::release()': conftest.cpp:(.text._ZN5boost6detail15sp_counted_base7releaseEv[_ZN5boost6detail15sp_counted_base7releaseEv]+0xc): undefined reference to `__atomic_fetch_sub_4' conftest.cpp:(.text._ZN5boost6detail15sp_counted_base7releaseEv[_ZN5boost6detail15sp_counted_base7releaseEv]+0x38): undefined reference to `__atomic_fetch_sub_4' /home/buildroot/br4/output/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libboost_program_options.so: undefined reference to `__atomic_fetch_add_4' Please note that using LIBS=-latomic is not enough, although it fixes the configure check the bug reoccurs when linking cc-tool: CXXLD cc-tool src/application/cc_flasher.o: In function `boost::detail::sp_counted_base::weak_release()': cc_flasher.cpp:(.text._ZN5boost6detail15sp_counted_base12weak_releaseEv[_ZN5boost6detail15sp_counted_base12weak_releaseEv]+0xc): undefined reference to `__atomic_fetch_sub_4' We need to add -latomic to CXXFLAGS to both fix configure and linking. Fixes http://autobuild.buildroot.net/results/596/596f97364bb2c7598b0646da8160939356f0d2c6/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boost: remove BR2_PACKAGE_BOOST_ARCH_SUPPORTS optionThomas Petazzoni2016-05-171-2/+0
| | | | | | | | | | | | | | | | | The BR2_PACKAGE_BOOST_ARCH_SUPPORTS option was originally added in commit feeab03fa68a02733ae9382b7d47d9eb0d785188 to be able to disable Boost on broken NIOSII CodeSourcery toolchains. However, since then, the CodeSourcery toolchain has been updated, and once the fenv problem is fixed, this NIOSII toolchain is capable of building Boost. Thanks to this we can completely get rid of the BR2_PACKAGE_BOOST_ARCH_SUPPORTS symbol, from boost itself and from all its reverse dependencies. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/cc-tool: fix gcc 5 issueJörg Krause2015-07-282-0/+886
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The version of boost.m4 initially included in cc-tool has an issue with gcc5 (one of its tests fails due to the first change described in [1] "Preprocessor issues"). This was fixed upstream (boost.m4 project) in Nov 2014 [2]. We add the latest commit [3] of upstream boost.m4 plus a patch from github PR [4] to add detection for gcc 5.1. Fixes: http://autobuild.buildroot.net/results/a4c/a4c057e0b1ab6a2ffd69b27f6f5a79f98eb040f6/ [1] https://gcc.gnu.org/gcc-5/porting_to.html [2] https://github.com/tsuna/boost.m4/commit/32553aaf4d5090da19aa0ec33b936982c685009f [3] https://github.com/tsuna/boost.m4/commit/d9ff75b6af66360d76f46f469a26ab18e24e1030 [4] https://github.com/rubenk/boost.m4/commit/b879eb85f112cf054643d2e7f9544c230299c0b2 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/boost: boost-filesystem needs wcharJörg Krause2015-07-181-2/+3
| | | | | | | | | | | | | | | Also add reverse dependency for cc-tool. Fixes: http://autobuild.buildroot.net/results/2c7/2c7783b7f3cc28d54d15a7f017442c48244ffd8e/ http://autobuild.buildroot.net/results/2c7/2c7783b7f3cc28d54d15a7f017442c48244ffd8e/ http://autobuild.buildroot.net/results/0dd/0dd3ef96bbd034a41d908cdaa6552b27fda78132/ http://autobuild.buildroot.net/results/34b/34b55b2cd83fd5d87af4a9c15d05094b16ef3960/ and many more Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boost: disable on NIOS 2 with broken toolchainsThomas Petazzoni2015-05-161-0/+2
| | | | | | | | | | | | | | | | | | The current NIOS 2 toolchains are not capable of building Boost, so let's disable it and its reverse dependencies. Even though it's not strictly an architecture dependency, we use the <pkg>_ARCH_SUPPORTS paradigm for this dependency, since it simplifies a lot handling all boost reverse dependencies, and is anyway quite similar to an architecture dependency since we don't display a comment about this dependency. Fixes: http://autobuild.buildroot.net/results/e119b1ef55c546e0d0598b85c46ceefa5c43d5a6/ [Peter: also update mpd comment] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* cc-tool: fix static build problem with boost regexThomas Petazzoni2015-05-071-0/+6
| | | | | | | | | | | | The boost.m4 logic is a bit crappy, and needs some help to know that boost_regex needs the pthread library. Fixes: http://autobuild.buildroot.org/results/69a/69aff0b9d0ac8fe08e1d2f7ffb691f6a8fc8693b/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* cc-tool: fix missing stdarg.h include on uClibcThomas Petazzoni2015-05-031-0/+18
| | | | | | | | | | | | This commit adds a patch to fix a missing <stdarg.h> include for va_list. Fixes: http://autobuild.buildroot.org/results/9c8/9c828b1da8983577f93bdfae5275fc5122ae874f/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* cc-tool: new packageMarcin Bis2015-05-033-0/+40
cc-tool provides support for Texas Instruments CC Debugger Signed-off-by: Marcin Bis <marcin@bis.org.pl> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> [Arnout: avoid adding /usr/local to library path] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud