1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-18 05:13:56 +02:00
Commit Graph

36 Commits

Author SHA1 Message Date
Robert Marko
60f4a43660 devel: gcc: update to 13.3
Update GCC13 to 13.3, like in the root repo.

It fixes buildbot error:
make[3]: *** [Makefile:257: /builder/shared-workdir/build/sdk/dl/gcc-13.3.0.tar.xz] Error 255

Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-06-06 22:57:19 +02:00
Christian Marangi
e28bd51cab treewide: update packages to use new toolchain define
Update packages to use new toolchain define and drop usage of
TOOLCHAIN_DIR.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-05-28 15:42:30 +08:00
Christian Marangi
da8303d430
devel: gcc: add support for GCC 13
Add support for GCC 13 and take patches from openwrt main repo.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-04-11 13:48:12 +02:00
Christian Marangi
b31d6da0a8
devel: gcc: align patches structure to openwrt toolchain GCC
Align patches structure to openwrt toolchain GCC to make it easier to
maintain them and reduce patch delta on GCC update.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-04-11 13:48:09 +02:00
Nick Hainke
7a251bd3ff gcc: update to 12.3.0
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>
2023-05-16 18:43:31 +02:00
Christian Marangi
dd0de22a35
gcc: limit postinst and postrm only with INCLUDE_STATIC_LINK_SPEC
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>
2023-01-11 22:49:27 +01:00
Christian Marangi
399c1a467d
gcc: add support for gcc 12
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>
2023-01-11 21:27:28 +01:00
Christian Marangi
4db8466a14 gcc: update 11 minor version
- 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>
2022-06-21 14:23:26 -06:00
W. Michael Petullo
8e0bc54fcd gcc: depend on libzstd
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2022-05-25 18:58:01 -07:00
W. Michael Petullo
ceaa6e840e gcc: update to allow compiling different versions
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>
2022-05-18 16:34:53 -07:00
W. Michael Petullo
abbe33b369 gcc: change maintainer
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2022-05-18 16:34:53 -07:00
Eneas U de Queiroz
1f91016ac3 gcc: enable parallel building
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>
2021-10-08 09:50:29 -07:00
Dirk Neukirchen
55cb4d1aee gcc: add cc symlink
fixes #14755

Signed-off-by: Dirk Neukirchen <plntyk.lede@plntyk.name>
2021-03-05 06:43:00 +01:00
Jan Pavlinec
299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Noble Pepper
31977ae6f3
gcc: fix build on x86 targets
Signed-off-by: Noble Pepper <noblepepper@gmail.com>
(cherry-picked from 32203bec9)
2019-08-04 14:51:54 -07:00
Noble Pepper
5caa181b17
gcc: update to version 7.4.0, Add config options
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>
2019-07-19 22:14:11 -07:00
Eneas U de Queiroz
054d5273cb gcc: enable compilation with gcc 7.x
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>
2018-05-23 14:21:20 -03:00
Etienne Champetier
4006865ae8 treewide: run "make check FIXUP=1"
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>
2017-08-29 21:41:14 -07:00
Noble Pepper
4224c4ccf4 gcc:Add support for Arm with FPU
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)
2017-01-26 04:09:05 -06:00
Noble Pepper
77a8b220fd gcc: Update to version 5.4.0, change maintainer
Signed-off-by: Noble Pepper <noblepepper@gmail.com>
2016-10-02 04:34:31 -05:00
diizzyy
6217aa43d2 gcc: Use URL alias
Remove hardcoded URL and use alias instead.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2016-05-24 21:09:18 +02:00
Christian Beier
82e56d1bf8 gcc: fix build with musl.
Signed-off-by: Christian Beier <cb@shoutrlabs.com>
2015-07-21 16:01:59 +02:00
harald.geyer@gmx.at
1a7de36186 gcc: Include libgcc.a on those architectures that need it
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>
2015-01-07 17:11:03 +01:00
Christian Beier
372787d29b gcc: Use strip instead of sstrip as sstrip somehow stops the on-target compilation from working properly.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-12 12:57:37 +02:00
Christian Beier
304e86ff28 gcc: Get rid of those sed substitutions and use proper ./configure args instead.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-12 11:04:38 +02:00
Christian Beier
f24052dd61 gcc: Specify target languages the right way.
There are no CONFIG_INSTALL_* vars in the SDK anymore.

Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 19:37:28 +02:00
Christian Beier
c704c2f503 gcc: Build gcc version 4.8.3, refresh patches from openwrt.git.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 18:00:40 +02:00
Christian Beier
b9683bf7df gcc: Ship all *nonshared*.a static libs.
Particularly, this fixes linking with pthreads.

Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 14:00:35 +02:00
Christian Beier
75dd400ae6 gcc: Remove notes that mpfr-dev and the like are needed on the build machine.
That's not true, at least for GCC 4.6.3.

Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 14:00:28 +02:00
Christian Beier
9b24b13654 gcc: Heavy Makefile modification, now builds and runs on target.
* 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>
2014-08-10 14:00:06 +02:00
Christian Beier
13e9670993 gcc: Enable parallel GCC builds.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 14:00:01 +02:00
Christian Beier
ee43a57b74 gcc: Depend on binutils package.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 13:59:55 +02:00
Christian Beier
0401ca4ca1 gcc: Add myself as maintainer.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 13:59:43 +02:00
Christian Beier
5ad8b4ff1e gcc: The variable is simply called CONFIGURE_ARGS and already contains the host,build, target triplet plus right prefixes.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 13:59:37 +02:00
Christian Beier
758da3487e gcc: Update GCC Makefile to let it build gcc 4.6 for target.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 13:59:08 +02:00
Christian Beier
799110936e gcc: Add gcc package from git.openwrt.org/packages.git.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 13:59:00 +02:00