Commit graph

29 commits

Author SHA1 Message Date
Ruby Iris Juric
3d98f8ba79
cross/gcc-*: upgrade to 9.3.0-r2 (MR 1253)
Bring the GCC packages up to date with upstream.
Fixes libstdc++ unsatisfiable constrains related error messages.

Upstream commits:
- 1069d8331c
- e296f565db

[ci:skip-build]
2020-05-18 19:55:09 +03:00
Minecrell
a1735c9596
cross/gcc-*: upgrade to 9.3.0-r1
upstream commit 6957885149
2020-03-31 15:38:47 +02:00
Luca Weiss
0f8f0eef32
cross/gcc-*: upgrade to 9.3.0 (!1109) 2020-03-27 19:44:21 +03:00
Alexey Min
32d14ec8c4
cross/gcc-*: upgrade to 9.2.0-r6 (!999)
[ci:skip-build]
2020-02-27 07:07:23 +03:00
Daniele Debernardi
57edb0f149
cross/gcc-*: bump pkgrel (!879)
Make the version match Alpine's gcc again. Fixes libstdc++ unsatisfiable
constrains related error messages (because the libstdc++ generated by
these cross-* packages has the same pkgver and pkgrel again as the one
provided by Alpine's gcc package).

[ci:skip-build]
2020-01-14 23:17:39 +01:00
J0WI
320e56fde5
cross/gcc-*: upgrade to 9.2.0-r4 (!839)
and sync with upstream: enable D programming language as in
5bbe16ae7b
2019-12-28 18:31:17 +05:30
Oliver Smith
1a5312bb28
cross/gcc-*: upgrade to 9.2.0-r3 2019-11-25 09:50:59 +01:00
Oliver Smith
9984bf9e14
cross/gcc-*: adjust to upstream changes
Alpine made some minor modifications to the gcc aport, without
changing the version. Let's adjust the pmaports too, so we stay in
sync. [ci:skip-vercheck]

Related: 97a2b093b1
2019-10-01 09:57:30 +02:00
Oliver Smith
a039e6f1f8
cross/gcc-*: upgrade to 9.2.0-r2
[ci:skip-build]: won't finish in time
2019-09-19 23:07:15 +02:00
Luca Weiss
8ed829516a
cross/gcc-*: regen for gcc9 (!624)
[ci:skip-build]: will not finish in time and does not build with --strict
because of an abuild bug that will be fixed in the next abuild release by
this patch:

c54d39d8aa
2019-09-12 17:47:03 +02:00
Oliver Smith
0cae49b26f
cross/gcc-*: bump pkgrel
Make the version match Alpine's gcc again. Fixes libstdc++ unsatisfiable
constrains related error messages (because the libstdc++ generated by
these cross-* packages has the same pkgver and pkgrel again as the one
provided by Alpine's gcc package).

[ci:skip-build]: won't finish in time

The upstream compat test case will still fail after this, there are more
issues that need to be resolved. I'm on it.
2019-09-11 19:00:28 +02:00
Oliver Smith
4e9d08d39e
cross/gcc-*: re-generate with pmbootstrap aportgen
Adjust the depends of the GCC-8 cross compiler packages after the change
from pmbootstrap!1778. This does not have any effect (since the GCC-8
aports don't have !tracedeps in options, in contrary to the other GCC
aports we ship). But it makes sure that we don't get any changes after
running the repository maintenance script from here:
https://wiki.postmarketos.org/wiki/Repository_maintenance

[ci:skip-build]: cosmetic change, build would take too long anyway
2019-04-30 19:12:56 +02:00
Martijn Braam
021640f04b cross/gcc-*: update to 8.3.0-r0 2019-02-26 13:22:07 +01:00
Oliver Smith
81b184522a
cross/gcc-*: update to 8.2.0-r2
[skip ci], as the build takes too long.
2019-01-03 15:57:32 +01:00
Oliver Smith
1358b1a91d
cross/gcc-*: update to upstream (8.2.0-r1) 2018-11-27 07:47:11 +01:00
Oliver Smith
2e7437825b
cross/gcc*: set arch to x86_64 only
This covers most use cases and saves a lot of build time. Can be
changed on demand. Again, this simplifies package building as part of
the new build infrastructure effort. [skip ci]
2018-11-27 07:47:11 +01:00
Oliver Smith
1ffa59d892
cross/gcc-*, cross/gcc6-*: regenerate [skip ci]
GCC6 cross compiler packages, based on the latest pmbootstrap
aportgen code. Related: #103
2018-11-27 07:47:11 +01:00
Oliver Smith
56f1e0c10f
cross/gcc-*: upgrade to gcc 8.2.0 [skip ci]
Skipping CI, because it would probably not finish building all of them.
Major breakage incoming. Details discussed here:
<https://gitlab.com/postmarketOS/pmaports/issues/103>
2018-11-27 07:47:11 +01:00
Oliver Smith
a6d89192ce gcc-*: fix compiling in strict mode [skip ci] (#1468)
Due to changes in abuild, our `gcc-armhf` etc. packages did not build
when using strict mode (i.e. `pmbootstrap build --strict gcc-armhf`)
anymore.

Changes:
* Set `CBUILDDIR=/`, so apk can read a valid package index from there
* Directly set `_cross_configure`, so it does not use CBUILDDIR anymore
* Set `BOOTSTRAP="nobuildbase"` to prevent apk from installing
  `build-base-armhf` etc. (these don't exist in pmOS)
* Remove legacy code for lazy reproducible builds that wrapped
  `package()`
2018-05-13 18:30:02 +00:00
Oliver Smith
c5f689d154 gcc-*: fix download URLs
Fix inherited from upstream by running 'pmbootstrap aportgen gcc-...'
again.
2018-05-06 11:36:37 +02:00
Martijn Braam
471391afb8 Updated gcc-armhf, gcc-aarch64 and gcc-x86_64 to r8 (#1456) 2018-05-01 15:17:32 +02:00
Oliver Smith
7581bc0858 Update gcc-* to upstream: 6.4.0-r7 2018-02-27 23:24:21 +01:00
Daniele Debernardi
1eb6b7cbd7 Allow to build musl/binutils/gcc for x86 architecture (#1150) 2018-01-23 00:26:33 +00:00
Oliver Smith
017f0b4c3e Don't compile cross-compiler packages for the host arch
Example: Building gcc-armhf for armhf does not make sense, so this
commit changes arch="all" to arch="aarch64 x86_64". This helps to
simplify the repository scripts (#970).
2018-01-20 19:17:23 +01:00
Oliver Smith
26304f0ef4 Update gcc-* to upstream 6.4.0-r6 2017-12-26 16:37:21 +01:00
Oliver Smith
ab9dc62370 Update gcc-armhf and gcc-aarch64 to upstream 2017-08-24 23:15:14 +02:00
Oliver Smith
a65e7d034b Make gcc-aarch64 reproducible (#366)
This fixes https://github.com/postmarketOS/binary-package-repo/issues/1

GCC generates hardlinks between files `A` and `B` in its `make install` step. The problem is, that `tar` randomly packages `A` as full binary, and links `B` to `A`, or the other way around! I was able to reproduce this issue consistently when re-building `gcc-aarch64` on Travis CI (interestingly, this did not appear for `gcc-armhf`).

The fix is, to delete `B` and create a symlink `B` that points to `A` instead.
2017-08-12 14:06:02 +00:00
Oliver Smith
79654e8e5e Fix: gcc-armhf not reproducible (#64) (#333)
libstdc++.a from gcc-armhf was not reproducible on Travis (it was, when built locally!). These .a files are just archives of object files .o, and in this case it was caused by a random order of the .o files in the archive.

This PR patches the package() function of the APKBUILD when running pmbootstrap aportgen gcc-armhf (same for aarch64 of course), to extract all .a files, and repack them to be reproducible (by sorting the files before packing them).

As usually, we can still inherit everything from the upstream gcc aport from Alpine, and apply our changes on top of that.

Travis without the patch:
https://api.travis-ci.org/jobs/260402679/log.txt?deansi=true

> CHALLENGE FAILED for usr/armv6-alpine-linux-muslgnueabihf/lib/libstdc++.a:File 'usr/armv6-alpine-linux-muslgnueabihf/lib/libstdc++.a' is different!

Travis with the patch (I've instructed Travis to run off this branch to test it):
https://api.travis-ci.org/jobs/260806203/log.txt?deansi=true

> Done. Your build exited with 0.
2017-08-04 20:38:27 +00:00
Oliver Smith
3e140ea690 Close #194: Aports subfolders! See migration guide in the wiki (#227)
Migration guide:
https://github.com/postmarketOS/pmbootstrap/wiki/Migration-to-aports-subfolders
2017-07-28 22:34:40 +00:00
Renamed from gcc-aarch64/APKBUILD (Browse further)