112 Commits

Author SHA1 Message Date
Natanael Copa
00880c7494 main/gcc: upgrade to 5.3.0
This is a bug fix release
2015-12-16 07:59:52 +00:00
Bartłomiej Piotrowski
b4a13e7314 Do not delete *.la files manually
Since abuild v2.22.0, these are removed automatically unless 'libtool'
option has been specified.
2015-09-10 13:59:03 +02:00
Timo Teräs
61dd7a4570 main/gcc: upgrade to 5.2.0 2015-08-28 16:59:32 +00:00
Timo Teräs
736ae10d6c main/gcc: fix arm patch
(the original arm build failed for unrelated reason on builder,
so no pkgrel bump is needed)
2015-06-05 20:03:12 +00:00
Timo Teräs
6e1b72b5cd main/gcc: upgrade to gcc 5.1.0 2015-06-05 13:47:16 +00:00
Natanael Copa
baddb44e9e main/gcc: support i586-alpine-linux-musl triplet 2015-05-28 08:05:18 +00:00
William Pitcock
1011606541 main/gcc: add support for bootstrapping a mipsel toolchain 2015-05-14 15:08:01 -05:00
Timo Teräs
568316df90 main/{gcc,java-gcj-compat}: use paxmark 2015-04-09 13:55:47 +00:00
Natanael Copa
282b5672d3 main/*: remove !libiconv-dev from makedepends 2015-04-09 06:43:52 +00:00
Timo Teräs
067a4f2882 main/gcc: add musl/fortify support, and enable it by default 2015-03-16 13:10:29 +00:00
Timo Teräs
60c98b4ddb main/gcc: cherry-pick fix for pr64037, and update ada pkgdesc
ref #3680
2015-01-28 12:34:05 +00:00
Timo Teräs
e6d8679e16 main/gcc: rebuild using ld.bfd
fixes #3616
2014-12-12 11:13:26 +02:00
Timo Teräs
9ea0950e8a main/gcc: apply bug fix from pr63740 (should fix arm bootstrap)
bump pkgrel as this seems to affect thing in general
2014-12-11 18:15:55 +00:00
Timo Teräs
be6a2024f4 main/gcc: another attempt at ada arm/muslgnueabi fixing
Makefile allows only for one '%' in the filter-out pattern
2014-12-11 13:04:36 +02:00
Timo Teräs
e7066615fb main/gcc: fix muslgnueabi detection in ada bootstrap 2014-12-11 08:23:48 +02:00
Timo Teräs
d75e8d77a6 main/gcc: upgrade to 4.9.2, drop uclibc support
* refresh gentoo esp patches
 * split alpine specific esp changes to nice patch
 * update musl, poison-system-directories and cloog-dl patches
 * rebase our ada-musl and ada-no-pie patches
 * remove unneeded patches (bugs fixed upstream, and uclibc patches)
2014-12-10 16:24:01 +00:00
Timo Teräs
a8d5c91ba4 main/gcc: ugprade to 4.8.3 2014-08-01 08:58:40 +00:00
Natanael Copa
1609a4f801 main/gcc: ship libiberty with gcc
gcc is the upstream for libiberty
https://gcc.gnu.org/ml/gcc/2013-03/msg00301.html

apparently binutils no longer ship it either.
2014-05-15 09:11:54 +00:00
Natanael Copa
875dad8a93 main/gcc: fix musl posix_memalign patch
we need to use __asm__ instead of asm
2014-05-12 08:57:02 +00:00
Natanael Copa
64dbc4edca main/gcc: fix posix_memalign prototype for c++ 2014-05-08 07:04:30 +00:00
Stuart Cardall
7b1de2968f main/gcc: - make libatomic a subpackage
This patch makes libatomic a subpackage of gcc which stops openvswitch
installing gcc & all of it's dependencies.

fixes #2844
2014-04-16 08:00:41 +00:00
Timo Teräs
e89835b7d4 main/gcc: enable relro by default
ref #2614
2014-03-25 09:03:38 +00:00
Timo Teräs
20eae13751 main/gcc: java/musl fixes 2014-02-19 07:50:34 +00:00
Timo Teräs
61a15db04b main/gcc: boehm-gc/musl fixes, fix ecj pax flags
update java-gcj-compat together with gcc as they are integrally
bound together.
2014-02-17 13:14:40 +00:00
Timo Teräs
4be76d3f93 main/gcc: fix patch path 2013-12-26 11:52:28 +00:00
Timo Teräs
16dfeac411 main/gcc: revert gentoo's addition of -fstack-check
I disagree, we don't want it as default.
2013-12-26 11:08:38 +00:00
Leslie P. Polzer
0936270035 main/gcc: update fix to compile Ada with -fno-stack-check. 2013-11-29 08:11:04 +02:00
Timo Teräs
4d7f02c5f1 main/gcc: fix cross compiler creation and cross compiling native compiler
- paxctl is needed always, make it unconditional dependency
- when cross building native compiler, the configury breaks unless
  all the host libraries are present (it tries to include them) so
  make sure builder has whatever the host needs
2013-10-18 23:49:59 +00:00
Timo Teräs
b6709fdde1 main/gcc: fix ada bootstrap once more
The new gentoo piepatches add -fstack-check to defaults which make
ADA bootstrap break on certain platforms (at least arm).

The configure patch affects stage1_cflags, which is needed if the
currently installed host compiler has -fstack-check in it.

The Makefile.in part affects rest of the bootstrap stages and is
required if the current patch set includes -fstack-check in the
default spec.
2013-10-18 10:48:02 +00:00
Natanael Copa
6554ee5831 main/gcc: upgrade to 4.8.2 2013-10-17 18:51:49 +00:00
Timo Teräs
a76e836073 main/gcc: fix alpine/musl specific libssp patch 2013-09-26 17:18:20 +00:00
Timo Teräs
c1a172eeff main/gcc: fix crossbuild failure 2013-09-25 07:30:29 +00:00
Timo Teräs
a82bb8c62a main/gcc: unbreak libgcc on uclibc, update musl patches
- refresh all musl patches (gcc_cv_libc_provides_ssp detects now)
- add patch to fix the musl patch so that on uclibc we also use
  gcc_cv_target_dl_iterate_phdr since the sources was changed to
  use this instead of __GLIBC__ defines
2013-09-25 04:22:53 +00:00
Timo Teräs
c774c78064 main/gcc: unbreak ada on uclibc, crossbuild fixes, and musl updates 2013-09-24 16:58:42 +00:00
Timo Teräs
0dceb86c0b main/gcc: implement crosscompiler creation and crossbuilding, musl fixes 2013-09-23 11:57:24 +00:00
Natanael Copa
f4aacf4c32 Revert "main/gcc: fixes, support crosscompiler creation"
Needs newer abuild

This reverts commit ea0af854b52e5d2b44e6af094572e6ae38d1ba5a.
2013-09-10 09:58:34 +00:00
Timo Teräs
ea0af854b5 main/gcc: fixes, support crosscompiler creation
- implement cross compiler creation
 - fix musl build
 - fix cross-building
 - fix ada to default to shared linking
 - fix gcc-gnat dependencies
2013-09-10 09:12:29 +00:00
Natanael Copa
86a0bbc8ec main/gcc: add gcc-gnat to makedepends
we need gnat to build gnat. This introduces a circular makedepends.
2013-09-09 07:41:51 +00:00
Natanael Copa
5a9711930c main/gcc: enable ada
This require manual bootstrapping on build servers...
2013-09-06 13:42:15 +00:00
Natanael Copa
81a0e21b89 main/gcc: initial support for ada
For now we have ada off by default. To enable it you need a crosscompiled
bootstrap ada in PATH (See http://dev.alpinelinux.org/~shafire/) and then

  LANG_ADA=true abuild -r
2013-08-30 09:18:54 +00:00
Natanael Copa
7a60b0357e main/gcc: disable ifunc attrs, dont disable symvers for uclibc
Seems gcc 4.8.1 started using ifunc attributes in libatomic which go
uses heavily. This requires ldso support which is not done in uclibc
nor musl. Only in glibc at the time. GCC configure does not detect it
properly.

Also, do not disable symvers for uClibc - otherwise we break ABI for
libstdc++
2013-07-14 10:41:09 +00:00
Timo Teräs
47c71fbe75 main/gcc: fix crossbuild and musl support 2013-07-12 21:37:40 +00:00
Natanael Copa
3e800bf821 main/gcc: upgrade to 4.8.1
TODO: fix gcc-go
2013-07-12 15:56:45 +00:00
Timo Teräs
0a61db5bf5 main/gcc: crosscompile, musl and arm support 2013-07-12 12:42:13 +00:00
Natanael Copa
fd641092f5 main/gcc: install gcc specs in proper location
and unify gcclibdir and gcclibexec variables

the specs fix should make the vanilla.specs work again.

fixes #2129
2013-07-03 07:30:15 +00:00
Natanael Copa
5b0fb2c37f main/gcc: remove obsolete sed line
fixes #1898
2013-05-21 07:41:39 +00:00
Natanael Copa
d764f09b2e main/gcc: make sure libiconv-dev is not installed when building gcc
it messes things up badly
2013-05-14 11:41:08 +00:00
Natanael Copa
e428e6c5df main/gcc: do not include the pkgrel in gcc -v
It breaks building the gcc plugins for our linux-grsec kernel, the 3rd party mods

By excluding the pkgrel from gcc -v we avoid needing to rebuild kernel every
time we rebuild gcc.
2013-04-26 08:52:11 +00:00
Natanael Copa
8066c7dee0 main/gcc: disable emutramp on java
java and pax are not best friends...
2013-04-25 15:56:17 +00:00
Natanael Copa
fa6bf421e4 main/gcc: fix gcc plugins
we should keep the plugin/include files in main gcc package
otherwise plugins and linux-grsec fails to build
2013-04-24 07:40:59 +00:00