Commit graph

16 commits

Author SHA1 Message Date
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
Nick Hainke
54cc4cc7f6 gcc: copy patches from 12.2.0 to 12.3.0
This simplifies reviewing process.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-05-16 18:43:31 +02: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
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
Ilya Lipnitskiy
5d8d4fbbcb
treewide: Run refresh on all packages
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>
2021-02-20 16:02:15 -08:00
W. Michael Petullo
722ec42b43 gcc: fix build with 8.3.0
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2019-11-09 02:01:53 -05: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
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
Christian Beier
480452dce8 gcc: work around wrongly detected sys/sdt.h header.
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>
2014-10-23 16:44:49 +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
bae28d4faa gcc: Remove patches that don't apply to 4.6.3.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 14:00:22 +02:00
Christian Beier
e63c244828 gcc: Do not ship .info and .man files.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 13:59:50 +02:00
Christian Beier
e1be3f55d8 gcc: Add GCC 4.6 patches from official openwrt.git toolchain directory.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 13:59:31 +02:00
Christian Beier
a95a32ce4c gcc: Add patch that fixes GCC building for MIPS.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 13:59:26 +02:00
Christian Beier
9ff77b0000 gcc: Add patch that fixes a build error when building a 32bit toolchain on 64bit build machine.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 13:59:20 +02:00