77 Commits

Author SHA1 Message Date
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
Natanael Copa
9909cc120c main/gcc: try again to get the versioned dependency right 2013-04-23 08:26:58 +00:00
Natanael Copa
c5a267f650 main/gcc: fix versioned deps
we need set the correct pkgrel
2013-04-22 15:03:33 +00:00
Natanael Copa
a198a62b0d main/gcc: depend on libgomp
we don't bother create a separate libgomp-dev subpackage. just depend on libgomp
to make it simple

we also depend on the exact gcc version when we pullin gcc pkg.
2013-04-22 11:25:48 +00:00
Natanael Copa
e22c381bb9 main/gcc: upgrade to 4.7.3 and clean up subpkg deps
also fix gcc-objc subpackage
2013-04-22 08:16:14 +00:00
Natanael Copa
7c4d46a2ca main/gcc: g++ should depend on libc headers
fixes #1577
2013-01-22 09:11:31 +00:00
Bartłomiej Piotrowski
8b7dd5fec6 main/gcc: rebuild against cloog 0.18.0 2013-01-05 09:54:38 +01:00
Carlo Landmeter
55945d71e6 main/gcc: add support for glibc 2013-01-04 16:32:14 +01:00
Natanael Copa
7af044db75 main/gcc: rebuild with new abuild to get rid of dup provides in libgcj 2012-10-30 15:40:11 +00:00
Natanael Copa
ffca1077c5 main/gcc: enable gcc-go
we now have ucontext in uclibc
2012-10-30 09:20:14 +00:00
Natanael Copa
0c1a669bb5 main/gcc: upgrade to 4.7.2 2012-10-02 13:18:18 +00:00
Natanael Copa
63cbdb27e3 main/gcc: upgrade to 4.7.1
Disable gcc-go for now. It needs ucontext which we don't have.
2012-09-10 09:05:39 +00:00
Natanael Copa
b6352f8b98 main/gcc: upggrade to 4.6.3 2012-03-12 11:00:27 +00:00
Timo Teräs
573ed63613 main/gcc: fix libexec path to cc1 2012-02-11 01:48:05 +02:00
Timo Teräs
205273e4ef main/gcc: fix pax flags for gcc, g++ and gij
ref #998
2012-02-11 01:16:57 +02:00
Natanael Copa
4d33d662fa main/gcc: remove libffi docs
ref #870
2011-12-22 13:24:45 +00:00
Natanael Copa
94b1ce306a main/gcc: bump pkgrel so we actually get the libquadmath split
This also helps us with the librt-as-needed revert.

fixes #854
2011-12-05 15:27:20 +00:00
William Pitcock
574341ed51 main/gcc: split out libquadmath 2011-12-05 02:06:01 -06:00
William Pitcock
dc168ea45d main/gcc: add gfortran support 2011-12-05 01:09:37 -06:00
Natanael Copa
ef4265d519 main/gcc: remove memory protection from gij 2011-11-10 13:39:31 +00:00
Natanael Copa
441aae6960 main/gcc: upgrade to 4.6.2 2011-11-01 16:36:27 +00:00
Natanael Copa
081c531fec main/gcc: upgrade to 4.6.1 2011-08-18 13:49:32 +00:00
William Pitcock
4e8d400470 main/gcc: upgrade to 4.5.3.
drop gcc-powerpc-target-optspace patch, committed upstream
2011-05-14 21:12:39 -05:00
Natanael Copa
6280d87f52 main/gcc: move out -dbg.py file to sane location 2011-04-18 11:05:53 +00:00
William Pitcock
f260a7f562 Revert "main/gcc: upgrade to 4.6.0"
Too many issues before freeze to be system compiler.
This reverts commit 747f87be523e41dc48e026c813b013e30334f79f.
2011-03-28 03:01:22 -05:00
William Pitcock
747f87be52 main/gcc: upgrade to 4.6.0 2011-03-26 17:49:45 -05:00
Natanael Copa
83091ced55 main/gcc: rebuild again since abuild was not upgreaded last time
sigh...
2011-03-05 17:29:06 +00:00
Natanael Copa
cad09cd329 main/gcc: rebuild with fixed abuild
to fix the dependencies for libgcc
2011-03-05 09:29:55 +00:00
William Pitcock
44de5cd6eb main/gcc: --enable-target-optspace is broken on gcc, give up entirely. 2011-02-27 00:15:37 -06:00
William Pitcock
5840fb3683 main/gcc: fix compilation using -Os on powerpc (upstream PR 43810) 2011-02-26 21:14:16 -06:00
William Pitcock
91004dcb79 main/gcc: missed a spot 2011-02-12 16:51:00 -06:00
William Pitcock
cfef8fd047 main/gcc: turn java knob back on by default 2011-02-12 16:11:30 -06:00
William Pitcock
5c88bcc780 main/gcc: version bump. 2010-12-22 13:57:54 -06:00
Natanael Copa
da49ad32c4 main/*: add arch 2010-12-13 16:00:16 +00:00
Natanael Copa
fc5b4218ba main/gcc: build fix for x86_64 - let configure script find arch 2010-11-25 20:02:28 +00:00
Natanael Copa
77b5897fc3 main/gcc: disable java by default, fix for x86_64
also:
- initial support for crosscompile
- cleanup ld-uClibc handling
2010-11-24 14:00:36 +00:00