Commit Graph
13 Commits
Author SHA1 Message Date
Achill Gilgenast 790ba424e7 {main,modem,device/community}: add missing maintainer lines
Ignored device/{archived,downstream,testing} + alpine forks + cross
packages

[ci:ignore-count]
[ci:skip-build]
[ci:skip-vercheck]

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7679>
2026-01-03 18:36:33 +00:00
Jens Reidel bf57c094e4 main/gcc4: upgrade to 4.9.4, fix build
This upgrade GCC 4 to 4.9.4, the last release in the GCC 4 series. This
lets us drop one of the patches, which was included in 4.9.4.

We need to get rid of 3 flags that are set globally for compiling such
an old version of GCC (it doesn't know two of them, and
-Werror=format-security cannot be used with GCC).

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7423>
2025-11-26 18:22:31 +00:00
Jens Reidel 58b529eb34 main/gcc{4,6}: disable on ppc64le and loongarch64
Neither ppc64le nor loongarch64 use vendor kernels, so the old GCCs
packages are not required.

They currently don't build either because of a couple of problems when
building with GCC 15. If we really want to, ppc64le can be re-enabled
once those problems are resolved, since it is supported since GCC 4.9.
loongarch64 needs a much newer GCC.

[ci:skip-vercheck]

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7117
[ci:skip-build]: just disabling some arches
2025-10-01 18:36:45 +02:00
Luca Weiss 9d15b45746 main/gcc4: disable on riscv64 (MR 3583) 2022-10-25 08:31:09 +02:00
Oliver Smith a53224a8e7 {main,cross}/gcc{4,6}*: remove !tracedeps option (MR 3498)
Don't build with !tracedeps, as otherwise the isl dependency is not
properly added to the built gccs. In practice this probably doesn't
matter since we only use these old gccs to build kernels in the native
chroots (not via crossdirect in foreign arch chroots), and we also
install a proper gcc in the native chroot that pulls in the isl
dependency. But fix it for correctness.

Related: pmaports issue 1732

[ci:skip-build] Already built successfuly on CI in MR
2022-10-07 21:36:17 +02:00
Oliver Smith 1ff0cac815 main/gcc{4,6}: remove dependency on isl (MR 3432)
Previously only cross/gcc{4,6}-* packages were adjusted in MR 3419, but
these packages need to be adjusted as well.

Fix for error shown in upstream_compat check:
  Increase 'gcc6' pkgrel (10 -> 11), missing depend(s): isl
  Increase 'gcc4' pkgrel (5 -> 6), missing depend(s): isl

Related: pmbootstrap issue  2167

[ci:skip-build] Already built successfully once
2022-09-13 17:20:20 +03:00
Oliver Smith d34f9020da gcc4, gcc6: rebuild against latest isl (MR 3343)
Bump the pkgrel of gcc4 and gcc6, and regenerate the cross/* versions
with "pmbootstrap aportgen gcc6-armv7" etc.

Should fix these errors:
  Error loading shared library libisl.so.22: No such file or directory (needed by /usr/gcc6/libexec/gcc/x86_64-alpine-linux-musl/6.4.0/cc1)
  Error relocating /usr/gcc6/libexec/gcc/x86_64-alpine-linux-musl/6.4.0/cc1: isl_union_map_free: symbol not found
  Error relocating /usr/gcc6/libexec/gcc/x86_64-alpine-linux-musl/6.4.0/cc1: isl_map_from_pw_aff: symbol not found
  Error relocating /usr/gcc6/libexec/gcc/x86_64-alpine-linux-musl/6.4.0/cc1: isl_schedule_from_domain: symbol not found
  ...

Related: https://gitlab.alpinelinux.org/alpine/aports/-/commit/54749a52225575a91f01d04f8d024b4ee853cfb6
[ci:skip-build]: already built successfully in CI
2022-08-05 09:10:00 +02:00
Luca Weiss 19809ae262 main/gcc4: fix build (MR 3152)
Fix the build failure when built with newer gcc:

/home/pmos/build/src/gcc-4.9.2/gcc/reload1.c:89:24: error: use of an operand of type 'bool' in 'operator++' is forbidden in C++17
   89 |   (this_target_reload->x_spill_indirect_levels)
      |   ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/home/pmos/build/src/gcc-4.9.2/gcc/reload1.c:444:7: note: in expansion of macro 'spill_indirect_levels'
  444 |       spill_indirect_levels++;
      |       ^~~~~~~~~~~~~~~~~~~~~

Patch source: https://github.com/ChrisMacGregor/esp-open-sdk/blob/master/1001-fix-reload1-compile-error.patch
2022-05-24 23:05:24 +02:00
afeuerstein 8e6824c6e0 {main,cross}/gcc*: sync makedeps with Alpine (remove paxmark) (MR 2421)
[ci:skip-build] gcc never builds on CI, let alone 11 gccs
[ci:skip-vercheck]
2021-08-10 01:54:18 +03:00
Oliver Smith e72aad5dba {main,cross}/gcc{4,6}*: bump pkgrel
Rebuild all other GCC packages against mpfr4, so they don't fail with:

Error loading shared library libmpfr.so.4: No such file or directory (needed by /usr/gcc4/libexec/gcc/x86_64-alpine-linux-musl/4.9.2/cc1)

[ci:skip-build]: won't finish in time
Related: 2b32ed3a48786fa151cad8f920e5d9997bee94ed in Alpine's aports.git
2019-09-11 21:32:52 +02:00
Luca Weiss 82b143f3f0 Fix spelling mistakes (!466)
codespell --skip="./.git,*.patch,*.diff,config-*.*"

[ci:skip-build]
[ci:skip-vercheck]
2019-06-30 01:40:02 +02:00
Oliver Smith c6e854b186 main/gcc{4,6}, cross/gcc{4,6}*: fix depends
Explicitly depend on mpc1. Our generated gcc aports use the !tracedeps
option, so we need to explicitly set the libraries it depends on.

This has mostly not been an issue, as we are installing our gcc
packages together with Alpine's gcc package, which causes the libraries
to get installed anyway.

Fixes #236.

[ci:skip-build]: takes too long to build.
2019-04-26 22:45:54 +02:00
Daniele Debernardi 7b3702e2dd Add gcc4 and gcc4-armhf packages (!216)
Successfully tested both the gcc4 compiler on x86_64 with a simple
program (fbdebug) and the gcc4-armhf cross-compiler to build a very old
u-boot port for Galaxy Nexus (a MR will follow soon) which failed to
boot with either newer version (6 and 8).

[skip ci]: already went through
2019-02-12 21:03:12 +00:00