Commit graph

149 commits

Author SHA1 Message Date
Christian Neukirchen
56cbe9ab72 gcc: cleanup. 2016-04-30 15:28:00 +02:00
Christian Neukirchen
182f8be5b9 gcc: pass --build= when bootstrapping.
Else bootstrapping from a musl-based system will be recognized as
glibc, and stage0 gcc will write invalid PT_INTERP entries.
2016-04-30 15:20:01 +02:00
Jürgen Buchmüller
c459dade15 gcc: add support for SOURCE_DATE_EPOCH environment
+ Create symlinks from gcc/patches/libcpp-source_date_epoch.patch to cross-*/files/
+ Make all the _apply_patch() functions the same
2016-03-08 13:49:52 +01:00
Christian Neukirchen
81ddb0ead5 gcc: add libgcc-devel subpkg.
This package now contains the *crt*.o and libgcc*.a.

Closes #3472.
2016-01-27 16:01:05 +01:00
Christian Neukirchen
9002979ade gcc-gfortran: include libcaf_single.a, a fortran-only lib. 2016-01-27 16:01:05 +01:00
Christian Neukirchen
d6775f3706 gcc: depend on musl-devel now. 2016-01-27 16:01:05 +01:00
Christian Neukirchen
23a885504b gcc: use vlicense, xlint cleanup. 2015-11-27 18:29:19 +01:00
Christian Neukirchen
b275f0de68 gcc: use soft-float on mipsel-musl (like in cross-*) and sysv hashes. 2015-11-27 18:29:19 +01:00
Juan RP
ab7cd64ca8 gcc: nopie=yes for now to unbreak. 2015-11-19 08:11:46 +01:00
Andrea Brancaleoni
fcc9d6cb59 gcc: add armv5tel-musl triplet 2015-09-21 17:22:19 +02:00
Enno Boland
8df75f19c2 gcc: add gcc-gcj-jdk-compat subpackage 2015-09-13 10:27:17 +02:00
jbu
865a129512 cross-arm-linux-musleabihf: fix unresolved extern
When linking against libgcc.a, there is an unresolved (in musl libc) external
__write() referenced from libgcc/config/arm/linux-atomic-64bit.c,
so make the patch replace it with libc write(2).
2015-08-14 12:57:42 +02:00
Juan RP
6c9ce010f8 gcc: allow mips{,el} builds. 2015-07-08 11:45:12 +02:00
Juan RP
8b5be63343 gcc: update to 4.9.3. 2015-06-27 07:27:45 +02:00
Christian Neukirchen
c5680ed072 gcc: add patch for aarch64 to not ICE on mysql. 2015-06-09 20:08:39 +02:00
Alessio Sergi
089625f71f gcc: fix conflicting prototype of posix_memalign for C++
Ref: http://www.openwall.com/lists/musl/2013/11/10/1.

This patch is required for building cups-filters, libvisio, libcdr and
probably many more with musl.
2015-06-07 21:21:21 +02:00
Juan RP
2dce2b71c1 gcc: only enable support for C, C++ and LTO for bootstrap/cross.
This finally closes #1529
2015-06-01 07:52:12 +02:00
Juan RP
257616d51a gcc: sync musl patch with musl-cross. 2015-05-29 15:40:58 +02:00
Juan RP
2ac69d39e5 gcc: disable NLS support. 2015-05-29 10:10:38 +02:00
Juan RP
c40d017a38 gcc: update symlink for the musl patch. 2015-05-17 09:11:43 +02:00
Juan RP
499774b6a4 gcc: rebuild to update triplets for armv[67]l. 2015-05-17 09:08:06 +02:00
Juan RP
f466f56cd6 gcc: update triplets for armv[67]l-musl. 2015-05-17 08:18:55 +02:00
Juan RP
5c9280a5c0 gcc: handle cross subpkgs correctly. 2015-05-14 11:38:21 +02:00
Juan RP
b5bce8db38 gcc: disable sjlj-exceptions for cross again. 2015-05-14 11:25:42 +02:00
Juan RP
cb45c7cee4 gcc: disable symvers and ifunc on musl; remove guessed options. 2015-05-14 11:13:28 +02:00
Juan RP
096b619e1b gcc: fix inverted test for the bootstrap case (close #1563). 2015-05-13 10:39:32 +02:00
Juan RP
20694f1733 gcc: do not enable gcj/go langs on bootstrap builds (close #1529). 2015-05-08 18:09:25 +02:00
Juan RP
4b84ae0dab gcc: enable fortran, objc, objc++ langs in bootstrap builds too. 2015-05-07 08:26:04 +02:00
Juan RP
1cf59aa444 gcc: unbreak native musl build; plus some misc changes.
- On native musl, disable go and java (not supported or needs external patches).
- i686/glibc: for consistency use the same triplet than xbps-src.
- aarch64/glibc: use /lib for 64bit multiarch.
- x86_64/glibc: use /lib for 64bit multiarch and dynamic linker, rather than /lib64.
- Remove obsolete stuff for the bootstrap build.

Tested in all possible combinations, both native/cross musl/glibc and x86/ARM.
2015-04-22 18:07:32 +02:00
Juan RP
ff31d5a1a2 srcpkgs: xtraeme@gmail.com -> xtraeme@voidlinux.eu 2015-04-10 09:16:30 +02:00
Christian Neukirchen
0dd69ebfe8 gcc: enable aarch64-musl. 2015-03-30 18:33:44 +02:00
Christian Neukirchen
9a23209af6 gcc: add support for aarch64. 2015-03-30 18:33:44 +02:00
Juan RP
1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00
Juan RP
1f7fa4a322 gcc: unbreak: disable FORTIFY_SOURCE for now (close #1113).
FORTIFY_SOURCE could be reenabled for 4.9.3.
2015-03-22 11:08:34 +01:00
Juan RP
9f9ca01056 gcc: unbreak build due to _FORTIFY_SOURCE in CPPFLAGS. 2015-03-12 10:23:06 +01:00
Juan RP
20c7496ea0 gcc: re-enable support for musl and organize subpkgs (somewhat). 2015-02-07 11:33:32 +01:00
Juan RP
1e03fe2d77 gcc: depend explicitly on libgcc (close #915) 2015-01-24 11:51:57 +01:00
Eivind Uggedal
eb8ebeb574 gcc: update-check fix 2015-01-21 23:28:28 +00:00
Juan RP
3f7874105a gcc: update to 4.9.2. 2014-10-30 16:48:42 +01:00
Juan RP
10c550bfab gcc: add patch from gcc-4.9-branch that fixes gcc bug 61801.
Without this patch, gcc-4.9.1 miscompiles glibc-2.20 setxid NTPL code,
resulting in setgid() returning ENOSYS.
2014-09-08 18:07:07 +02:00
Juan RP
172be05be5 gcc: update armv7l triplet again. 2014-09-07 09:09:16 +02:00
Juan RP
10e3477ab9 Revert "gcc: update triplet for armv7l."
This reverts commit 2998d95ba9.
2014-09-07 09:07:35 +02:00
Juan RP
2998d95ba9 gcc: update triplet for armv7l. 2014-09-07 01:22:28 +02:00
Juan RP
91bbc7b7ac gcc: rebuild to generate correct 32bit pkgs. 2014-08-25 22:50:02 +02:00
Juan RP
228bedd297 gcc: revbump to build 32bit pkgs with proper rdeps. 2014-08-25 17:54:13 +02:00
Christian Neukirchen
daa17afc1e gcc: got libquadmath condition reversed :( 2014-08-21 22:50:27 +02:00
Christian Neukirchen
2026f5efe9 gcc: build libquadmath on supported platforms only. 2014-08-21 22:05:08 +02:00
Juan RP
e8f683a104 gcc: force our triplet in native arm builds. 2014-08-21 18:26:09 +02:00
Juan RP
d0d5c96500 gcc: update triplets for ARM with glibc and musl. 2014-08-21 16:56:59 +02:00
Juan RP
39c88649f2 gcc: explicitly set --enable-sjlj-exceptions=no to fix cross builds. 2014-07-17 08:31:19 +02:00