aboutsummaryrefslogtreecommitdiff
path: root/devel/gcc
Commit message (Collapse)AuthorAge
* gcc: update to 12.3.0Nick Hainke2023-05-16
| | | | | | | | | | | | | Release notes: https://gcc.gnu.org/gcc-12/changes.html Refresh patches: - 230-musl_libssp.patch - 910-mbsd_multi.patch - 920-specs_nonfatal_getenv.patch - 970-macos_arm64-building-fix.patch Signed-off-by: Nick Hainke <vincent@systemli.org>
* gcc: copy patches from 12.2.0 to 12.3.0Nick Hainke2023-05-16
| | | | | | This simplifies reviewing process. Signed-off-by: Nick Hainke <vincent@systemli.org>
* gcc: limit postinst and postrm only with INCLUDE_STATIC_LINK_SPECChristian Marangi2023-01-11
| | | | | | | | | Limit postinst and postrm only with INCLUDE_STATIC_LINK_SPEC enabled as it's only needed to install and remove the generated spec file. Also remove extra tab from scripts. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* gcc: add support for gcc 12Christian Marangi2023-01-11
| | | | | | | | | Copy patch from gcc 11 to gcc 12 and add missing hash. Refresh patch for .c -> .cc change and drop 931-libffi-fix-MIPS-softfloat-build-issue as it got merged in gcc 12. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* gcc: update 11 minor versionChristian Marangi2022-06-21
| | | | | | | | - Update 11 minor version to match the upstream - Rename patches dir to reflect new gcc 11 minor version - Drop upstream patch Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* gcc: depend on libzstdW. Michael Petullo2022-05-25
| | | | Signed-off-by: W. Michael Petullo <mike@flyn.org>
* gcc: update to allow compiling different versionsW. Michael Petullo2022-05-18
| | | | | | | | | | | | | | | | This is based on the toolchain GCC, and aims to share as much of its Makefile and patches with that definition. The package requires two additional patches: (1) 003-dont-choke-when-building-32bit-on-64bit.patch, which fixes the `error: size of array 'test_real_width' is negative` error that occurs when building a 32-bit GCC on a 64-bit host. (Search the Internet for examples of this error appearing.) (2) 980-add-nostdinc++.patch, which backports a fix from 11.3.0 (11.2.0 only). Signed-off-by: W. Michael Petullo <mike@flyn.org>
* gcc: change maintainerW. Michael Petullo2022-05-18
| | | | Signed-off-by: W. Michael Petullo <mike@flyn.org>
* gcc: enable parallel buildingEneas U de Queiroz2021-10-08
| | | | | | | | | | Even though PKG_BUILD_PARALLEL is set for the package, the package calls $(MAKE) without $(PKG_JOBS), so it was always built with only one job. Fix this by adding $(PKG_JOBS) to the $(MAKE) call, and calling make install only after make all is finished. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* gcc: add cc symlinkDirk Neukirchen2021-03-05
| | | | | | fixes #14755 Signed-off-by: Dirk Neukirchen <plntyk.lede@plntyk.name>
* treewide: Run refresh on all packagesIlya Lipnitskiy2021-02-20
| | | | | | | | | The crude loop I wrote to come up with this changeset: find -L package/feeds/packages/ -name patches | \ sed 's/patches$/refresh/' | sort | xargs make Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
* gcc: fix build with 8.3.0W. Michael Petullo2019-11-09
| | | | Signed-off-by: W. Michael Petullo <mike@flyn.org>
* treewide: add PKG_CPE_ID for better cvescanner coverageJan Pavlinec2019-09-17
| | | | Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
* gcc: fix build on x86 targetsNoble Pepper2019-08-04
| | | | | Signed-off-by: Noble Pepper <noblepepper@gmail.com> (cherry-picked from 32203bec9)
* gcc: update to version 7.4.0, Add config optionsNoble Pepper2019-07-19
| | | | | | | | for coping libc.a, libpthread.a and libstdc++ to target. Add config option to eliminate need for -lstdc++ and -lgcc_pic switches when linking statically Signed-off-by: Noble Pepper <noblepepper@gmail.com>
* gcc: enable compilation with gcc 7.xEneas U de Queiroz2018-05-23
| | | | | | | Defining _GLIBCXX_INCLUDE_NEXT_C_HEADERS instructs gcc 7.x libstdc++ to include the system's stdlib.h and math.h, and not their own. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
* treewide: run "make check FIXUP=1"Etienne Champetier2017-08-29
| | | | | | | | | | fix Makefile chmod (644) replace MD5SUM with HASH add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git (PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now) Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
* gcc:Add support for Arm with FPUNoble Pepper2017-01-26
| | | | | | | | | | | | | also removes erroneous --with-local-prefix=/usr configure option Signed-off-by: Noble Pepper <gitmail@noblepepper.com> compile tested: mips Vocore2 mvebu WRT1200AC (Caiman) run tested: mips Vocore2 mvebu WRT1200AC (Caiman)
* gcc: Update to version 5.4.0, change maintainerNoble Pepper2016-10-02
| | | | Signed-off-by: Noble Pepper <noblepepper@gmail.com>
* gcc: Use URL aliasdiizzyy2016-05-24
| | | | | Remove hardcoded URL and use alias instead. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* gcc: fix build with musl.Christian Beier2015-07-21
| | | | Signed-off-by: Christian Beier <cb@shoutrlabs.com>
* gcc: Update README: tested on arm (imx233-olinuxino) boardharald.geyer@gmx.at2015-01-07
| | | | | Signed-off-by: Harald Geyer <harald@ccbib.org> Signed-off-by: Christian Beier <dontmind@freeshell.org>
* gcc: Include libgcc.a on those architectures that need itharald.geyer@gmx.at2015-01-07
| | | | | | | | Right now these are arm, hppa, microblaze, powerpc, sh and xtensa. So we just try to grep for it to figure out if it is needed. Signed-off-by: Harald Geyer <harald@ccbib.org> Signed-off-by: Christian Beier <dontmind@freeshell.org>
* gcc: work around wrongly detected sys/sdt.h header.Christian Beier2014-10-23
| | | | | | | | | | The build system somehow detects /usr/include/sys/sdt.h, which is part of systemtap-sdt-devel package in the host environment but not present in the SDK. This patch simply disables the check for sys/sdt.h, enabling building of this package when systemtap-sdt-devel is installed in the host environment. Signed-off-by: Christian Beier <dontmind@freeshell.org>
* gcc: Use strip instead of sstrip as sstrip somehow stops the on-target ↵Christian Beier2014-08-12
| | | | | | compilation from working properly. Signed-off-by: Christian Beier <dontmind@freeshell.org>
* gcc: Get rid of those sed substitutions and use proper ./configure args instead.Christian Beier2014-08-12
| | | | Signed-off-by: Christian Beier <dontmind@freeshell.org>
* gcc: Specify target languages the right way.Christian Beier2014-08-10
| | | | | | There are no CONFIG_INSTALL_* vars in the SDK anymore. Signed-off-by: Christian Beier <dontmind@freeshell.org>
* gcc: Build gcc version 4.8.3, refresh patches from openwrt.git.Christian Beier2014-08-10
| | | | Signed-off-by: Christian Beier <dontmind@freeshell.org>
* gcc: Ship all *nonshared*.a static libs.Christian Beier2014-08-10
| | | | | | Particularly, this fixes linking with pthreads. Signed-off-by: Christian Beier <dontmind@freeshell.org>
* gcc: Remove notes that mpfr-dev and the like are needed on the build machine.Christian Beier2014-08-10
| | | | | | That's not true, at least for GCC 4.6.3. Signed-off-by: Christian Beier <dontmind@freeshell.org>
* gcc: Remove patches that don't apply to 4.6.3.Christian Beier2014-08-10
| | | | Signed-off-by: Christian Beier <dontmind@freeshell.org>
* gcc: Heavy Makefile modification, now builds and runs on target.Christian Beier2014-08-10
| | | | | | | | | | * Use the same GCC version as the Attitude Adjustment toolchain. * Use REAL_GNU_TARGET_NAME that contains the _uclibc suffix. Otherwise the linker on the target is not found. * Revamped install section to install only needed binaries and omit static .a libs. Signed-off-by: Christian Beier <dontmind@freeshell.org>
* gcc: Enable parallel GCC builds.Christian Beier2014-08-10
| | | | Signed-off-by: Christian Beier <dontmind@freeshell.org>
* gcc: Depend on binutils package.Christian Beier2014-08-10
| | | | Signed-off-by: Christian Beier <dontmind@freeshell.org>
* gcc: Do not ship .info and .man files.Christian Beier2014-08-10
| | | | Signed-off-by: Christian Beier <dontmind@freeshell.org>
* gcc: Add myself as maintainer.Christian Beier2014-08-10
| | | | Signed-off-by: Christian Beier <dontmind@freeshell.org>
* gcc: The variable is simply called CONFIGURE_ARGS and already contains the ↵Christian Beier2014-08-10
| | | | | | host,build, target triplet plus right prefixes. Signed-off-by: Christian Beier <dontmind@freeshell.org>
* gcc: Add GCC 4.6 patches from official openwrt.git toolchain directory.Christian Beier2014-08-10
| | | | Signed-off-by: Christian Beier <dontmind@freeshell.org>
* gcc: Add patch that fixes GCC building for MIPS.Christian Beier2014-08-10
| | | | Signed-off-by: Christian Beier <dontmind@freeshell.org>
* gcc: Add patch that fixes a build error when building a 32bit toolchain on ↵Christian Beier2014-08-10
| | | | | | 64bit build machine. Signed-off-by: Christian Beier <dontmind@freeshell.org>
* gcc: Add README to gcc package explaining build-deps on host machine.Christian Beier2014-08-10
| | | | Signed-off-by: Christian Beier <dontmind@freeshell.org>
* gcc: Update GCC Makefile to let it build gcc 4.6 for target.Christian Beier2014-08-10
| | | | Signed-off-by: Christian Beier <dontmind@freeshell.org>
* gcc: Add gcc package from git.openwrt.org/packages.git.Christian Beier2014-08-10
Signed-off-by: Christian Beier <dontmind@freeshell.org>