Compare commits

...
Author SHA1 Message Date
Luca Weiss ca924ffd86 main/libsignon-glib: remove
unity8/wlcs: remove

upstreamed
2021-04-05 07:46:54 +02:00
Luca Weiss 3e483441a3 unity8/qmenumodel: fix compile 2021-04-04 20:44:26 +02:00
Luca Weiss b218ee2b57 unity8/url-dispatcher: fix compile 2021-04-04 20:44:26 +02:00
Luca Weiss b5e6ba71fa unity8/ubuntu-app-launch: fix compile 2021-04-04 20:44:26 +02:00
Luca Weiss 5804d5fb5c unity8/mir: remove dmz-cursor-theme depends
Don't think it's needed
2021-04-04 20:44:26 +02:00
Luca Weiss ec6fdf0f9c main/dmz-cursor-theme: remove
Don't think it's needed
2021-04-04 20:44:26 +02:00
Luca Weiss 5ae2d7f363 unity8/wlcs: upgrade to 1.2.1 2021-04-04 20:44:26 +02:00
Luca Weiss 3524335a4b main/dbus-cpp: remove
main/net-cpp: remove

main/process-cpp: remove

main/properties-cpp: remove
2021-04-04 20:44:26 +02:00
Luca Weiss 0250ad6059 main/libsignon-glib: update to Alpine version 2021-04-04 20:44:25 +02:00
Luca Weiss b47f2f6ddb main/xcursorgen: remove 2021-04-04 20:44:25 +02:00
Luca Weiss 01b1b8dcaa DNM main/properties-cpp: new aport 2021-04-04 20:44:25 +02:00
Luca Weiss 04fe37043b main/net-cpp: upgrade to 2.2.1 2021-04-04 20:44:25 +02:00
Luca Weiss 2e9b48a286 main/process-cpp: upgrade to 3.0.1 2021-04-04 20:44:25 +02:00
Luca Weiss 8d577714cb main/dbus-cpp: upgrade to 5.0.2 2021-04-04 20:44:25 +02:00
Luca Weiss 7c5bf89af3 main/umockdev: remove
In Alpine now
2021-04-04 20:44:25 +02:00
Luca Weiss 6a7b18c9a3 unity8/mir: fix compile 2021-04-04 20:44:25 +02:00
Luca Weiss 1a8b997a93 unity8/*: various upgrades
unity8/location-service: upgrade to 0_git20200818

unity8/qmenumodel: upgrade to 0_git20201008

unity8/settings-components: upgrade to 0_git20201125

unity8/system-settings: upgrade to 0_git20201218

unity8/trust-store: upgrade to 0_git20201008

unity8/ubuntu-download-manager: upgrade to 0_git20201109

unity8/ubuntu-ui-toolkit: upgrade to 0_git20201106

unity8/unity-api: upgrade to 0_git20201016

unity8/url-dispatcher: upgrade to 0_git20200925
2021-04-04 20:44:25 +02:00
Luca Weiss 22d1ba7622 unity8/unity8: upgrade to 0_git20201130 2021-04-04 20:44:25 +02:00
Luca Weiss 08ccd73275 unity8/mir: upgrade to 1.8.1 2021-04-04 20:44:25 +02:00
Luca Weiss 6332d4e778 Remove cmake-3.15 workaround; fixed upstream 2021-04-04 20:44:25 +02:00
Luca Weiss 0d73234f3c unity8/*: Various upgrades
unity8/lomiri-deviceinfo: new aport

unity8/click: upgrade to 0_git20200517

unity8/gmenuharness: upgrade to 0_git20200517

unity8/gsettings-qt: upgrade to 0_git20200715

unity8/libusermetrics: upgrade to 0_git20200517

unity8/platform-api: upgrade to 0_git20200720

unity8/qmenumodel: upgrade to 0_git20171227

unity8/qtmir: upgrade to 0_git20200610

unity8/settings-components: upgrade to 0_git20200527

unity8/system-settings: upgrade to 0_git20200827

unity8/trust-store: upgrade to 0_git20200527

unity8/ubuntu-app-launch: upgrade to 0_git20181230

unity8/ubuntu-download-manager: upgrade to 0_git20200118

unity8/ubuntu-themes: upgrade to 0_git20200211

unity8/ubuntu-ui-toolkit: upgrade to 0_git20200722

unity8/unity-api: upgrade to 0_git20200512

unity8/unity-system-compositor: upgrade to 0_git20200813

unity8/unity8: upgrade to 0_git20200908

unity8/url-dispatcher: upgrade to 0_git20181007
2021-04-04 20:44:25 +02:00
Luca Weiss 4e266223bb Revert "unity8/url-dispatcher: switch source to gitlab"
This reverts commit af2cb6b4656707039b33ad460a8c09d4bc1a9e27.
2021-04-04 20:44:25 +02:00
Luca Weiss 2e9887c918 Add system-settings as dependency of UI package 2021-04-04 20:44:25 +02:00
Luca Weiss ea849be63a unity8/platform-api: update patch 2021-04-04 20:44:25 +02:00
Luca Weiss 8fde605a1d unity8/qtmir: add missing makedepend 2021-04-04 20:44:25 +02:00
Luca Weiss 04cb433ab6 unity8/unity-system-compositor: upgrade to 0_git20200414 2021-04-04 20:44:25 +02:00
Luca Weiss f483bc3436 Revert "unity8/unity-system-compositor: remove"
This reverts commit 4e10be6834a55f934a871154b79904f01077df77.
2021-04-04 20:44:25 +02:00
Luca Weiss 523493464f unity8/url-dispatcher: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss 61406ca9ab unity8/ubuntu-app-launch: add missing makedepend 2021-04-04 20:44:25 +02:00
Luca Weiss 393e700277 unity8/unity-api: fix checksum 2021-04-04 20:44:25 +02:00
Luca Weiss e271215019 unity8/mir: add makedepend
Alpine split the lttng-ust package
2021-04-04 20:44:25 +02:00
Luca Weiss a9465fe2ee unity8/unity8: upgrade to 0_git20200527 2021-04-04 20:44:25 +02:00
Luca Weiss 7f3e6abe08 unity8/unity7-schemas: remove
schema is included in unity8 source now
2021-04-04 20:44:25 +02:00
Luca Weiss 58ebd08c3c unity8/unity-api: satisfy lint 2021-04-04 20:44:25 +02:00
Luca Weiss 34fb72f13b unity8/ubuntu-ui-toolkit: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss 1a35ea5df0 unity8/qtmir: update gtest patch 2021-04-04 20:44:25 +02:00
Luca Weiss e8e7ee6c7b unity8/ubuntu-themes: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss a6607678b9 unity8/ubuntu-download-manager: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss e50c53a79e unity8/ubuntu-app-launch: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss 0fbd799a2b unity8/trust-store: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss f97421e4d3 unity8/ubuntu-ui-toolkit: add missing dependency 2021-04-04 20:44:25 +02:00
Luca Weiss 1444b3742c unity8/system-settings: clean up, build from xenial, partially fix tests 2021-04-04 20:44:25 +02:00
Luca Weiss a372d39668 unity8/settings-components: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss d23b8be385 unity8/qtmir: fix tests 2021-04-04 20:44:25 +02:00
Luca Weiss 30a1d1b15c unity8/qmenumodel: clean up and fix tests 2021-04-04 20:44:25 +02:00
Luca Weiss 48dec5a232 unity8/qdjango: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss 0a1dc60d83 unity8/platform-api: clean up, refresh patches 2021-04-04 20:44:25 +02:00
Luca Weiss bc53146111 main/umockdev: add checkdepends 2021-04-04 20:44:25 +02:00
Luca Weiss 32bb2c06a4 unity8/mir: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss f078eb837c unity8/gmenuharness: disable tests again, fail when cross compiled 2021-04-04 20:44:25 +02:00
Luca Weiss 831b2bd86e main/postmarketos-ui-lomiri: new aport
Just with a default wallpaper for now
2021-04-04 20:44:25 +02:00
Luca Weiss 17d955dfc9 unity8/unity8: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss 8b37a88a35 unity8/unity8: add suru-icon-theme dependency 2021-04-04 20:44:25 +02:00
Luca Weiss 4d4aff35ad unity8/qtmir: add wayland patch 2021-04-04 20:44:25 +02:00
Luca Weiss da7c53cc0c unity8/location-service: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss e26601b18f unity8/libusermetrics: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss f70f2d86f2 unity8/libqtdbustest: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss 1e1fcbe1f5 unity8/libqtdbusmock: clean up and fix tests 2021-04-04 20:44:25 +02:00
Luca Weiss 1aedc71470 unity8/indicator-network: clean up 2021-04-04 20:44:24 +02:00
Luca Weiss 9c6a4dc6b6 Add ubuntu-themes 2021-04-04 20:44:24 +02:00
Luca Weiss 5d332ff356 unity8/gsettings-ubuntu-touch-schemas: clean up 2021-04-04 20:44:24 +02:00
Luca Weiss be463a876e unity8/gsettings-qt: clean up and fix tests 2021-04-04 20:44:24 +02:00
Luca Weiss 448e73050e unity8/gmenuharness: clean up and enable tests 2021-04-04 20:44:24 +02:00
Luca Weiss da4c8fb8a2 unity8/geonames: prettify 2021-04-04 20:44:24 +02:00
Luca Weiss b7212d5478 unity8/cmake-extras: remove 2021-04-04 20:44:24 +02:00
Luca Weiss 18a88fbda2 unity8/click: upgrade to 0_git20200424 2021-04-04 20:44:24 +02:00
Luca Weiss febfeed4ab Rename pmb:no-crossdirect option to !pmb:crossdirect 2021-04-04 20:44:24 +02:00
Luca Weiss ddc67f4199 unity8/content-hub: work around issue in cross build 2021-04-04 20:44:24 +02:00
Luca Weiss 892d58340d unity8/ubuntu-download-manager: disable failing tests 2021-04-04 20:44:24 +02:00
Luca Weiss f881fdfd8e unity8/ubuntu-app-launch: "fix" cross build 2021-04-04 20:44:24 +02:00
Luca Weiss 210574d127 unity8/pthread-cancel-noop: new aport 2021-04-04 20:44:24 +02:00
Luca Weiss 16133d5a4f unity8/unity-api: skip broken test under QEMU 2021-04-04 20:44:24 +02:00
Luca Weiss b799bfeb81 unity8/ubuntu-download-manager: fix tests 2021-04-04 20:44:24 +02:00
Luca Weiss 681d385667 unity8/unity-api: fix tests 2021-04-04 20:44:24 +02:00
Luca Weiss 1609a7e552 unity8/ubuntu-download-manager: add missing impl 2021-04-04 20:44:24 +02:00
Luca Weiss d6a148799f unity8/system-settings: build with cmake 3.15 2021-04-04 20:44:24 +02:00
Luca Weiss 8b4ad6e3f4 unity8/qtmir: get building again 2021-04-04 20:44:24 +02:00
Luca Weiss 890c73b04c unity8/mir: upgrade to 1.8.0 2021-04-04 20:44:24 +02:00
Luca Weiss bd89b62a11 Revert "main/umockdev: remove"
This reverts commit a10a1c8b41.
2021-04-04 20:44:24 +02:00
Luca Weiss 2fa90493e6 unity8/*: everything until qtmir builds 2021-04-04 20:44:24 +02:00
Luca Weiss ad65fc1d7d Revert lomiri package renames 2021-04-04 20:44:24 +02:00
Luca Weiss 00be87e271 main/properties-cpp: remove 2021-04-04 20:44:24 +02:00
Luca Weiss 0934fb83c5 unity8/url-dispatcher: switch source to gitlab 2021-04-04 20:44:24 +02:00
Luca Weiss bdcdfc9e4b unity8/lomiri-app-launch: upgrade to 0_git20200306 2021-04-04 20:44:24 +02:00
Luca Weiss d458d2ed43 unity8/lomiri-api: upgrade to 0_git20200303 2021-04-04 20:44:24 +02:00
Luca Weiss 69c92f260e unity8/lomiri-download-manager: upgrade to 0_git20200303 2021-04-04 20:44:24 +02:00
Luca Weiss bcb5730c25 unity8/cmake-extras: upgrade to 0_git20200225 2021-04-04 20:44:24 +02:00
Luca Weiss e9f0a19d5b unity8/mir: upgrade to 1.7.1 2021-04-04 20:44:24 +02:00
Luca Weiss cdce5ecab9 unity8/content-hub: adjust makedepends 2021-04-04 20:44:24 +02:00
Luca Weiss 0fbb1ab9db unity8/content-hub: adjust check function 2021-04-04 20:44:24 +02:00
Luca Weiss f0cfaaea48 unity8/trust-store: remove invalid -doc subpackage 2021-04-04 20:44:24 +02:00
Luca Weiss 2a98c18502 unity8/mir: upgrade to 1.7.0 2021-04-04 20:44:24 +02:00
Luca Weiss 4fbe0923fd unity8/mir: upgrade to 1.6.0 2021-04-04 20:44:24 +02:00
Luca Weiss b6a1bd79df unity8/unity8: fix build with patch from xenial branch 2021-04-04 20:44:24 +02:00
Luca Weiss 9c711f4205 unity8/unity-system-compositor: remove
apparently not used on desktop
2021-04-04 20:44:24 +02:00
Luca Weiss 05bf94a7be unity8/trust-store: add -lang subpackage 2021-04-04 20:44:24 +02:00
Luca Weiss 5ac8e62fa0 unity8/qtmir: fix build 2021-04-04 20:44:24 +02:00
Luca Weiss 9eb16f4548 main/dbus-cpp & unity8/unity-api: fix build 2021-04-04 20:44:24 +02:00
Luca Weiss e207c77c98 unity8/mir: upgrade to 1.5.0 2021-04-04 20:44:24 +02:00
Luca Weiss 77b0cfff25 unity8/url-dispatcher: disable Werror 2021-04-04 20:44:24 +02:00
Luca Weiss 1311066db4 unity8/indicator-network: remove merged patch 2021-04-04 20:44:24 +02:00
Luca Weiss 1b248fc089 unity8/click: fix build with new abuild 2021-04-04 20:44:24 +02:00
Luca Weiss a319710978 unity8/mir: upgrade to 1.4.0 2021-04-04 20:44:24 +02:00
Luca Weiss b228af534a unity8/ubuntu-download-manager: add patch to fix build 2021-04-04 20:44:24 +02:00
Luca Weiss 08ecd6ae2c unity8/*: various upgrades 2021-04-04 20:44:24 +02:00
Luca Weiss 63af95f34f unity8/wlcs: new aport 2021-04-04 20:44:24 +02:00
Luca Weiss add9ae8460 unity8/*: update some packages 2021-04-04 20:44:24 +02:00
Luca Weiss 1d6beb0f19 main/process-cpp: Don't build tests 2021-04-04 20:44:24 +02:00
Luca Weiss 582ff3ef29 unity8/*: update some packages with patches merged 2021-04-04 20:44:23 +02:00
Luca Weiss 310372907c unity8/mir: add patch to force a drm device
Needed on the pinephone devkit
2021-04-04 20:44:23 +02:00
Luca Weiss 7de8d5c0b1 main/process-cpp: disable tests because they hangs in QEMU 2021-04-04 20:44:23 +02:00
Luca Weiss e009c7b611 unity8/system-settings: fix build with new NetworkManager version 2021-04-04 20:44:23 +02:00
Luca Weiss 3692e213d7 unity8/indicator-network: fix build with new NetworkManager version 2021-04-04 20:44:23 +02:00
Luca Weiss 9457c1f180 unity8/libqtdbusmock: fix build with new NetworkManager version 2021-04-04 20:44:23 +02:00
Luca Weiss 6680a29728 unity8/libqtdbustest: disable tests because of issues when being cross compiled 2021-04-04 20:44:23 +02:00
Luca Weiss 1030770548 unity8/mir: go back to GCC 2021-04-04 20:44:23 +02:00
Luca Weiss 63f857734e unity8: enable all arches again 2021-04-04 20:44:23 +02:00
Luca Weiss 6e279e927e Revert "main/dmz-cursor-theme: drop (!887)"
This reverts commit a6ad088e04.
2021-04-04 20:44:23 +02:00
Luca Weiss 94b260960c Revert "unity8: remove (mir does not build anymore)"
This reverts commit 7d005e693e.
2021-04-04 20:44:23 +02:00
Luca Weiss fafea543d6 Revert "main/cmake-extras: restore aport"
This reverts commit 68edbf1a8b.
2021-04-04 20:44:23 +02:00
Luca Weiss acb2d7e387 Revert "main/*: remove ubports leftovers"
This reverts commit 0d9b581c86.
2021-04-04 20:44:23 +02:00
Luca Weiss e30de3b203 kde/mygnuhealth: new aport (MR 1866)
[ci:skip-build]: already built successfully in CI
2021-04-04 20:21:50 +02:00
MightyM17 00dbf49d30 main/mesa-pvr-dri-classic: bump _llvmver to 11 (MR 2049)
[ci:skip-build]: already built successfully in CI
2021-04-04 20:17:32 +02:00
Oliver Smith d765c4ba14 channels.cfg: mark v21.03 as released
* Move v21.03 before v20.05
* Add note that the release channels have been renamed
* Update all descriptions, mention edge blog in edge description
2021-04-04 11:59:38 +02:00
Newbyte 5503682b82 main/linux-postmarketos-exynos4: upgrade to 5.11.8 (MR 2046)
[ci:skip-build] Already built fine on CI
2021-04-04 03:46:27 +03:00
Miles Alan 629d22b02f sxmo/sxmo-utils: add xcalib as dependency (MR 2091) 2021-04-04 03:39:49 +03:00
Clayton Craft de0bc01e34 purism-librem5: fix bluetooth by disabling LE mode (MR 2089)
This forces coex. mode to only support BT classic/EDR, and disabled LE.
When LE coex. is enabled, BT controller init fails.

see: https://gitlab.com/postmarketOS/pmaports/-/issues/1042
fixes: https://gitlab.com/postmarketOS/pmaports/-/issues/976
2021-04-03 10:58:24 -07:00
Luca Weiss 43eceac673 kde/rattlesnake: upgrade to 0_git20201121 (MR 2090)
[ci:skip-build] already built successfully in CI
2021-04-03 10:37:32 -07:00
Luca Weiss 11929dcc3d kde/qrca: upgrade to 0_git20210401 (MR 2090) 2021-04-03 10:37:32 -07:00
Luca Weiss 12dd7426cb kde/plasma-camera: upgrade to 1.0_git20210328 (MR 2090) 2021-04-03 10:37:32 -07:00
Luca Weiss 626b79e4c7 kde/plasma-bigscreen: upgrade to 0_git20210402 (MR 2090) 2021-04-03 10:37:32 -07:00
Luca Weiss 029cb523f0 kde/peruse: upgrade to 0_git20210402 (MR 2090) 2021-04-03 10:37:32 -07:00
Luca Weiss 772ad884d7 kde/kpeoplesink: upgrade to 0_git20210224 (MR 2090) 2021-04-03 10:37:32 -07:00
Luca Weiss 6879cc0fe1 kde/koko: upgrade to 0_git20210401 (MR 2090) 2021-04-03 10:37:32 -07:00
Luca Weiss 96442f00d3 kde/kairo: upgrade to 0_git20210330 (MR 2090) 2021-04-03 10:37:31 -07:00
Luca Weiss ae2761df67 kde/aura-browser: upgrade to 0_git20210319 (MR 2090) 2021-04-03 10:37:31 -07:00
Luca Weiss 16650e1792 kde/audiotube: upgrade to 0_git20210327 (MR 2090) 2021-04-03 10:37:31 -07:00
Luca Weiss d6857a1521 kde/krecorder: remove, upstreamed to alpine 2021-04-03 15:36:48 +02:00
Luca Weiss c943845c4e kde/qmlkonsole: remove, upstreamed to alpine 2021-04-03 15:36:45 +02:00
Luca Weiss c6ae69ff2d main/qmltermwidget: remove, upstreamed to alpine 2021-04-03 15:36:30 +02:00
Maarten van Gompel 314ad6af62 main/postmarketos-ui-sxmo: upgrade to 1.4.1-r1 (MR 2086)
Added some pmb_recommends dependencies that were missing
from default install:
 - megapixels (camera app)
 - feh (image viewer)
2021-04-02 22:43:57 +03:00
Minecrell aa1eefc44a unmaintained/bq-paella-downstream: cleanup, add various debug patches (MR 2081)
These are various debugging related patches that I have used over the time
when attempting to get new features working for the mainline kernel.
Given that the downstream kernel is just intended for debugging in this case,
it seems convenient to add them to pmaports so I don't need to go search for
them in case I need them again in the future.

[ci:skip-build] Already built on CI
2021-03-31 23:49:26 +03:00
Maarten van Gompel dfb394ab8b sxmo/sxmo-utils: upgrade to 1.4.1 (MR 2082) 2021-03-31 17:12:31 +02:00
Maarten van Gompel 13b9b0dc86 sxmo/sxmo-xdm-config: upgrade to 0.3.1 (MR 2082) 2021-03-31 17:10:13 +02:00
Maarten van Gompel 85b07123c7 main/postmarketos-ui-sxmo: upgrade to 1.4.1 (version bump) (MR 2082) 2021-03-31 17:08:47 +02:00
Oliver Smith 708d3bcbdb cross/busybox-static-*: upgrade to 1.33.0-r5 2021-03-30 23:53:41 +02:00
Oliver Smith a909e543f3 nokia-n900: add PMOS_FORCE_PARTITION_RESIZE (MR 2076)
Resize the partition when using a pre-built image. We didn't notice that
this was missing, because N900 images are new and we only tested from
pmbootstrap install --sdcard, which already uses the full SD card size.
2021-03-30 23:03:49 +02:00
Rasmus Rendal 06b1e1cffb main/gpodder-adaptive: add dependency to icons (MR 2069)
As suggested by ollieparanoid, adds adwaita-icon-theme as a dependency
to gpodder-adaptive, for users that don't use phosh.

[ci:skip-build]: already built successfully in CI
2021-03-29 23:48:18 +02:00
Maarten van Gompel 2aca3104bd main/postmarketos-ui-sxmo: upgrade to 1.4.0 (MR 2067) 2021-03-29 22:18:32 +02:00
Maarten van Gompel b04e722de7 sxmo/sxmo-utils: upgrade to 1.4.0.4 (MR 2067) 2021-03-29 22:18:28 +02:00
Maarten van Gompel caf7ca11e1 sxmo/clickclack: new aport (MR 2067) 2021-03-29 22:17:30 +02:00
Maarten van Gompel 700d863c27 sxmo/sxmo-st: upgrade to 0.8.3.4 (MR 2067) 2021-03-29 22:17:30 +02:00
Maarten van Gompel 22a65ae655 sxmo/sxmo-dwm: upgrade to 6.2.12 (MR 2067) 2021-03-29 22:17:30 +02:00
Maarten van Gompel b7f8c92787 sxmo/sxmo-xdm-config: upgrade to 0.3.0 (MR 2067) 2021-03-29 22:17:30 +02:00
Maarten van Gompel 1edc0b8c3f sxmo/sxmo-dmenu: upgrade to 5.0.9 (MR 2067) 2021-03-29 22:17:26 +02:00
Oliver Smith a9a343dc16 pine64-pinephone: drop setup-modem.sh.ofono (MR 2066)
Now that eg25-manager is able to send the AT commands to the modem, even
when ofono is used, drop the ofono specific script.
2021-03-28 23:26:36 +02:00
Oliver Smith 99a4cf071d temp/eg25-manager: fork from alpine (MR 2066)
Upgrade to latest git master version, which has a couple of patches to
fix ofono incompatibilities. The few other patches look fine too.
2021-03-28 23:26:30 +02:00
Oliver Smith 768369df16 cross/gcc-*: upgrade to 10.2.1_git20210328 2021-03-28 20:50:54 +02:00
JuniorJPDJ 817de9fd0a temp/u-boot-goclever-gcta741l: split to separate packages (MR 2064)
[ci:skip-vercheck] bugged subpackage version
2021-03-28 16:29:54 +03:00
Alexey Minnekhanov bb12ca1424 device-samsung-klte: workaround to probe bluetooth reliably (MR 2015)
Buetooth modules have to be probed after Wi-Fi ones.
2021-03-28 03:53:01 +03:00
Alexey Minnekhanov 2735b9b64b firmware-samsung-klte: add Bluetooth firmware (MR 2015) 2021-03-28 03:52:57 +03:00
Alexey Minnekhanov 21673bb9d0 device-lg-hammerhead: workaround to probe bluetooth reliably (MR 2015)
Buetooth modules have to be probed after Wi-Fi ones.
2021-03-28 03:52:54 +03:00
Alexey Minnekhanov 130ae69c69 lg-hammerhead: move Wi-Fi firmware file to firmware package (MR 2015)
brcmfmac4339-sdio.txt file does not belong to device package.
2021-03-28 03:52:51 +03:00
Alexey Minnekhanov c760101d68 device-lg-hammerhead: remove unused file and sort sources (MR 2015)
modules-load.conf was completely unused by this package,
not installed anywhere. brcmfmac is loaded automatically anyway.

Sort values in sources= alphabetically
2021-03-28 03:52:47 +03:00
Luca Weiss 6eeab7840c msm8974 devices: allow vram carveout (MR 2015)
This is needed with the 5.11 kernel. Also adjust the vram & cma sizes
for all msm8974 devices.

The CMA size is 256MB as set in the kernel config.

VRAM is default 16MB although it is set to 192MB with a kernel patch;
but set it manually for all devices to make it possible to remove this
patch in the future - until we have IOMMU working.
2021-03-28 03:52:43 +03:00
Luca Weiss aca8e29d17 main/linux-postmarketos-qcom-msm8974: upgrade to 5.11.10 (MR 2015)
- Remove bam-dmux raw-ip related patches (already included in source)
- Depend on gmp-dev, mpc1-dev, mpfr-dev to build with GCC_PLUGINS support.
- Reduce package size (INSTALL_MOD_STRIP=1) from 119.6 MB to 21.5 MB
- Kernel config changes:
  - make interconnect module built-in
  - remove unused built-in DSI PHY drivers
2021-03-28 03:52:28 +03:00
JuniorJPDJ 698a49058d lark-freeme-70-2s: new device (MR 2040)
still missing:
* touchscreen driver
* front camera

[ci:skip-build] Already built fine on CI
2021-03-28 00:37:38 +03:00
JuniorJPDJ 34b1b44046 main/linux-postmarketos-allwinner: add lark-freeme-70-2s device tree and LCD panel (MR 2040)
also enables Domintech DMARD06 accelerometer and X-Powers AXP20X PMU pinctl driver
2021-03-27 17:48:08 +00:00
JuniorJPDJ ab59db10e7 main/linux-postmarketos-allwinner: enable USB OTG and Gadget options on armv7 (MR 2040) 2021-03-27 17:48:08 +00:00
JuniorJPDJ 90641c110b main/linux-postmarketos-allwinner: enable USB wireless drivers on armv7 (MR 2040) 2021-03-27 17:48:08 +00:00
JuniorJPDJ a39240bce7 goclever-gcta741l: new device (MR 2040)
still missing:
* audio
* lcd backlight control
* touchscreen driver
* front camera
* accelerometer mount fix (driver seem not to support mount-matrix)
* 3D acceleration
* HDMI support
2021-03-27 17:48:08 +00:00
JuniorJPDJ caa3f7193f main/linux-postmarketos-allwinner: add goclever-gcta741l device tree and LCD panel (MR 2040)
also enables Freescale MMA7660 accelerometer driver
2021-03-27 17:48:08 +00:00
JuniorJPDJ 3ae93e8bd5 main/linux-postmarketos-allwinner: upgrade to orange-pi-5.11-20210325-1125 tag (MR 2040)
No manual config changes.
WoWLAN patch is in magi's tree now
2021-03-27 17:48:08 +00:00
JuniorJPDJ 41330a554d main/linux-postmarketos-allwinner: add armv7 architecture (MR 2040)
config is based on sunxi_defconfig altered to conform with kconfig check
2021-03-27 17:48:08 +00:00
Clayton Craft 3d09f9c10d device-purism-librem5: add nonfree subpackage w/ wifi/bt firmware (MR 2059)
Workaround for https://source.puri.sm/Librem5/linux-next/-/issues/290

This requires a kernel with the flash mode *disabled* in the Redpine
RS911x driver.

[ci:skip-build] already passed CI
2021-03-27 18:37:12 +01:00
Clayton Craft ddf56b5169 linux-purism-librem5: disable RS9116 fw flashing (MR 2059)
This allows loading nonfree fw from rootfs (/lib/firmware), to work
around: https://source.puri.sm/Librem5/linux-next/-/issues/290

This change will break wifi unless the nonfree
firmware-siliconlabs-rs9116 package is installed.
2021-03-27 18:37:11 +01:00
Clayton Craft b8c77b240e device/community/firmware-siliconlabs-rs9116: new aport (MR 2059)
This packages the nonfree Silicon Labs RS9116 firmware, required by the
RS9116 chip when flash mode is *not* enabled in the kernel driver.
2021-03-27 18:37:10 +01:00
Clayton Craft aaca2d5d38 linux-purism-librem5: upgrade to 5.11.6 (MR 2059)
Upstream changelog:
https://source.puri.sm/Librem5/linux-next/-/commit/61e6fc1d50487aa3a7ca112d78f94c3e4ddee976
2021-03-27 18:37:02 +01:00
Yassine Oudjana 0b12d68ae6 xiaomi-scorpio: switch to mainline kernel (MR 2063)
[ci:skip-build] already passed CI
2021-03-27 18:23:23 +01:00
Yassine Oudjana 45cf222a72 firmware-xiaomi-scorpio: new aport (MR 2063) 2021-03-27 20:12:45 +04:00
Yassine Oudjana d44da6db7d oneplus-oneplus3t: add soc-qcom-msm8996 dependency (MR 2063) 2021-03-27 20:11:30 +04:00
Yassine Oudjana 65c099277d oneplus-oneplus3: add soc-qcom-msm8996 dependency (MR 2063) 2021-03-27 20:10:51 +04:00
Yassine Oudjana 9075406d79 soc-qcom-msm8996: new aport (MR 2063) 2021-03-27 20:10:34 +04:00
Yassine Oudjana f01b077431 main/linux-postmarketos-qcom-msm8996: upgrade to 5.11.10 (MR 2063) 2021-03-27 20:08:12 +04:00
Angus Gibson 9738f61aa5 lenovo-tb8504f: new device (Lenovo Tab 4 8) (TB-8504F) (MR 2048)
[ci:skip-build] Already built in CI
2021-03-25 20:37:39 -07:00
Oleg Chernovskiy 88da612343 device-oneplus-bacon: Add firmware dependency (MR 2027) 2021-03-25 20:32:26 -07:00
Oleg Chernovskiy 754902d3ae device/testing/firmware-oneplus-bacon: new aport (MR 2027) 2021-03-25 20:31:36 -07:00
frojnd da4afb710b linux-motorola-falcon: fix fb format, upgrade to latest commit (MR 2058)
[ci:skip-build] Already built successfully on CI
2021-03-24 17:18:10 +03:00
Vincent Knecht bd3f2f5933 alcatel-idol347: new device (MR 2050)
New mainline port with most things working (usb/wifi/bt/3d-accel/sound/gps).
Modem/calls/sms/mobile-data should work but couldn't test it recently
due to broken devices.
2021-03-23 20:29:41 +01:00
Minecrell fbdb5f9164 main/linux-postmarketos-qcom-msm8974: add BAM-DMUX patches (MR 2053)
These are required to make it work with the latest ModemManager patches,
especially the patch that switches BAM-DMUX to Raw-IP mode.

[ci:skip-build]: already built successfully in CI
2021-03-22 21:43:26 +01:00
Minecrell 0108b8ba6e main/linux-postmarketos-qcom-msm8916: upgrade to 5.11.7 (MR 2039)
- Update to Linux 5.11.7
- Upstreamed more patches
- Switch BAM DMUX (mobile data) driver to Raw-IP mode.
  This makes it work with the upstream version of ModemManager,
  reduces overhead a bit and is overall cleaner.
- Add QMI "memshare" driver which is needed for GPS to work on most
  MSM8916 devices.
  - GPS has been tested successfully on:
    - alcatel-idol347
    - lg-m216
    - longcheer-l8150 (wileyfox-crackling)
    - longcheer-l8910 (bq-paella)
    - motorola-harpia
    - motorola-osprey
    - samsung-a2015 (a3(u)lte, a5(u)lte)
    - samsung-serranovelte
    - wingtech-wt88047 (xiaomi-wt88047)
  - Needs more testing/investigation on:
    - asus-z00l
    - asus-z010d
    - wingtech-wt865x8

- Add SMB1360 battery/charger/OTG driver for longcheer-l8190
  and wingtech-wt88047.
- Rework TFA9895 speaker amplifier driver for potential upstreaming,
  make it work for TFA9897, add channel selection and a lot of cleanup.

- Add INSTALL_MOD_STRIP=1 to maybe reduce the size of modules a bit.
- Other things I forgot :)

Device changes:
  - alcatel-alto5-vdf: Initial support for Vodafone Smart prime 6
    - USB
    - Storage (eMMC, SD card)
    - Buttons
    - WiFi, Bluetooth
  - alcatel-idol347: Initial support for Alcatel Idol 3 (4.7")
    - USB
    - Storage (eMMC, SD card)
    - Display, Brightness
    - Touchscreen, Buttons, Vibrator
    - WiFi, Bluetooth
    - Accelerometer, Magnetometer, Gyroscope, Proximity
    - Audio (no headphones yet)
    - Modem (voice call audio needs some more minor changes)
  - asus-z00l
    - SD card
    - IMU (Accelerometer + Gyroscope), Magnetometer
  - lg-m216
    - Battery/charging
  - longcheer-l8150 (wileyfox-crackling)
    - Tweak battery values slightly for 25°C instead of 0°C
  - longcheer-l8910 (bq-paella)
    - Battery/charging
    - USB OTG
  - motorola-harpia
    - Add panel driver for "boe" panel
  - samsung-gt510wifi/matissevewifi:
    - Fix touchscreen
  - wingtech-wt88047 (xiaomi-wt88047)
    - Battery/charging
    - USB OTG

[ci:skip-build]: already built successfully in CI
2021-03-22 21:22:40 +01:00
Minecrell 47ec08d635 community/soc-qcom-msm8916: update UCM files (MR 2039)
- Fix speaker on xiaomi-mido
- Add UCM configuration for alcatel-idol347
2021-03-22 21:22:08 +01:00
Minecrell e9275054fa xiaomi-wt88047: include smb1360 (battery/charger driver) in initfs (MR 2039)
This is needed for USB to initialize correctly.
2021-03-22 21:22:08 +01:00
Minecrell b208647c58 bq-paella: include smb1360 (battery/charger driver) in initfs (MR 2039)
This is needed for USB to initialize correctly.
2021-03-22 21:22:08 +01:00
Dylan Van Assche a57d0c630e device-pine64-pinephone: Override eg25-manager configs (MR 1931)
Figured out with a Quectel engineer and the ModemManager maintainer
2021-03-22 21:20:31 +01:00
Dylan Van Assche 2055cfad30 device-pine64-pinephone: disable ModemManager's suspend/resume hooks (MR 1931) 2021-03-22 21:20:06 +01:00
Minecrell 23d94d7b8c temp/ofono: add patch to update modem data format if necessary (MR 2037)
(Also sync with Alpine while I'm at it...)

This is necessary for mobile data to work on MSM8916-based devices
after some changes in the network driver (bam-dmux) to operate in
Raw-IP mode instead of Ethernet mode (which is somewhat broken).
2021-03-22 21:18:34 +01:00
Dylan Van Assche 520894dc1b temp/modemmanager: dropped, upstreamed to Alpine 2021-03-22 21:18:10 +01:00
Martijn Braam 15d740b746 device/pine64-pinebookpro: switch to mainline (MR 2021)
* Add u-boot build with a lot of patches that makes the display work in
  u-boot for boot selection
* Upgrade the rockchip kernel to 5.11 mainline with config for the
  rk3399 devices built-in
* Make the rockpro64 and pinebook pro use the newer kernel

[ci:skip-build]
2021-03-22 00:41:27 +01:00
Minecrell 86eff19e0b community/asus-me176c: fix splash screen width and phosh scaling (MR 2047)
Actually the display in asus-me176c has a width of 800px, which means
that the splash screen isn't perfectly centered. Correct this in
deviceinfo to make it show up correctly.

Also, add configuration file for Phosh to reduce scaling a bit to 1.75.
It's kind of subjective but scaling = 2 definitely feels too large.

[ci:skip-build]: already built successfully in CI
2021-03-21 21:17:59 +01:00
Minecrell 2094a44b23 community/linux-asus-me176c: upgrade to 5.4.107 (MR 2047) 2021-03-21 21:17:57 +01:00
Clayton Craft 2751cd7c64 temp/gtk+3.0: upgrade to 3.24.27 (MR 2042)
This is 3.24.27 w/ Purism's mobile UI patches in their fork. According
to Purism, 3.24.27 resolves some stability issues (like a segfault when
scrolling)

[ci:skip-build]: already built successfully in CI
2021-03-21 20:27:54 +01:00
Oliver Smith d20d4d2430 temp/sqlite*: fork from alpine, downgrade to 3.34.1 (MR 2054)
Fork because the newer version 3.35 causes segfaults in the "calls" app
and others on the PinePhone.

[ci:skip-build]: already built successfully in CI
2021-03-21 19:46:39 +01:00
Clayton Craft 56a0531ad2 linux-purism-librem5: build led-pattern driver into kernel (MR 2043)
There's a race condition between when the pwmled device is initialized,
which kicks off a feedbackd udev rule that configures the led trigger to
'pattern', and when ledtrig_pattern actually loads. It seems to mostly
load after the rule runs, so the trigger is never set to 'pattern' on
boot.

This removes the race by building the ledtrig_pattern driver into the
kernel.

[ci:skip-build] Already build successfully in CI
2021-03-21 10:54:29 -07:00
Clayton Craft a44713cf0d linux-purism-librem5: add patch to fix wifi performance regression (MR 2043)
This patch fixes a fairly severe performance regression with wifi on the
L5 (something like 20x improvement in performance with this patch)

[ci:skip-build] Already build successfully in CI
2021-03-21 10:54:29 -07:00
Oliver Smith 31ed6f21ef main/postmarketos-mkinitfs: fix space issues (MR 2051)
In order to have hardware acceleration in osk-sdl, we have included mesa
for some devices (like the PinePhone) in initfs-extra. Mesa drags in
libLLVM, which got a size increase of 27 MB in the last version. This
leads to running out of space on the boot partition:

  ==> initramfs: creating /boot/initramfs-postmarketos-allwinner-extra
  gzip: write error: No space left on device
  cpio: write error: Broken pipe

Improve the situation by not directly writing initfs-extra to /boot
(next to the old version), but to a temporary directory first. Replace
the old version with the new version afterwards (like before).

This is a rather minimal fix for this specific issue. The mkinitfs
script needs more fixing (it's one of the oldest pieces of code in
postmarketOS and could use a rewrite...), but that's out of scope for
this patch.
2021-03-21 17:22:44 +01:00
Newbyte c6539b51e5 temp/gnome-contacts: rebuild against latest evolution-data-server (MR 2045) 2021-03-20 11:48:05 +01:00
JuniorJPDJ 93174b17dc main/*: use xwayland instead of xorg-server-xwayland (MR 2041) 2021-03-19 15:31:12 +01:00
Bart Ribbers 3f45a260a3 main/telephony-service: drop, not required anymore 2021-03-19 15:11:04 +01:00
Clayton Craft 759c2aa94e temp/wys: drop, newer version in Alpine (MR 2036)
Upstream Alpine has a later version now, the fork is no longer needed.
2021-03-19 13:08:49 +01:00
Ben Court eb3ab3f0f8 device/motorola-osprey: remove msm and rmi-i2c from initfs (MR 2038)
These drivers make the boot.img to large to fit on the boot partition
of the osprey
2021-03-18 17:21:44 +01:00
Minecrell a28c58a704 cross/binutils-*: fix build
aportgen generates this incorrectly, we don't want any subpackages
for these cross packages...
2021-03-18 13:41:12 +01:00
Minecrell c7bd805910 cross/gcc-*: upgrade to 10.2.1_git20210318 2021-03-18 13:26:51 +01:00
Minecrell 5110703bd6 cross/binutils-*: upgade to 2.35.2 2021-03-18 13:26:24 +01:00
Luca Weiss 63d374e694 kde/audiotube: new aport (MR 2029) 2021-03-18 01:36:38 -07:00
Unknown 4d651d6069 pegatron-chagall: initial mainline port (formerly fujitsu-m532) (MR 1907)
The device has been renamed from fujitsu-m532 to pegatron-chagall since several rebrands of this board exist (Olivetti Olipad3, Siragon 4N, etc.), and Fujitsu M532 is just one of those.

Signed-off-by: Raffaele Tranquillini <raffaele.tranquillini@gmail.com>
2021-03-18 01:25:51 -07:00
Clayton Craft 9ae9a7eb2c device-purism-librem5: do not start nonexistent service (MR 2034)
Fixes https://gitlab.com/postmarketOS/pmaports/-/issues/1010
2021-03-17 13:36:40 -07:00
Clayton Craft 0dc254adef device-purism-librem5: use bq25890 ship mode support in kernel (MR 2032)
Ship mode via the mechanism used by purism doesn't work; it's either not
possible or outside my understanding to run an openrc runscript with a
busybox init on *poweroff* and *not reboot*, which is what is required
for this to work properly..

This module param requires a corresponding kernel patch to enable ship
mode support in the bq25890-charger module
2021-03-16 07:38:22 +01:00
Clayton Craft ee89b6cb24 linux-purism-librem5: add bq25890 patch for ship mode on poweroff (MR 2032)
Submitted to purism here:
https://source.puri.sm/Librem5/linux-next/-/merge_requests/333
2021-03-16 07:38:17 +01:00
Anri Dellal 03847696e1 linux-nobby-230: install modules (MR 2031)
- Changes APKBUILD to build and install kernel modules
- Build UBIFS support as module

[ci:skip-build] Already passed CI
2021-03-16 07:43:46 +03:00
Amy 847f4414d2 linux-motorola-channel: recreate defconfig (MR 2028)
This fixes the issues with the touch screen on XT1952-1.

[ci:skip-build] Already built fine on CI
2021-03-16 07:26:19 +03:00
Clayton Craft fe3620e93d linux-purism-librem5: upgrade to 5.11.4 (MR 2018)
Upstream change logs:

5.11.2:
https://source.puri.sm/Librem5/linux-next/-/commit/fdc91c4e20af5146c9733f16ca6912fb5721e69b

5.11.4:
https://source.puri.sm/Librem5/linux-next/-/commit/a178aa515c9474d8a3d4b473def3027be96d6772

This also adds a -dev subpackage, and cleans up makedepends

[ci:skip-build]: already built successfully in CI
2021-03-14 23:28:31 -07:00
David W 6ecdcbf9b5 samsung-santos10wifi: new device (Samsung Galaxy Tab 3 10.1 Wi-Fi) (MR 2022)
[ci:skip-build]: already built successfully in CI
2021-03-14 21:33:25 +01:00
Oliver Smith 743c3eda7e Revert "CI: skip armhf, x86 build on stable branches (MR 2024)"
This does not work as expected, CI doesn't run for x86 and armhf on
master too. An attempt to fix this was made in MR 2030, but it didn't
work as expected and it's not worth looking into this further right now.

This reverts commit d695455f08.
2021-03-14 21:29:05 +01:00
Svyatoslav Ryhel 93f2d82d1d asus-tf300t: new device (ASUS Transformer PAD) (MR 2026)
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
[ci:skip-build]: already built successfully in CI
2021-03-14 21:17:19 +01:00
Svyatoslav Ryhel 1714502033 main/linux-postmarketos-grate: update to 5.12_rc2 (MR 2026)
This updates the current commit hash to latest on grate/master.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
2021-03-14 21:16:33 +01:00
Svyatoslav Ryhel 9ef16ab7b6 testing/firmware-asus-transformer: rebrand firmware package (MR 2026)
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
2021-03-14 21:16:23 +01:00
Luca Weiss ed02df3fe1 cross/gcc-*: upgrade to 10.2.1_pre2-r0 2021-03-14 11:32:02 +01:00
Oliver Smith d695455f08 CI: skip armhf, x86 build on stable branches (MR 2024)
Don't try to build for arches where we don't have a binary repository on
stable branches.
2021-03-13 02:30:45 +01:00
Clayton Craft cbc8a94392 device-purism-librem5dev: use new u-boot location (MR 2023)
[ci:skip-build]: already built successfully in CI
2021-03-13 02:18:36 +01:00
Clayton Craft 07193614cb device-purism-librem5: use new u-boot location (MR 2023) 2021-03-13 02:18:13 +01:00
Clayton Craft d2014e2606 temp/u-boot-librem5: upgrade to latest u-boot from purism (MR 2023)
Changes from purism:
- 2 second boot delay removed
- This includes an updated DDR memory training firmware version.
- patch to work around wifi device not being available on boot

Package changes:
- u-boot installed in location consistent with other pmaports/u-boot
  packages
- update-u-boot script added for upgrading u-boot on the device
- devkit u-boot split off into a sep. subpackage
2021-03-13 02:18:09 +01:00
Alexey Min 27c3de6c82 cross/busybox-static-*: upgrade to 1.33.0-r4 2021-03-12 16:24:18 +03:00
Bart Ribbers 5c11c04856 kde/peruse: add missing dep on okular-common-qml (MR 2016) 2021-03-12 10:26:14 +01:00
Clayton Craft 17720fa870 gitlab-ci: disable ccache when building changed aports (MR 2020)
This disables ccache in the CI when building packages. I think ccache is
not necessary since the CI will never build a package twice in the same
pipeline, and ccache dir is not preserved for use between pipelines.
There is a real time cost to compiling with ccache enabled on the
initial compile (compressing objects for cache, etc), and some testing
with building the linux-purism-librem5 kernel in the CI shows this cost
can be significant... ~160 minutes when ccache is enabled vs ~105
minutes when it is disabled with this patch.

kernel compile CI runs referenced:
https://gitlab.com/postmarketOS/pmaports/-/jobs/1087602863
https://gitlab.com/postmarketOS/pmaports/-/jobs/1087956999

Some testing on my laptop using osk-sdl with and without ccache for
initial compile:

ccache disabled:
$ rm _build -r && CCACHE_DISABLE=1 meson _build >/dev/null && CCACHE_DISABLE=1 time meson compile -C _build
ninja: Entering directory `_build'
[10/10] Linking target osk-sdl
7.76
$ rm _build -r && CCACHE_DISABLE=1 meson _build >/dev/null && CCACHE_DISABLE=1 time meson compile -C _build
ninja: Entering directory `_build'
[10/10] Linking target osk-sdl
7.89
$ rm _build -r && CCACHE_DISABLE=1 meson _build >/dev/null && CCACHE_DISABLE=1 time meson compile -C _build
ninja: Entering directory `_build'
[10/10] Linking target osk-sdl
7.71

ccache enabled:
$ rm /tmp/ccache _build -r && CCACHE_DIR=/tmp/ccache meson _build >/dev/null&& CCACHE_DIR=/tmp/ccache time meson compile -C _build
ninja: Entering directory `_build'
[10/10] Linking target osk-sdl
8.62
$ rm /tmp/ccache _build -r && CCACHE_DIR=/tmp/ccache meson _build >/dev/null&& CCACHE_DIR=/tmp/ccache time meson compile -C _build
ninja: Entering directory `_build'
[10/10] Linking target osk-sdl
8.46
$ rm /tmp/ccache _build -r && CCACHE_DIR=/tmp/ccache meson _build >/dev/null&& CCACHE_DIR=/tmp/ccache time meson compile -C _build
ninja: Entering directory `_build'
[10/10] Linking target osk-sdl
8.54
2021-03-11 19:40:43 +01:00
Alexander Brzoska 8b70a0c012 main/qtwebbrowser: add missing dependencies (MR 2012)
`qt5-qtquickcontrols` and `qt5-qtgraphicaleffects` are needed, else
qtwebbrowser shows a blackscreen on start.

[ci:skip-build]: already built successfully in CI
2021-03-07 21:14:52 +01:00
Clayton Craft 6ed0879afe device-purism-librem5: upgrade to 1.15 (MR 2009)
This includes a new librem5-base config release, the most notable change
being some mic echo cancellation changes in pulseaudio config.

Upstream changelog:
https://source.puri.sm/Librem5/librem5-base/-/commit/351958ffc0ff21e31647d69e23e47aefdf2ec396

Note: I did not include the upstream change to disable wifi PM. I don't
find the performance to be so bad that it's worth giving up some battery
efficiency for.

Note: the librem5-base thing from purism has a new naming/versioning
format, which is in line with some of their other projects, so the
APKBUILD has been updated to support that too
2021-03-07 20:15:28 +01:00
Bart Ribbers 4c470a4c69 main/pure-maps: drop, upstreamed to Alpine 2021-03-07 17:42:35 +01:00
Bart Ribbers 886a03f0e0 main/mapbox-gl-native: drop, upstreamed to Alpine 2021-03-07 17:42:19 +01:00
Bart Ribbers ded44ff3a1 main/mapbox-gl-qml: drop, upstreamed to Alpine 2021-03-07 17:42:04 +01:00
Minecrell 157dd0aa75 cross/gcc-*: upgrade to 10.2.1_pre1-r4 2021-03-07 16:34:33 +01:00
Joel Selvaraj 14ecfb8ead device/testing/soc-qcom-sdm845: add ALSA UCM subpackage (MR 1962)
Based on https://gitlab.com/sdm845-mainline/alsa-ucm-conf
[ci:skip-build]: already built successfully in CI
2021-03-06 16:14:34 +01:00
Joel Selvaraj 140a3b528b device/testing/linux-xiaomi-beryllium*: remove (MR 1962)
Downstream kernel is outdated and no longer maintained by us. Thus,
removed. The linux-xiaomi-beryllium-mainline kernel is removed because
its superseded by the common sdm845 kernel and is no longer needed.
2021-03-06 16:12:07 +01:00
Joel Selvaraj 0f7c330712 xiaomi-beryllium: switch kernel to qcom-sdm845 (MR 1962)
Remove downstream kernel and use the common linux-postmarketos-qcom-sdm845
kernel.
2021-03-06 16:09:24 +01:00
Joel Selvaraj 524287186d firmware-xiaomi-beryllium: update to different source (MR 1962) 2021-03-06 16:09:19 +01:00
Mark Hargreaves 241f34f4fe xiaomi-clover: new device (Xiaomi Mi Pad 4) (MR 2003)
[ci:skip-build] Already built on CI
2021-03-05 16:48:25 +03:00
Mark Hargreaves a690b29510 linux-postmarketos-qcom-sdm660: update to 5.10-rc6 (MR 2003) 2021-03-04 21:54:16 +03:00
Bart Ribbers af512dbfca main/postmarketos-ui-plasma-mobile: configure the keyboard to be less huge (MR 2007) 2021-03-04 11:24:15 +01:00
Bart Ribbers 67316c2088 main/postmarketos-ui-plasma-mobile: add hfd-service to dependencies (MR 2006)
This will allow tactile feedback on key presses when using the Maliit
keyboard
2021-03-04 00:04:36 -08:00
InsanePrawnandCaleb Connolly 2fdbd70d48 soc-qcom-sdm845: add udev rule to tag haptics motor for feedbackd (MR 2002)
Co-authored-by: Caleb Connolly <caleb@connolly.tech>
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2021-03-03 15:43:09 +03:00
Oliver Smith f23e6117bb main/mobile-config-firefox: upgrade to 2.0.1 (MR 2004) 2021-03-03 15:21:47 +03:00
Alexey Min a857a69c87 linux-postmarketos-qcom-msm8916: add support for zram (MR 2005) 2021-03-03 12:32:52 +03:00
Duje Mihanovic 2978b95c1f lg-vee3e: new device (MR 1977)
[ci:skip-build]: already built successfully in CI
2021-03-02 23:34:31 +01:00
Oliver Smith fcc2ef8f86 temp/u-boot-librem5: use pmb:cross-native (MR 1988)
Let pmbootstrap build the package in the native chroot. This is
important for the v21.03 branch, which needs to ship its own
cross-embedded toolchain, as the one from Alpine is only in testing and
therefore not available in the Alpine v3.13 branch that pmOS v21.03 is
based on. By using the native branch, it is enough to build the
cross-embedded toolchain for x86_64, and we can avoid qemu related
errors when attempting to build it for arm architectures.

As a nice benefit, this makes compilation of the package faster on edge,
too.

[ci:skip-build]: already built successfully in CI
2021-03-02 23:22:46 +01:00
Oliver Smith 989444eb05 cross/musl-*: upgrade to 1.2.2-r2 2021-03-02 23:00:06 +01:00
Edwin 079f4f59f9 xiaomi-dior: new device (Xiaomi Redmi Note 4G) (MR 1992)
Add support for xiaomi-dior. Fix framebuffer bugs, now fbcon
and X server works.

[ci:skip-build] Already built in CI
2021-03-02 14:56:47 +03:00
Clayton Craft 184bc634e6 temp/upower: fix led detection on the librem5 (MR 1986)
The previous implementation of this caused upower to select a thing
called 'flash_strobe' in the L5, which doesn't operate like a
flashlight. This changes the detection logic to look at the suffix, on
the pinephone the device ends in ':flash', and on the L5 it ends in
':torch'.

fixed #967
2021-03-02 11:34:45 +03:00
Clayton Craft 81e374c3c6 temp/upower: add patch for supporting usb chargers (MR 1986)
This patch is in purism's fork and it removes messages like this when
starting upower on the librem5 by properly detecting/setting the type:

    TI:15:11:12     did not recognise USB path /sys/devices/platform/soc@0/30800000.bus/30a20000.i2c/i2c-0/0-003f/power_supply/tps6598x-source-psy-0-003f, please report
    ...
    TI:15:11:12     did not recognise USB path /sys/devices/platform/soc@0/30800000.bus/30a50000.i2c/i2c-3/3-006a/power_supply/bq25890-charger, please report
2021-03-02 11:34:42 +03:00
Bart Ribbers acde488d3c main/mapbox-gl-qml: upgrade to 1.7.6 (MR 2001) 2021-03-01 22:29:22 +01:00
Caleb Connolly 41bd4c2373 linux-postmarketos-qcom-sdm845: fix LOCALVERSION (MR 2000)
[ci:skip-build] Already built on CI
2021-03-01 10:33:02 +03:00
Clayton Craft 3ed8a1b07c device-purism-librem5: add smartcard reader support (MR 1993)
This adds a new subpackage that installs dependencies and configures the
smartcard reader on the librem 5. Some setup is required before this
will work (e.g. upgrading reader firmware), the L5 wiki page will have
this information.

The pcsc init script was forked into this package to allow for powering
on the reader *before* the service started. Doing this in a separate
init script would have caused the reader to power on regardless of
whether the pcsc service was set to start, which is not desirable since
it should *only* be powered on when pcsc is starting
2021-02-28 10:50:36 +03:00
Oliver Smith bf1e0b82bc main/postmarketos-android-recovery-installer: upgrade to 1.0.4 (MR 1999)
Fix crash if /etc/skel is missing.
2021-02-28 06:57:22 +03:00
Iskren Chernev d8ac6e9a35 oneplus-billie2: new device (OnePlus Nord N100) (MR 1989)
So far the debug-shell in initfs works. The device uses dynamic
partitions, so that has to be figured out to get a proper rootfs.

One thing to look out for is that mount_subpartitions task in initfs
hangs, so pmos_boot=sth was added to kernel cmdline to skip it. This is
also related to dynamic partitions, anyway.

[ci:skip-build] Already built on CI
2021-02-28 05:47:34 +03:00
Clayton Craft f65516e2cf community/linux-purism-librem5: upgrade to 5.11.1pureos1 (MR 1987)
Changelog:
https://source.puri.sm/Librem5/linux-next/-/commit/42b617ee93593724aa4f57cf26e98c12d5c73829

[ci:skip-build]: doesn't finish within 3 hours (can somebody fix this?)
2021-02-27 23:30:05 +01:00
Bart Ribbers 66bd18c49b main/pure-maps: rebuild against mapbox-gl-qml (MR 1997) 2021-02-27 19:25:14 +01:00
Bart Ribbers bddcea0851 main/mapbox-gl-qml: switch to CMake (MR 1997) 2021-02-27 19:25:14 +01:00
Bart Ribbers 00fd796a2e main/mapbox-gl-native: upgrade to 1.6.0 (MR 1997)
Fix previous version not building anymore, as seen on v21.03 branch:
https://builds.sr.ht/~postmarketos/job/433826
2021-02-27 19:25:14 +01:00
Caleb Connolly 93f29f1fd9 linux-postmarketos-qcom-sdm845: upgrade to 5.11 (MR 1990)
Update to the 5.11.0 kernel release.

This also fixes the previous build warnings.

[ci:skip-build] Already built fine on CI.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2021-02-27 09:48:53 +03:00
Clayton Craft 8d05efae6b linux-postmarketos-allwinner: add patch enabling WoWLAN (MR 1955)
[ci:skip-build] Already built successfully in CI
2021-02-26 17:08:57 -08:00
Clayton Craft a2524184ed linux-postmarketos-allwinner: upgrade to 5.11.0 (MR 1955)
Upgrades to megi's 5.11 orange-pi-5.11-20210218-0749 tag.

All patches were rebased.
2021-02-26 17:08:53 -08:00
Maarten van Gompel f25b49af0b main/postmarketos-ui-sxmo: upgrade to 1.3.2 (MR 1994) 2021-02-26 15:18:20 -08:00
Maarten van Gompel 84eb92419b sxmo/sxmo-dwm: upgrade to 6.2.11 (MR 1994) 2021-02-26 15:18:17 -08:00
Maarten van Gompel 924f76597c sxmo/sxmo-utils: upgrade to 1.3.2 (MR 1994) 2021-02-26 15:18:05 -08:00
Philip Scherer 187aceea77 lg-d855: switch arch to armv7 (MR 1991)
Contiributes to: #599

[ci:skip-build] Already built on CI
2021-02-26 17:08:38 +03:00
Felix Kehrer 0f561503bc samsung-manta: update arch to armv7 (MR 1984)
[ci:skip-build]: already built successfully in CI
2021-02-25 00:53:52 +01:00
Bart Ribbers bd4209177e main/qmltermwidget: fix build 2021-02-24 10:39:17 +00:00
Bart Ribbers b7c6e1634c kde/plasmatube: drop, unmaintained and doesn't work anymore
Resolves #986
2021-02-24 11:30:25 +01:00
Luca Weiss a807b01d8f device/testing/firmware-*: move firmware to /lib/firmware/postmarketos
We keep device-specific firmware in this directory and not in
/lib/firmware.
2021-02-24 02:07:46 +01:00
Alexey Andreyev 73a5cace0d temp/ofono: implement USSD indication in qmimodem driver (MR 1976)
Handle USSD QMI indication messages.
Add support for UCS2 USS Data coding scheme.
Check for User Action TLV type.

Downstream the accepted ofono patch as temporary solution.
2021-02-24 03:55:44 +03:00
Oliver Smith eceef70578 treewide: update git.sr.ht checksums (MR 1978)
Update checksums after tar upgrade on sr.ht servers.
[ci:skip-vercheck] [ci:skip-build]
2021-02-24 00:13:02 +01:00
Jonathan Bakker 7a82f5d19a CODEOWNERS: Add xc-racer99 to main/mesa-pvr-dri-classic (MR 1868)
I'd like to be notified if anyone makes a change to this package

[ci:skip-build]: already built successfully in CI
2021-02-23 22:10:39 +01:00
Jonathan Bakker ea4d3837e4 main/mesa-pvr-dri-classic: new aport (MR 1868)
Based on the Alpine mesa APKBUILD, but only the DRI driver
is packaged.  It conflicts with the DRI gallium driver as
they both provide ARM dri drivers.  It depends on the main
Mesa packages.
2021-02-23 22:10:17 +01:00
Jonathan Bakker f247bf1e2a non-free/sgx-ddk-um: new aport (MR 1868)
From TI, they must not be redistributed in a modified form. They
are built against GLIBC 2.29

To be functional, they need to be paired with a special build
of Mesa.  There are subpackages for each different soc and only
one soc can be installed at a time.  The Exynos S5PV210 subpackage
uses the same SGX540-120 as the ti443x blobs, but needs a binary
edit to be loaded.  Due to the license restrictions, it must be
done in a post-install script.
2021-02-23 22:10:12 +01:00
Jonathan Bakker 1018a95ddd CI: Add non-free as an expected directory APKBUILDs (MR 1868)
We may wish to distribute some files that are explicitly
non-free, and it makes sense to place them in a separate
non-free directory rather than in main.
2021-02-23 22:10:07 +01:00
Johannes Marbach c334997339 main/gpodder-adaptive: upgrade to 3.10.17_git20210220 (MR 1975)
The work on an adaptive gpodder UI by tpikonen has continued
and is now available in the official gpodder repo as a dedicated
branch. This commit updates the package to the latest current
version of the branch.
2021-02-23 20:54:03 +01:00
Bart Ribbers caa3b3197b kde/plasma-settings: drop, upstreamed to Alpine 2021-02-23 15:38:03 +01:00
Bart Ribbers b6d5d76498 kde/spacebar: drop, upstreamed to Alpine 2021-02-23 15:38:01 +01:00
Bart Ribbers f1f6146626 kde/alligator: drop, upstreamed to Alpine 2021-02-23 15:37:55 +01:00
Bart Ribbers 7acf6895a4 kde/plasma-phonebook: drop, upstreamed to Alpine 2021-02-23 15:37:37 +01:00
Dylan Van Assche 8330d2a552 main/postmarketos-base: add dependency on wireless-regdb (MR 1974)
CRDA in the kernel requires a regulatory database to be available
to configure the WiFi card correctly following the regulations in
each possible environment.
2021-02-23 14:54:49 +01:00
Oliver Smith 2d5ad32455 treewide: adjust to broadcom Wi-Fi firmware move (MR 1971)
Let all devices, which depend on linux-firmware-brcm depend on
linux-firmware-cypress too (like done in MR 1969 for lg-hammerhead).

Related: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=060ad8b3d505e2ff8878d11a81da3532b983cd45

[ci:skip-build] Already built on CI
2021-02-22 19:00:50 -08:00
Gianluca Boiano 8cb9d39b8b linux-xiaomi-vince: upgrade to 4.9.257 (MR 1973)
[ci:skip-build] already built on CI
2021-02-22 17:04:58 +03:00
Clayton Craft 5023b9c433 device-pine64-pinephone: add gpio_vibra module to initfs (MR 1870)
This is needed to enable osk-sdl's haptic feedback when typing
2021-02-22 15:40:48 +03:00
Clayton Craft 4243b95bd0 main/postmarketos-mkinitfs: refactor osk-sdl config/running (MR 1870)
- Simplified logic for setup/running osk-sdl in initfs
- include libGLESv2 when running osk-sdl w/ mesa
- depends on osk-sdl >=0.62
2021-02-22 15:40:44 +03:00
Clayton Craft 33a565156a main/osk-sdl: upgrade to 0.63 (MR 1870) 2021-02-22 15:40:40 +03:00
Uclydde e512666c65 motorola-ali: revert arch to armv7 (MR 1956)
[ci:skip-build]: already built successfully in CI
2021-02-21 21:48:23 +01:00
Antoine Fontaine 94476a7482 main/anbox-image: upgrade to FDroid 1.11 and remove obsolete patch (MR 1972)
The patch can be removed as a proper fix has been found.
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1798 and
https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/2005.

[ci:skip-build]: already built successfully in CI
2021-02-21 20:57:16 +01:00
Oliver Smith cf743791e5 channels.cfg: add v21.03 as stable-next 2021-02-21 14:56:28 +01:00
573 changed files with 30814 additions and 13867 deletions

No files matched your search

+3 -2
View File
@@ -15,8 +15,9 @@ import pmb.helpers.pmaports
def build_strict(packages, arch):
common.run_pmbootstrap(["build_init"])
common.run_pmbootstrap(["--details-to-stdout", "build", "--strict",
"--force", "--arch", arch] + list(packages))
common.run_pmbootstrap(["--details-to-stdout", "--no-ccache", "build",
"--strict", "--force",
"--arch", arch, ] + list(packages))
def verify_checksums(packages, arch):
@@ -15,6 +15,7 @@ expected_directories = [
"maemo",
"main",
"modem",
"non-free",
"sxmo",
"temp",
]
+1
View File
@@ -3,6 +3,7 @@
device/*/*-pine64-pinephone/ @craftyguy @milesalan
device/*/*-purism-librem5/ @craftyguy
main/osk-sdl/ @craftyguy
main/mesa-pvr-dri-classic/ @xc-racer99
temp/u-boot-librem5/ @craftyguy
# vim: ts=4 sw=4 et
+12 -2
View File
@@ -3,13 +3,23 @@
recommended=edge
[edge]
description=Rolling release channel
description=Rolling release / Most devices / Occasional breakage: https://postmarketos.org/edge
branch_pmaports=master
branch_aports=master
mirrordir_alpine=edge
# NOTE: "stable", "stable-next" are actually "v20.05" and "v21.03". They will
# get changed in this file in the near future, keeping the old names for a bit
# to give everybody time to upgrade to pmbootstrap 1.30.0. More information:
# https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2015
[stable-next]
description=Latest release / Recommended for best stability
branch_pmaports=v21.03
branch_aports=3.13-stable
mirrordir_alpine=v3.13
[stable]
description=Stable release channel (first beta v20.05, does not have many devices yet)
description=Old release (unsupported)
branch_pmaports=v20.05
branch_aports=3.12-stable
mirrordir_alpine=v3.12
+3 -3
View File
@@ -3,8 +3,8 @@
# Based on: main/binutils
pkgname=binutils-aarch64
pkgver=2.35.1
pkgrel=1
pkgver=2.35.2
pkgrel=0
pkgdesc="Tools necessary to build programs for aarch64 targets"
url="https://www.gnu.org/software/binutils/"
makedepends="gettext libtool autoconf automake bison texinfo"
@@ -60,7 +60,7 @@ package() {
sha512sums="94ff72708403413b70b247f3af4099ebaa882b6659249869f1ed9941a0f1912e313f08357d470f9fd2359e7f5e5b0eb86285e5eaf883fa8187789d6b1bd304eb binutils-2.35.1.tar.xz
sha512sums="9974ede5978d32e0d68fef23da48fa00bd06b0bff7ec45b00ca075c126d6bbe0cf2defc03ecc3f17bc6cc85b64271a13009c4049d7ba17de26e84e3a6e2c0348 binutils-2.35.2.tar.xz
ecee33b0e435aa704af1c334e560f201638ff79e199aa11ed78a72f7c9b46f85fbb227af5748e735fd681d1965fcc42ac81b0c8824e540430ce0c706c81e8b49 binutils-ld-fix-static-linking.patch
f55cf2e0bf82f97583a1abe10710e4013ecf7d64f1da2ef8659a44a06d0dd8beaf58dab98a183488ea137f03e32d62efc878d95f018f836f8cec870bc448556f gold-mips.patch
314d2ef9071c89940aa6c8118e8a1e2f191a5d0a4bf596da1ad9cc84f884d8bc7dea8bd7b9fc3f8f1bddd3fd41c6eb017e1e804044b3bf084df1ed9e6e095e2d ld-bfd-mips.patch
+3 -3
View File
@@ -3,8 +3,8 @@
# Based on: main/binutils
pkgname=binutils-armhf
pkgver=2.35.1
pkgrel=1
pkgver=2.35.2
pkgrel=0
pkgdesc="Tools necessary to build programs for armhf targets"
url="https://www.gnu.org/software/binutils/"
makedepends="gettext libtool autoconf automake bison texinfo"
@@ -60,7 +60,7 @@ package() {
sha512sums="94ff72708403413b70b247f3af4099ebaa882b6659249869f1ed9941a0f1912e313f08357d470f9fd2359e7f5e5b0eb86285e5eaf883fa8187789d6b1bd304eb binutils-2.35.1.tar.xz
sha512sums="9974ede5978d32e0d68fef23da48fa00bd06b0bff7ec45b00ca075c126d6bbe0cf2defc03ecc3f17bc6cc85b64271a13009c4049d7ba17de26e84e3a6e2c0348 binutils-2.35.2.tar.xz
ecee33b0e435aa704af1c334e560f201638ff79e199aa11ed78a72f7c9b46f85fbb227af5748e735fd681d1965fcc42ac81b0c8824e540430ce0c706c81e8b49 binutils-ld-fix-static-linking.patch
f55cf2e0bf82f97583a1abe10710e4013ecf7d64f1da2ef8659a44a06d0dd8beaf58dab98a183488ea137f03e32d62efc878d95f018f836f8cec870bc448556f gold-mips.patch
314d2ef9071c89940aa6c8118e8a1e2f191a5d0a4bf596da1ad9cc84f884d8bc7dea8bd7b9fc3f8f1bddd3fd41c6eb017e1e804044b3bf084df1ed9e6e095e2d ld-bfd-mips.patch
+3 -3
View File
@@ -3,8 +3,8 @@
# Based on: main/binutils
pkgname=binutils-armv7
pkgver=2.35.1
pkgrel=1
pkgver=2.35.2
pkgrel=0
pkgdesc="Tools necessary to build programs for armv7 targets"
url="https://www.gnu.org/software/binutils/"
makedepends="gettext libtool autoconf automake bison texinfo"
@@ -60,7 +60,7 @@ package() {
sha512sums="94ff72708403413b70b247f3af4099ebaa882b6659249869f1ed9941a0f1912e313f08357d470f9fd2359e7f5e5b0eb86285e5eaf883fa8187789d6b1bd304eb binutils-2.35.1.tar.xz
sha512sums="9974ede5978d32e0d68fef23da48fa00bd06b0bff7ec45b00ca075c126d6bbe0cf2defc03ecc3f17bc6cc85b64271a13009c4049d7ba17de26e84e3a6e2c0348 binutils-2.35.2.tar.xz
ecee33b0e435aa704af1c334e560f201638ff79e199aa11ed78a72f7c9b46f85fbb227af5748e735fd681d1965fcc42ac81b0c8824e540430ce0c706c81e8b49 binutils-ld-fix-static-linking.patch
f55cf2e0bf82f97583a1abe10710e4013ecf7d64f1da2ef8659a44a06d0dd8beaf58dab98a183488ea137f03e32d62efc878d95f018f836f8cec870bc448556f gold-mips.patch
314d2ef9071c89940aa6c8118e8a1e2f191a5d0a4bf596da1ad9cc84f884d8bc7dea8bd7b9fc3f8f1bddd3fd41c6eb017e1e804044b3bf084df1ed9e6e095e2d ld-bfd-mips.patch
+2 -2
View File
@@ -8,7 +8,7 @@ fi
pkgname=busybox-static-aarch64
pkgver=1.33.0
pkgrel=2
pkgrel=5
_arch="aarch64"
_mirror="http://dl-2.alpinelinux.org/alpine/"
@@ -31,4 +31,4 @@ package() {
rm .PKGINFO .SIGN.*
}
sha512sums="2d259d9bdc5c30f597af57743fb8d0da219f762fd107a62f3fc5bf06e0a38f9bf875ed0a4913bd26d3ba11bd73b0136d85e310b565e2219c303eb6bb0cca914d busybox-static-1.33.0-r2-aarch64-edge.apk"
sha512sums="816f62deb3473d7c430cf3babf537e559cb68667673c8e9f41b3603603b3049e5e8c6bf86ce82a4b8545ea20afc7e635a33eb2c0f0305ac2a20ae1495050c381 busybox-static-1.33.0-r5-aarch64-edge.apk"
+2 -2
View File
@@ -8,7 +8,7 @@ fi
pkgname=busybox-static-armhf
pkgver=1.33.0
pkgrel=2
pkgrel=5
_arch="armhf"
_mirror="http://dl-2.alpinelinux.org/alpine/"
@@ -31,4 +31,4 @@ package() {
rm .PKGINFO .SIGN.*
}
sha512sums="5c45b456dcdaf640f8cb46813289e06d99f0ebe5e8821709a6d7acc67f31033d26f7ffc5a6ec176393e102b31f3c4f84dfcc9fbb1bbb9d3032bdaf371e3bc190 busybox-static-1.33.0-r2-armhf-edge.apk"
sha512sums="08b21b30f67b84ebdbb36108c7e911046bd027cb3c8c4a50aba796e0b8a59f0786859c30387f241696024c174ad658184428262546ef865e31d705f787adc740 busybox-static-1.33.0-r5-armhf-edge.apk"
+2 -2
View File
@@ -8,7 +8,7 @@ fi
pkgname=busybox-static-armv7
pkgver=1.33.0
pkgrel=2
pkgrel=5
_arch="armv7"
_mirror="http://dl-2.alpinelinux.org/alpine/"
@@ -31,4 +31,4 @@ package() {
rm .PKGINFO .SIGN.*
}
sha512sums="030f6349a03aee294ab743b4a09156b120f8c1ddc081042f3c43597b97da31cb7036ac43248cbe601212b5aa8229c4ec7017a68f6a7682e419e24ab2adc817c4 busybox-static-1.33.0-r2-armv7-edge.apk"
sha512sums="7f576e91a9b19e4b33833655ca87cba19cd6e0a2e25c2809f4c651315bb7c63e196a8d6f68276cc0ca4830c8980ca369d1e5ec5b8b8912838b48b0e6b7be7f67 busybox-static-1.33.0-r5-armv7-edge.apk"
+2 -2
View File
@@ -1,4 +1,4 @@
From 61621c64caffb54ea82c5b573e55d16dcb732dea Mon Sep 17 00:00:00 2001
From 56ba7da205f1ec49b1379ab40d533c2e2d70a1a7 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Fri, 26 Jan 2018 20:32:50 +0000
Subject: [PATCH] posix_memalign
@@ -38,5 +38,5 @@ index 87344d9383f..ece428df487 100644
else
return NULL;
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From b6af6fd400def85c7f6933a991c888df16f12533 Mon Sep 17 00:00:00 2001
From 4c53f798c9823dcfc7fe8e2dd26de0077545069d Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 29 Mar 2013 08:59:00 +0400
Subject: [PATCH] gcc: poison-system-directories
@@ -26,7 +26,7 @@ Upstream-Status: Pending
7 files changed, 68 insertions(+)
diff --git a/gcc/common.opt b/gcc/common.opt
index dfed6ec76ba..8bb65e0e1af 100644
index 9cc47b16cac..d8b2e237d89 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -682,6 +682,10 @@ Wreturn-local-addr
@@ -58,7 +58,7 @@ index 364eba47737..9551c0dfdf9 100644
optimizer and back end) to be checked for dynamic type safety at runtime.
This is quite expensive. */
diff --git a/gcc/configure b/gcc/configure
index b4088d8fd1e..793530e21cf 100755
index 8fe9c91fd7c..17b878e4b4e 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -1010,6 +1010,7 @@ with_system_zlib
@@ -78,7 +78,7 @@ index b4088d8fd1e..793530e21cf 100755
--enable-plugin enable plugin support
--enable-host-shared build host code as shared libraries
--disable-libquadmath-support
@@ -30271,6 +30274,19 @@ if test "${enable_version_specific_runtime_libs+set}" = set; then :
@@ -30276,6 +30279,19 @@ if test "${enable_version_specific_runtime_libs+set}" = set; then :
fi
@@ -99,10 +99,10 @@ index b4088d8fd1e..793530e21cf 100755
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 070b9c6c497..0fd438e39e5 100644
index 84dceb8074a..bf64ffbe46f 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -6605,6 +6605,16 @@ AC_ARG_ENABLE(version-specific-runtime-libs,
@@ -6608,6 +6608,16 @@ AC_ARG_ENABLE(version-specific-runtime-libs,
[specify that runtime libraries should be
installed in a compiler-specific directory])])
@@ -120,7 +120,7 @@ index 070b9c6c497..0fd438e39e5 100644
AC_SUBST(subdirs)
AC_SUBST(srcdir)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 7775bcc72eb..034d3066c2b 100644
index 0c1b5975e6b..ede239a0ccd 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -348,6 +348,7 @@ Objective-C and Objective-C++ Dialects}.
@@ -199,5 +199,5 @@ index 8a2bda00f80..9098ab044ab 100644
/* Use given -I paths for #include "..." but not #include <...>, and
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 8e8955cbd60155d131d3ac66cb2a1e7e41835278 Mon Sep 17 00:00:00 2001
From caf66e830299ba0a865041800ea9b32a3091f141 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:45:49 +0000
Subject: [PATCH] Turn on -Wl,-z,relro,-z,now by default.
@@ -9,7 +9,7 @@ Subject: [PATCH] Turn on -Wl,-z,relro,-z,now by default.
2 files changed, 4 insertions(+)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 034d3066c2b..4885efe3247 100644
index ede239a0ccd..43d02c26a1a 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -14663,6 +14663,9 @@ For example, @option{-Wl,-Map,output.map} passes @option{-Map output.map} to the
@@ -35,5 +35,5 @@ index b2200c5185a..625c9ab7902 100644
%{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!r:%{!nostartfiles:%S}}} \
%{Wno-poison-system-directories:--no-poison-system-directories} \
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From c5924988157b27b60c28d20d971179bbacbd2ae3 Mon Sep 17 00:00:00 2001
From 48413b53fb7c9d780b55b84eaf6c70f154719907 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:46:22 +0000
Subject: [PATCH] Turn on -D_FORTIFY_SOURCE=2 by default for C, C++, ObjC,
@@ -25,7 +25,7 @@ index db91a36794a..ed976c71404 100644
if (flag_gnu89_inline)
cpp_define (pfile, "__GNUC_GNU_INLINE__");
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 4885efe3247..a3e5e002fa5 100644
index 43d02c26a1a..78469ebe55d 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -9230,6 +9230,12 @@ also turns on the following optimization flags:
@@ -42,5 +42,5 @@ index 4885efe3247..a3e5e002fa5 100644
@opindex O3
Optimize yet more. @option{-O3} turns on all optimizations specified
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 5b8de466aa959a6c929cee2c78e4159a0209b4f8 Mon Sep 17 00:00:00 2001
From 31ec8fceef33284c4ed3ca4bb97e4a24eb088265 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:46:56 +0000
Subject: [PATCH] On linux targets pass --as-needed by default to the linker,
@@ -265,5 +265,5 @@ index 625c9ab7902..7aec9d3a016 100644
#else
#define LIBUBSAN_SPEC "-lubsan" STATIC_LIBUBSAN_LIBS
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 7c79655102e756622211ca40384e8562be334973 Mon Sep 17 00:00:00 2001
From 1a17780987ee63da34d330e9a2b186751c929c46 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:47:43 +0000
Subject: [PATCH] Enable -Wformat and -Wformat-security by default.
@@ -30,5 +30,5 @@ index c49da99d395..93f25319005 100644
Wformat-overflow=
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 25eb9009f180c799647cfc81d27d8b67ba3f3b72 Mon Sep 17 00:00:00 2001
From 901acffb0caae749c5b830d01a6e858f34311cd5 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:48:24 +0000
Subject: [PATCH] Enable -Wtrampolines by default.
@@ -8,7 +8,7 @@ Subject: [PATCH] Enable -Wtrampolines by default.
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/common.opt b/gcc/common.opt
index 8bb65e0e1af..ace932b300d 100644
index d8b2e237d89..5087ae84d49 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -774,7 +774,7 @@ Common Var(warn_system_headers) Warning
@@ -21,5 +21,5 @@ index 8bb65e0e1af..ace932b300d 100644
Wtype-limits
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From cfa0c7a3154415fe0e0ab6bd373a8f2164024ff5 Mon Sep 17 00:00:00 2001
From 4d09aa762edd682ffb7665b21f7ecd6e1cf90a3f Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:49:40 +0000
Subject: [PATCH] Disable ssp on -nostdlib, -nodefaultlibs and -ffreestanding
@@ -49,5 +49,5 @@ index 4aec480798b..eaecfab37ad 100644
-param=stack-clash-protection-guard-size=
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 4733bb8115411c50028f7a583783ac10c63e8536 Mon Sep 17 00:00:00 2001
From e9b5aa5bb3788b2600a719d3b5ed56e3397ec0ad Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:50:33 +0000
Subject: [PATCH] Ensure that msgfmt doesn't encounter problems during gcc
@@ -50,5 +50,5 @@ index a0f84b0cfa0..ab24a47a2fd 100644
all-local: all-local-$(USE_NLS)
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 7d4ee7a90b87edd33a7f628ff89ce1b1e0576b4d Mon Sep 17 00:00:00 2001
From d87e3805d5f308798e82008b9b3c3440958b6f20 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:52:07 +0000
Subject: [PATCH] Don't declare asprintf if defined as a macro.
@@ -24,5 +24,5 @@ index 141cb886a85..fa0e78eb62f 100644
/* Like asprintf but allocates memory without fail. This works like
xmalloc. */
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 84b959624e1371f1d02630b6e067f00f46dbe516 Mon Sep 17 00:00:00 2001
From 33b3fa0e5bc57219de066c04beaf4fcd09054812 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:53:00 +0000
Subject: [PATCH] libiberty: copy PIC objects during build process
@@ -20,5 +20,5 @@ index d6b302e02fd..fd39928546f 100644
else true; fi
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 8ffd575380bc28aaf3c210ad838b205ce2403124 Mon Sep 17 00:00:00 2001
From 0538fa07136fefd76a0b958db48cd6a06eaf630c Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:53:36 +0000
Subject: [PATCH] libitm: disable FORTIFY
@@ -8,10 +8,10 @@ Subject: [PATCH] libitm: disable FORTIFY
1 file changed, 10 insertions(+)
diff --git a/libitm/configure.tgt b/libitm/configure.tgt
index 04109160e91..107b957ece3 100644
index d1beb5c9ec8..c2b50b95c01 100644
--- a/libitm/configure.tgt
+++ b/libitm/configure.tgt
@@ -46,6 +46,16 @@ if test "$gcc_cv_have_tls" = yes ; then
@@ -47,6 +47,16 @@ if test "$gcc_cv_have_tls" = yes ; then
esac
fi
@@ -29,5 +29,5 @@ index 04109160e91..107b957ece3 100644
# work out any special compilation flags as necessary.
case "${target_cpu}" in
--
2.29.2
2.31.0
+4 -4
View File
@@ -1,4 +1,4 @@
From 0d83ea67b2e16658a88068ebce0e25cce22fe75e Mon Sep 17 00:00:00 2001
From 7f4a2e2f3ab6b649538f3fd775a6f7a5507de543 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Sat, 24 Oct 2015 20:09:53 +0000
Subject: [PATCH] libgcc_s
@@ -10,10 +10,10 @@ Subject: [PATCH] libgcc_s
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/gcc/config/i386/i386-expand.c b/gcc/config/i386/i386-expand.c
index c6033688f51..a60e5162995 100644
index 47d52550e5e..9cb8cc7950e 100644
--- a/gcc/config/i386/i386-expand.c
+++ b/gcc/config/i386/i386-expand.c
@@ -10966,10 +10966,10 @@ ix86_expand_builtin (tree exp, rtx target, rtx subtarget,
@@ -10976,10 +10976,10 @@ ix86_expand_builtin (tree exp, rtx target, rtx subtarget,
{
case IX86_BUILTIN_CPU_INIT:
{
@@ -53,5 +53,5 @@ index 8506a635790..564296f788e 100644
+HOST_LIBGCC2_CFLAGS += -mlong-double-80 $(CET_FLAGS)
CRTSTUFF_T_CFLAGS += $(CET_FLAGS)
--
2.29.2
2.31.0
+6 -6
View File
@@ -1,4 +1,4 @@
From 99ccc2d68049c56519d49e21b6f13cf8d98ea163 Mon Sep 17 00:00:00 2001
From 6c3e5f01e4ac338e85b1a6b5956699d882705882 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Sat, 7 Nov 2015 02:08:05 +0000
Subject: [PATCH] nopie
@@ -9,10 +9,10 @@ Subject: [PATCH] nopie
2 files changed, 40 insertions(+)
diff --git a/gcc/configure b/gcc/configure
index 793530e21cf..2d874d3defe 100755
index 17b878e4b4e..808570b6c99 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -30779,6 +30779,33 @@ fi
@@ -30784,6 +30784,33 @@ fi
$as_echo "$gcc_cv_no_pie" >&6; }
if test "$gcc_cv_no_pie" = "yes"; then
NO_PIE_FLAG="-no-pie"
@@ -47,10 +47,10 @@ index 793530e21cf..2d874d3defe 100755
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 0fd438e39e5..0b257e687ee 100644
index bf64ffbe46f..9c2571de709 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -6863,6 +6863,19 @@ AC_CACHE_CHECK([for -no-pie option],
@@ -6866,6 +6866,19 @@ AC_CACHE_CHECK([for -no-pie option],
LDFLAGS="$saved_LDFLAGS"])
if test "$gcc_cv_no_pie" = "yes"; then
NO_PIE_FLAG="-no-pie"
@@ -71,5 +71,5 @@ index 0fd438e39e5..0b257e687ee 100644
AC_SUBST([NO_PIE_FLAG])
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From a5a7decc1944cf6831eebc10d71a52ef8496bff5 Mon Sep 17 00:00:00 2001
From 66657865719efb0a86ea2ab75511cb326e8aa46f Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:57:09 +0000
Subject: [PATCH] libffi: use __linux__ instead of __gnu_linux__ for musl
@@ -21,5 +21,5 @@ index 721ff00ea43..22a699c6340 100644
with both write and execute permission. Code compiled when this
option is defined will attempt to map such pages once, but if it
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 3554a4b751acce2a4f432d1bb24d9fc69a916889 Mon Sep 17 00:00:00 2001
From b8a954b1e4033ff559e312d693c74e90e3f13210 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:57:51 +0000
Subject: [PATCH] dlang: update zlib binding
@@ -421,5 +421,5 @@ index e6cce240fd5..bd2fe37ebec 100644
}
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From abf18c3f7d908f8f4a365bd4d8f9a4743f1d8f0c Mon Sep 17 00:00:00 2001
From 4d1fe9d5df3ab850df21d68c73d2d3c601910288 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:58:22 +0000
Subject: [PATCH] dlang: fix fcntl on mips, add libucontext dep
@@ -47,5 +47,5 @@ index 9febcff849b..cb34e2108bd 100644
static assert(0, "Platform not supported");
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 277c3317929f41e514632d29ff00354c511deb0e Mon Sep 17 00:00:00 2001
From 04d8d2c7052c0e92825b4246da0df9ac8753701e Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:59:16 +0000
Subject: [PATCH] ada: fix shared linking
@@ -38,5 +38,5 @@ index 02c413a412f..f0e52a87d6e 100644
unsigned char __gnat_objlist_file_supported = 1;
const char *__gnat_object_library_extension = ".a";
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From b1e3ea43462684675cc4f75c2ca4e984a6d511fb Mon Sep 17 00:00:00 2001
From 3da9a00035f6052926918200fdbeff478ff88d28 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:59:43 +0000
Subject: [PATCH] build: fix CXXFLAGS_FOR_BUILD passing
@@ -20,5 +20,5 @@ index 36e369df6e7..63627db68cf 100644
# This is the list of directories to built for the host system.
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From ea75db47e243b59e7cf793623a87295c0d2aada2 Mon Sep 17 00:00:00 2001
From 1274452fed850d4910aac101aa50c26a2011e15f Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:01:06 +0000
Subject: [PATCH] add fortify-headers paths
@@ -21,5 +21,5 @@ index 95654bcdb5a..d88df8f154a 100644
{ NATIVE_SYSTEM_HEADER_DIR, 0, 0, 0, 1, 0 },
#else
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 42637405a9cf90d96627406c72dbaf19cca34164 Mon Sep 17 00:00:00 2001
From 427c95f4cd889f97983d2b5ac4de6501bcf53166 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi>
Date: Fri, 21 Aug 2020 07:03:00 +0000
Subject: [PATCH] Alpine musl package provides libssp_nonshared.a. We link to
@@ -27,5 +27,5 @@ index daeb4d0c8ea..6920bec0fa0 100644
#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \
"|fstack-protector-strong|fstack-protector-explicit" \
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 64f209a51a7277d778c196c31c58422a04a69238 Mon Sep 17 00:00:00 2001
From d3440b3e7d5d9448309b4c3f74487f4c05726a5a Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:03:42 +0000
Subject: [PATCH] DP: Use --push-state/--pop-state for gold as well when
@@ -65,5 +65,5 @@ index 6920bec0fa0..40e07354b3d 100644
#else
#define LIBUBSAN_SPEC "-lubsan" STATIC_LIBUBSAN_LIBS
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From a57f530ace0ce215b1d6e2073223f05417ca2ed4 Mon Sep 17 00:00:00 2001
From 5b1bffa6323f1e9f981f1db2b574a876ebcf2bd6 Mon Sep 17 00:00:00 2001
From: Nils Andreas Svee <me@lochnair.net>
Date: Thu, 21 Dec 2017 03:14:33 +0100
Subject: [PATCH] Pure 64-bit MIPS
@@ -43,5 +43,5 @@ index ceb58d3b5f3..8116e23ebba 100644
+ ../lib32 \
+ ../lib
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 4571e0787fc992d647991e64a64d2b9c82e9a0e6 Mon Sep 17 00:00:00 2001
From 7a38f81aa9cc5ed4a39b54480209e29615bd6594 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:04:40 +0000
Subject: [PATCH] use pure 64-bit configuration where appropriate
@@ -117,5 +117,5 @@ index cc6ab367072..7f498ee1cdc 100644
+MULTILIB_OSDIRNAMES = m64=../lib
+MULTILIB_OSDIRNAMES+= m32=../lib32
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From a1fb957dd7fe9a8dd99d256d7b0a676f87a9d80c Mon Sep 17 00:00:00 2001
From eb4c45fb32845cf9ed5e3627380d889f972dbb02 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:05:41 +0000
Subject: [PATCH] always build libgcc_eh.a
@@ -47,5 +47,5 @@ index 851e7657d07..99ec513a1a6 100644
for file in $$parts; do \
rm -f $(DESTDIR)$(inst_libdir)/$$file; \
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 3a0a3d3843edd30ce72c96a40caa9e1334233558 Mon Sep 17 00:00:00 2001
From f06868abe42037e8a97fb1e724df56a81b6d3b36 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:06:30 +0000
Subject: [PATCH] ada: libgnarl compatibility for musl
@@ -9,7 +9,7 @@ Subject: [PATCH] ada: libgnarl compatibility for musl
2 files changed, 3 insertions(+), 61 deletions(-)
diff --git a/gcc/ada/libgnarl/s-osinte__linux.ads b/gcc/ada/libgnarl/s-osinte__linux.ads
index 80cb2b2a793..701b7a3aeab 100644
index ef449af33d1..bd7312e6686 100644
--- a/gcc/ada/libgnarl/s-osinte__linux.ads
+++ b/gcc/ada/libgnarl/s-osinte__linux.ads
@@ -399,12 +399,6 @@ package System.OS_Interface is
@@ -131,5 +131,5 @@ index c45559e5ba0..0b0f173e7d4 100644
pragma Assert (Result in 0 | ENOMEM);
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From d0716e14d5bd652a7e21d0e3c75ea8ed32e6b4c7 Mon Sep 17 00:00:00 2001
From b87099f99e9b97efa684d59a63a7585bc0ae7c34 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:07:48 +0000
Subject: [PATCH] ada: musl support fixes
@@ -219,5 +219,5 @@ index af4417fab90..bab6bf3ca87 100644
status = openpty (&master_fd, &slave_fd, NULL, NULL, NULL);
#elif defined (USE_CLONE_DEVICE)
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From e30511caa0046a09e09d08e01541ee89ebbf56f3 Mon Sep 17 00:00:00 2001
From ebfdc1ed30206086a1f59c0e45d11b735ca22181 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 17:58:08 +0200
Subject: [PATCH] gcc-go: Use _off_t type instead of _loff_t
@@ -44,5 +44,5 @@ index 88286c07b6e..f8f5cfb5011 100644
}
n, err = splice(rfd, plroff, wfd, plwoff, len, flags)
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From dd4c21ab43314e9dd6853f4157c0b2f530b46a3e Mon Sep 17 00:00:00 2001
From 53c8bd07ef19cefadfd5ca6e2b845862ba9c4d14 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 17:58:21 +0200
Subject: [PATCH] gcc-go: Don't include sys/user.h
@@ -26,5 +26,5 @@ index 0692fd41eb7..c8d987358d9 100644
#include <sys/utsname.h>
#endif
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 9f85680c5e156d7ac95260e43bc06fe52468bb6e Mon Sep 17 00:00:00 2001
From 4ebf1f48bae799d4d9c0d3de88c5d8e0f1f2900e Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 17:59:22 +0200
Subject: [PATCH] gcc-go: Fix ucontext_t on PPC64
@@ -25,5 +25,5 @@ index b429fdb2403..fd1c885f043 100644
ret.sigpc = ((ucontext_t*)(context))->uc_mcontext.jmp_context.iar;
#elif defined(__aarch64__) && defined(__linux__)
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From e8162b88725980771aaf473353a7a684aa31e974 Mon Sep 17 00:00:00 2001
From 2ea8b4f0d7cd8e96436ca14ef7f08615496d6d38 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 17:59:45 +0200
Subject: [PATCH] gcc-go: Fix handling of signal 34 on musl
@@ -39,5 +39,5 @@ index 11e4ec436bd..fe866eacb27 100644
if test "${GOOS}" = "aix"; then
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From e52442cf9860963ce5d896436efaa032f9d03d86 Mon Sep 17 00:00:00 2001
From 65212bcce99563e6fa7a0334f1a82bde47ade70c Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 18:01:03 +0200
Subject: [PATCH] gcc-go: Use int64 type as offset argument for mmap
@@ -34,5 +34,5 @@ index ba38ebaa9ab..3c9e5ce9461 100644
if uintptr(p) == _MAP_FAILED {
return nil, errno()
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From d374c7d1d9f6fab654a5ece60a7ea74aeaf90970 Mon Sep 17 00:00:00 2001
From 1fa468989614c5ada2d2a0fac67cc542900ff5de Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 18:02:28 +0200
Subject: [PATCH] gcc-go: Fix st_{a,m,c}tim fields in generated sysinfo.go
@@ -33,5 +33,5 @@ index bd2ba32cba1..972e2c379bc 100755
-e 's/\([^a-zA-Z0-9_]\)_timespec_t\([^a-zA-Z0-9_]\)/\1Timespec\2/g' \
-e 's/\([^a-zA-Z0-9_]\)_st_timespec_t\([^a-zA-Z0-9_]\)/\1StTimespec\2/g' \
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 03365f764ffe09acbfaa08ede12c48d5cbafe37f Mon Sep 17 00:00:00 2001
From 1e401424a24c4d09890c498e9cf37dd65f98fd40 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 18:03:03 +0200
Subject: [PATCH] gcc-go: signal 34 is special on musl libc
@@ -25,5 +25,5 @@ index c555712a03c..9e228580d37 100644
}
throw("sigaction read failure")
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 8f432a1e00956bc2fcb6242571860a69fb32131d Mon Sep 17 00:00:00 2001
From c32a6473e0b51b02401c403b4fa104a82b2c6147 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
Date: Sun, 30 Aug 2020 19:26:53 +0200
Subject: [PATCH] gcc-go: Prefer _off_t over _off64_t
@@ -26,5 +26,5 @@ index 972e2c379bc..8d6da15f983 100755
echo "type Pid_t _pid_t" >> ${OUT}
echo "type Uid_t _uid_t" >> ${OUT}
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 8438932b8a20156459589e9d6b3fcf11989db0e8 Mon Sep 17 00:00:00 2001
From 87b7fd27b0b2cc041e2cc989e77a7eda8fc330a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
Date: Sun, 30 Aug 2020 19:27:51 +0200
Subject: [PATCH] gcc-go: undef SETCONTEXT_CLOBBERS_TLS in proc.c
@@ -8,7 +8,7 @@ Subject: [PATCH] gcc-go: undef SETCONTEXT_CLOBBERS_TLS in proc.c
1 file changed, 4 insertions(+)
diff --git a/libgo/runtime/proc.c b/libgo/runtime/proc.c
index 274ce01c0bf..92a540bdde9 100644
index 6f7d2e27996..5afd7902497 100644
--- a/libgo/runtime/proc.c
+++ b/libgo/runtime/proc.c
@@ -66,6 +66,10 @@ static void gscanstack(G*);
@@ -23,5 +23,5 @@ index 274ce01c0bf..92a540bdde9 100644
static inline void
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 31375289a4c1a0f32c97ae3d73ab950014729392 Mon Sep 17 00:00:00 2001
From 16fd7a533bba015aca4d1c08c7a18f7a6d07ad26 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Mon, 31 Aug 2020 08:59:40 +0200
Subject: [PATCH] gcc-go: link to libucontext
@@ -21,5 +21,5 @@ index 63627db68cf..c7f1f84d683 100644
--srcdir=$${topdir}/$$module_srcdir \
$(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 84fb75f5e30bfde3a076564f566d2f85caf5e6dd Mon Sep 17 00:00:00 2001
From a56c34c3ca3b83f5481dad3888d936f859788614 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
Date: Mon, 31 Aug 2020 20:26:56 +0200
Subject: [PATCH] gcc-go: Disable printing of unaccessible ppc64 struct members
@@ -22,5 +22,5 @@ index fd1c885f043..e845e453332 100644
mcontext_t *m = &((ucontext_t*)(context))->uc_mcontext;
int i;
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From a3ed90c4579725a21f3375a8fe0abb626be7c250 Mon Sep 17 00:00:00 2001
From 7b2278e6d857f68c9cb956865c5037d73be69fc6 Mon Sep 17 00:00:00 2001
From: Geod24 <pro.mathias.lang@gmail.com>
Date: Mon, 16 Nov 2020 18:40:46 +0100
Subject: [PATCH] CRuntime_Musl: Support v1.2.0 for 32 bits
@@ -49,5 +49,5 @@ index 451c8b4fccc..ca654fbe424 100644
alias c_ulong pthread_t;
version (D_LP64)
--
2.29.2
2.31.0
@@ -0,0 +1,269 @@
From 8108772b5430b8d7a4fef8cd9d917a11fbb26fab Mon Sep 17 00:00:00 2001
From: Drew DeVault <sir@cmpwn.com>
Date: Wed, 9 Dec 2020 16:07:26 +0000
Subject: [PATCH] configure: Add --enable-autolink-libatomic, use in
LINK_GCC_C_SEQUENCE_SPEC [PR81358]
This fixes issues with RISC-V.
---
Makefile.in | 1 +
gcc/config.in | 6 ++++++
gcc/config/gnu-user.h | 12 +++++++++++-
gcc/configure | 34 ++++++++++++++++++++++++++++++++--
gcc/configure.ac | 23 ++++++++++++++++++++++-
gcc/doc/install.texi | 8 ++++++++
gcc/doc/tm.texi | 8 +++++++-
gcc/doc/tm.texi.in | 8 +++++++-
gcc/gcc.c | 12 +++++++++++-
9 files changed, 105 insertions(+), 7 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index c7f1f84d683..cb3983ca547 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -222,6 +222,7 @@ HOST_EXPORTS = \
RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
+ TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS; \
HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
GMPINC="$(HOST_GMPINC)"; export GMPINC; \
diff --git a/gcc/config.in b/gcc/config.in
index 9551c0dfdf9..c8ca910df8a 100644
--- a/gcc/config.in
+++ b/gcc/config.in
@@ -106,6 +106,12 @@
#endif
+/* Define if libatomic should always be linked. */
+#ifndef USED_FOR_TARGET
+#undef ENABLE_AUTOLINK_LIBATOMIC
+#endif
+
+
/* Define to 1 to specify that we are using the BID decimal floating point
format instead of DPD */
#ifndef USED_FOR_TARGET
diff --git a/gcc/config/gnu-user.h b/gcc/config/gnu-user.h
index 7f30c363e4a..246698bfea5 100644
--- a/gcc/config/gnu-user.h
+++ b/gcc/config/gnu-user.h
@@ -109,8 +109,18 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define LINK_EH_SPEC "%{!static|static-pie:--eh-frame-hdr} "
#endif
+#if !defined(LINK_LIBATOMIC_SPEC) && defined(ENABLE_AUTOLINK_LIBATOMIC)
+# ifdef LD_AS_NEEDED_OPTION
+# define LINK_LIBATOMIC_SPEC LD_AS_NEEDED_OPTION " -latomic " LD_NO_AS_NEEDED_OPTION
+# else
+# define LINK_LIBATOMIC_SPEC "-latomic"
+# endif
+#elif !defined(LINK_LIBATOMIC_SPEC)
+# define LINK_LIBATOMIC_SPEC ""
+#endif
+
#define GNU_USER_TARGET_LINK_GCC_C_SEQUENCE_SPEC \
- "%{static|static-pie:--start-group} %G %{!nolibc:%L} \
+ "%{static|static-pie:--start-group} %G %{!nolibc:" LINK_LIBATOMIC_SPEC " %L} \
%{static|static-pie:--end-group}%{!static:%{!static-pie:%G}}"
#undef LINK_GCC_C_SEQUENCE_SPEC
diff --git a/gcc/configure b/gcc/configure
index 808570b6c99..6c1e95e0444 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -969,6 +969,7 @@ with_documentation_root_url
with_changes_root_url
enable_languages
with_multilib_list
+enable_autolink_libatomic
with_zstd
with_zstd_include
with_zstd_lib
@@ -1695,6 +1696,9 @@ Optional Features:
--disable-shared don't provide a shared libgcc
--disable-gcov don't provide libgcov and related host tools
--enable-languages=LIST specify which front-ends to build
+ --enable-autolink-libatomic
+ enable automatic linking of libatomic (ignored if
+ not built)
--disable-rpath do not hardcode runtime library paths
--enable-sjlj-exceptions
arrange to use setjmp/longjmp exception handling
@@ -8009,6 +8013,33 @@ else
fi
+# If libatomic is available, whether it should be linked automatically
+# Check whether --enable-autolink-libatomic was given.
+if test "${enable_autolink_libatomic+set}" = set; then :
+ enableval=$enable_autolink_libatomic;
+ case $enable_autolink_libatomic in
+ yes | no) ;;
+ *) as_fn_error $? "'$enable_autolink_libatomic' is an invalid value for
+--enable-autolink-libatomic. Valid choices are 'yes' and 'no'." "$LINENO" 5 ;;
+ esac
+
+else
+ enable_autolink_libatomic=''
+fi
+
+
+if test x$enable_autolink_libatomic = xyes; then
+ if echo " ${TARGET_CONFIGDIRS} " | grep " libatomic " > /dev/null 2>&1 ; then
+
+$as_echo "#define ENABLE_AUTOLINK_LIBATOMIC 1" >>confdefs.h
+
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libatomic is not build for this target, --enable-autolink-libatomic ignored" >&5
+$as_echo "$as_me: WARNING: libatomic is not build for this target, --enable-autolink-libatomic ignored" >&2;}
+ fi
+fi
+
+
# -------------------------
# Checks for other programs
# -------------------------
@@ -19131,7 +19162,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 19131 "configure"
+#line 19158 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -32267,4 +32298,3 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
-
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 9c2571de709..52fd6d8fe06 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -1110,6 +1110,28 @@ AC_ARG_WITH(multilib-list,
:,
with_multilib_list=default)
+# If libatomic is available, whether it should be linked automatically
+AC_ARG_ENABLE(autolink-libatomic,
+[AS_HELP_STRING([--enable-autolink-libatomic],
+ [enable automatic linking of libatomic (ignored if not built)])],
+[
+ case $enable_autolink_libatomic in
+ yes | no) ;;
+ *) AC_MSG_ERROR(['$enable_autolink_libatomic' is an invalid value for
+--enable-autolink-libatomic. Valid choices are 'yes' and 'no'.]) ;;
+ esac
+], [enable_autolink_libatomic=''])
+
+if test x$enable_autolink_libatomic = xyes; then
+ if echo " ${TARGET_CONFIGDIRS} " | grep " libatomic " > /dev/null 2>&1 ; then
+ AC_DEFINE(ENABLE_AUTOLINK_LIBATOMIC, 1,
+ [Define if libatomic should always be linked.])
+ else
+ AC_MSG_WARN([libatomic is not build for this target, --enable-autolink-libatomic ignored])
+ fi
+fi
+
+
# -------------------------
# Checks for other programs
# -------------------------
@@ -6945,4 +6967,3 @@ done
],
[subdirs='$subdirs'])
AC_OUTPUT
-
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 7d98ec4190a..a58d5a05be2 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -2169,6 +2169,14 @@ files, but these changed header paths may conflict with some compilation
environments. Enabled by default, and may be disabled using
@option{--disable-canonical-system-headers}.
+@item --enable-autolink-libatomic
+@itemx --disable-autolink-libatomic
+Tell GCC that it should automatically link libatomic; if supported by
+the linker, the file is only linked as needed. This flag is ignored
+when libatomic is not built. Note that this conigure flag is in particular
+useful when building an offloading-target compiler; as for those, a
+user had to specify @code{-foffload=target=-latomic} otherwise.
+
@item --with-glibc-version=@var{major}.@var{minor}
Tell GCC that when the GNU C Library (glibc) is used on the target it
will be version @var{major}.@var{minor} or later. Normally this can
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index fcb7245e95c..67b485e8d0c 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -381,7 +381,13 @@ the argument @option{-lgcc} to tell the linker to do the search.
@defmac LINK_GCC_C_SEQUENCE_SPEC
The sequence in which libgcc and libc are specified to the linker.
-By default this is @code{%G %L %G}.
+By default this is @code{%G LINK_LIBATOMIC_SPEC %L %G}.
+@end defmac
+
+@defmac LINK_LIBATOMIC_SPEC
+This macro is used in the default @code{LINK_GCC_C_SEQUENCE_SPEC} to link
+libatomic. By default, it is unset unless @code{ENABLE_AUTOLINK_LIBATOMIC}
+is set.
@end defmac
@defmac POST_LINK_SPEC
diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in
index c17209daa51..3ec63f6d091 100644
--- a/gcc/doc/tm.texi.in
+++ b/gcc/doc/tm.texi.in
@@ -381,7 +381,13 @@ the argument @option{-lgcc} to tell the linker to do the search.
@defmac LINK_GCC_C_SEQUENCE_SPEC
The sequence in which libgcc and libc are specified to the linker.
-By default this is @code{%G %L %G}.
+By default this is @code{%G LINK_LIBATOMIC_SPEC %L %G}.
+@end defmac
+
+@defmac LINK_LIBATOMIC_SPEC
+This macro is used in the default @code{LINK_GCC_C_SEQUENCE_SPEC} to link
+libatomic. By default, it is unset unless @code{ENABLE_AUTOLINK_LIBATOMIC}
+is set.
@end defmac
@defmac POST_LINK_SPEC
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 40e07354b3d..81bd50b4d7c 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -877,13 +877,23 @@ proper position among the other output files. */
# define ASM_DEBUG_SPEC ""
#endif
+#if !defined(LINK_LIBATOMIC_SPEC) && defined(ENABLE_AUTOLINK_LIBATOMIC)
+# ifdef LD_AS_NEEDED_OPTION
+# define LINK_LIBATOMIC_SPEC LD_AS_NEEDED_OPTION " -latomic " LD_NO_AS_NEEDED_OPTION
+# else
+# define LINK_LIBATOMIC_SPEC "-latomic"
+# endif
+#elif !defined(LINK_LIBATOMIC_SPEC)
+# define LINK_LIBATOMIC_SPEC ""
+#endif
+
/* Here is the spec for running the linker, after compiling all files. */
/* This is overridable by the target in case they need to specify the
-lgcc and -lc order specially, yet not require them to override all
of LINK_COMMAND_SPEC. */
#ifndef LINK_GCC_C_SEQUENCE_SPEC
-#define LINK_GCC_C_SEQUENCE_SPEC "%G %{!nolibc:%L %G}"
+#define LINK_GCC_C_SEQUENCE_SPEC "%G %{!nolibc:" LINK_LIBATOMIC_SPEC " %L %G}"
#endif
#ifdef ENABLE_DEFAULT_SSP
--
2.31.0
+58 -47
View File
@@ -25,13 +25,13 @@ _cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
pkgname=gcc-aarch64
_pkgbase=10.2.1
pkgver=10.2.1_pre1
pkgver=10.2.1_git20210328
[ "$BOOTSTRAP" = "nolibc" ] && pkgname="gcc-pass2"
[ "$CBUILD" != "$CHOST" ] && _cross="-$CARCH" || _cross=""
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
pkgname=gcc-aarch64
pkgrel=3
pkgrel=0
pkgdesc="Stage2 cross-compiler for aarch64"
url="https://gcc.gnu.org"
arch="x86_64"
@@ -170,7 +170,7 @@ if $LANG_FORTRAN; then
_languages="$_languages,fortran"
fi
if $LANG_ADA; then
subpackages="$subpackages libgnat::$CTARGET_ARCH gcc-gnat$_target:gnat"
subpackages="$subpackages libgnat-static:libgnatstatic:$CTARGET_ARCH libgnat::$CTARGET_ARCH gcc-gnat$_target:gnat"
_languages="$_languages,ada"
[ "$CBUILD" = "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat-bootstrap"
[ "$CBUILD" != "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat gcc-gnat$_cross"
@@ -223,7 +223,8 @@ source="https://dev.alpinelinux.org/~nenolod/gcc-${pkgver}.tar.xz
0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch
0037-gcc-go-link-to-libucontext.patch
0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch
0040-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch
0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch
0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch
"
# we build out-of-tree
@@ -395,14 +396,16 @@ package() {
done
fi
paxmark -pmrs "$pkgdir"/$_gcclibexec/cc1
# move ada runtime libs
if $LANG_ADA; then
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 -name "libgna*.so"); do
mv "$i" "$pkgdir"/usr/lib/
ln -s ../../../../${i##*/} $i
done
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 -name "libgna*.a"); do
mv "$i" "$pkgdir"/usr/lib/
ln -s ../../../../${i##*/} $i
done
fi
if [ "$CHOST" != "$CTARGET" ]; then
@@ -487,7 +490,6 @@ gpp() {
"$subpkgdir"/usr/${_target:+$CTARGET/}lib \
mv "$pkgdir/$_gcclibexec/cc1plus" "$subpkgdir/$_gcclibexec/"
paxmark -pmrs "$subpkgdir/$_gcclibexec/cc1plus"
mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/*++* "$subpkgdir"/usr/${_target:+$CTARGET/}lib/
mv "$pkgdir"/usr/${_target:+$CTARGET/}include/c++ "$subpkgdir"/usr/${_target:+$CTARGET/}include/
@@ -644,6 +646,14 @@ libgnat() {
mv "$pkgdir"/usr/lib/libgna*.so "$subpkgdir"/usr/lib/
}
libgnatstatic() {
pkgdesc="GNU Ada static libraries"
depends=
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libgna*.a "$subpkgdir"/usr/lib/
}
gnat() {
pkgdesc="Ada support for GCC"
depends="gcc=$_gccrel"
@@ -658,43 +668,44 @@ gnat() {
mv "$pkgdir"/usr/bin/*gnat* "$subpkgdir"/usr/bin/
}
sha512sums="172fd45e7274c36ebd22a7e12e44a7096ae3bf0e7f0b647da92cfd31ec406a69017df7ee6c1a6ee0822fbef4ff47855f83fab0a0cdb8f031713a14604af3900b gcc-10.2.1_pre1.tar.xz
429a92934e1c507c0320741ed5cdd98ba96c73412447c8df0704077e3f0fa6ee4cc4056fadeaa6bb55d237416b555408e97a1c1d21f47b6f6812f153bc36f181 0001-posix_memalign.patch
a0a9445358f58a34ba0a605d142243d62873d4669ca811013a593e3d6e6640006b5ec23b7a5734ee72f71762d098d607749d6ecc98c85aa4f2074400aedd63ff 0002-gcc-poison-system-directories.patch
9fb636d1f2ef5b8225082f44da3086b9f196d1c045d7319cea148ee630b92c164e80a3e9a70a221e616a65fc00da761e733f87e23e8575634e498728bce2c48b 0003-Turn-on-Wl-z-relro-z-now-by-default.patch
e34086d5a46f963e43e9f2f9240e3fb4d935e49feb8edba5121a59192b5991103a8253a342fbc20cef8ac2aa4ae2bf9a7ceb62abf6676be16441fd2dbf3b05f2 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch
ffd89376a743d29a16b4f38463076691cd3716bee2bca0dbb67c2c1da00773661fb362bcc4b2ffd94f57c6b4470ae7cf8f6abad95de5880e74adaa5c4da21426 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch
e101b356589fb794f1c4224bba8d8c714a962bed7858a734badfe38a5d10f4e800155f1ed5edbae9da7134192dfd6a4d8a33a9dbe871becb9526810af535819c 0006-Enable-Wformat-and-Wformat-security-by-default.patch
e6fbe275e8f4b1257271118bfea5d6c05b041439dde560775a7ee1a9457f442c3e0c8b1113c68bd54502b7d44e6e4b76315613bf2972898a981119f384106fde 0007-Enable-Wtrampolines-by-default.patch
e2a6a0e3cb2c7a40f59432e0f633a3579bb320fc116290d4655766931c56fb78ce73b0f5e75a78c6aacf85155f3c508e84bfee259dba13cd36e77a601fd5d8f5 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch
0f802f8d9d794a6515a7df7b8588eadc0fa49fdb0b7a5148036fa6fc6e74f35c97d79ed1e4ad225f8f46cca6801f49cbc041258494e4fdbad77a6a7020024d7d 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch
ff99bc1d02ab07ca7d4c45ff5bfec555096b9a9eb6ef5c02d7e18de72ff3a02505d5e3dca6681caa23b8993049a4acf6a07f5a2e8b4481c4778a7a982851970e 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch
cf4dc1bfe33250e4065d926d0a126eb87a43695e24a5efda1c383c4d78add0fa7884c378cd3fbb48d713503492d842758fed69c8b5e29774b3bc87c4abe65125 0011-libiberty-copy-PIC-objects-during-build-process.patch
93f244dda3fa55a6016d511f526abf902f7902e876a2d813980d0ad0bf527e4c0fd6258293c90085c1e59056d827bf92aab2b9b92c6f17f776e0068e507d731a 0012-libitm-disable-FORTIFY.patch
d6f409d8d9de3ff44e97046fed1b70ebbecebd5722e7c9bbb92d244ed37d43e77b5d398e39038c554945d022df6d2103b9d4c51fbe11e1d8a011bdfd9067b647 0013-libgcc_s.patch
d380dc2f57bb2065e0c6d80c0837113c3feee2b2290b5747e922aa7dbcbc4463f55f1c22b39a1dcf88653ef5bbae9d29adbfc0f1002d5eaa523a7a31f980b7ab 0014-nopie.patch
5db204edfcace211fd89eb16c358579d1534546a0245d2e11541078081d627e712a9ce372d838f152b4e361742696324929c4649d9b9ff6fb0678791bd898fca 0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch
bb76853e79fbeb5c57f52739dff132abf0b80fc551fe83d82238f598ab5ec153b7ebb45aa33b05b24750ff1895cd77a52375bcfb9295c1a44683996ac34bd381 0016-dlang-update-zlib-binding.patch
50916865c79d9a1305f2524f7051d04df46be925fc7385a3b3cb2c17f1becb8827de76c3e897d470ce1f3fc269f9051c9b478c4d022d7611bcf081782e8b4cba 0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch
0de08138565d81d4b7bbd367f08e5a2bc637106c39736fbedc92401cf3c2cf18ff50c183c263354852bc03724f9353a9a357ed637b3f012ede2514d3c2ed3969 0018-ada-fix-shared-linking.patch
82aa21e25fddb6ba6a4e1424c88cf5989f62bf3fe088b43bfaf2e624df0381c830b1f0d1e7f10afb2ec6bff07a2558c0464229a997420fe0435321d1d2117372 0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch
97cb91e95afccfa7fd020d10f48421745cf7afcbe903f17256fc1df05f5f07eaa675576b7eb340da1b5aa97854df4f1f003cb648d8c2e64d9e9c067a0acd2243 0020-add-fortify-headers-paths.patch
3ffc3bbfbfd7ae3ddfef131d0731577aac0567c965d545a2ad7c9588430397748758990d2c449e4a4c66f11db6a3ea66fb3187d173c3581cda2093d25f3d90e6 0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch
fe3e098d71709bde04cc0a17dcf3bb6ce5bc14b51af1395db97afcb464ba5910dbf85be5d968beddf645e916241f9c6be243c24097c326d9bfebc58219f76118 0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch
7dc0c14cbdcab4aaa355568556e5263912ecc69301653602f99e7c70352d84431c6f931a27f4977de7bbd0d5a328c865f7717c8136e3ed6a12ef4448a107a1a6 0023-Pure-64-bit-MIPS.patch
e4bbd675aea5f09d4aaa32990a88597bd070273754656575e9be74a172afd244aa15e58c2d6878606b652d56457b053c94213f3c0bbf63ebe1ede5fcfdedca25 0024-use-pure-64-bit-configuration-where-appropriate.patch
f2bd09b05fb67544d0ef70ce14fd8ca2e2d21846d5396e4e53cdb95317ae122b3f121b8933e5784fc92e51e50d23812e4aa41f2fd07ae68ba1a21ca094a841ac 0025-always-build-libgcc_eh.a.patch
0d49f5104e89a1269a286f7021dd32d0ac4f7aa427b36f40133bc8616ca87e92144d6cc36f958b3ab4ec683e12f946c3658bceada8fcd5114bdb7c197992eb4a 0026-ada-libgnarl-compatibility-for-musl.patch
a09211cb007a9722ec95d046fbf317f63b362fb25f6d3ba285f278a33fe08ad5f5d51ba1e4ccf9ebe02c1ea3ca15f10b0721e7f65af5ced27ffc9380af7558b1 0027-ada-musl-support-fixes.patch
35c1ee71725042fffded7e3189d96ace6cb730d95d83cd49fd4d8527eba72eb344c11d563d1c751a3934627e5aaa44525c58afd4d01c0bb99bab3b6222fa3040 0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch
26deab6006d46e2c8de4679cc7f598cfdd572b1b77c0595f0160fa693251669d324f47712c6faef481dc33a2c83878ec3fe385d54ab9bfd6fa2c576d84429d05 0029-gcc-go-Don-t-include-sys-user.h.patch
dd9cc5c3c5368a210276ce4396be9cf120c5acfc65cae88508aebd7d4430a28d21b26b362f7f7456ae64c87dd06dfe7a615cd0c7ca13740b683e3a59c1c7bc8d 0030-gcc-go-Fix-ucontext_t-on-PPC64.patch
c17f5088172babddbdb32830387487286f6106304cf07d49d0b2e59feacad62aa10a46bf1bf927f1f138fd1112da5bef7ae1227a26e7946082a6edc7f340b522 0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch
db67b346f3def6c004639df27cef32a6c4e9b4661634f43b62f4f3be852f5ae6d5dadef85116f816d5fd88cbdd80001d8f81cc8d554b9094744402ca3ae14725 0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch
438c165b8e217142b64a002e99b112fbdac9b2c4ced7b0a8c8fe9cff42e6a5ea6d5939cb40905d5a8570fc890de447fd0f5b49c9ee43c3a6e33446efdf2229bf 0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch
85592117e6370ff8612a7a028194c6875c8df1f07299afa0188770bf9bdd82d9aeb322909ec980cf3bd10a54d90829fffb145c566d843027c11d49e78d3f0a9e 0034-gcc-go-signal-34-is-special-on-musl-libc.patch
abc2ae2ea2ff270226c45321508c3641011b23172d043c55239a52fee9ed8451e8e23a2a65612c5f3a0d2e4d1a601a7e9a2c1d6c07f926e6cdf42164d23cff34 0035-gcc-go-Prefer-_off_t-over-_off64_t.patch
21ff83b1f5f8c71c41e7c22ba59f194bc789c8e67a6be9e5185f215adf4ddb175551a261556e5c9bd57dd9c302e1f966de01ff90e097d7ace2c2e43208b6e0f9 0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch
5f0230f9e542bcbfa39f1a3da1f171229bd926971a924ec3e9f3ad8178645d3853659a58a89a48906ffdd77e9c5ff2af43dc54cfc4ac335a219267dddc4afad1 0037-gcc-go-link-to-libucontext.patch
08ffdce5d1ef722364faf5e824b62d0e58655acbba99b58f24c609abb1d90577432863e769fbe269e4151c997b8bbb0cbed29032752b6e6c3356f8fb3086d607 0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch
81bcffde9635c9c4b3214afd8bb16048f15dc8c4ce82c5576b15ee552d6ca8eeee2c5444e2949fec3b938e69fc7a2a2259a07d437e004788ac232c43ae9a83d2 0040-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch"
sha512sums="44d785af0f7aa321487f23b7656877e8112ca2e0b93df538508031d6541db6f7e92ddefb40e44870f4f86adc8dd0efbca3b1748539d62c46f18ac667e134c7f6 gcc-10.2.1_git20210328.tar.xz
3b26000b0ffb3467d8d1b37782a4ba03564813ca33a2842ec2f86213e4ad8f0eba4dd55c43fe965fb90ab21bfecb7c8abd174b5faf09aad128ee25bfd1f48578 0001-posix_memalign.patch
9b6e01b6c61c6d30a5965a16f9057495b6e73387085ecff3db87ad4153305fdcec132ade9f13229539cf35c29e0ceaac38a0eeb9f9598e1a30a4f67a2352c0b6 0002-gcc-poison-system-directories.patch
eee255b920cfe35cb1df1c62a44f17c81479573308df87c12c0971a1dca82dd1c73a0544cc6ab9974cd75d212e19450fc855eaf794843f0d5541e9ba7985af2f 0003-Turn-on-Wl-z-relro-z-now-by-default.patch
b1967302576ede18efbfd7de6c191b7503bc43f205a6c22787823d1bd66f03d197bb2f0e674594707a9958932605b4b524568b2383fa62117bd5d80ecacce29c 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch
45c21abd2153541959352ed75ec322038c0950351c164d5540b61070fcaf158feee3ee82fd6dd9aea03d846edb99f487f76a312d442d70de16371c783fe3704b 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch
16a7b2a1e5c2191694131f2eee06adf3e45d59de83e1b5fa1dff43210b9a7f13234cf27a95d9a1d799bcd944aa2af8dc33396d518b574b8773ad52ebc6e80edc 0006-Enable-Wformat-and-Wformat-security-by-default.patch
daef4ebe907027b9ed2a4d940bb729355c86146dedd963f19b6f3e293e9e9807312c457a76c8599cc759283e7c35b85b721a60cabfc3026538efcbce212e10ea 0007-Enable-Wtrampolines-by-default.patch
f67ca64ef00350404a4db016e605a255e1669c9d05c86061816905348ddc9ffe260ae8d05d0fd1b9c9c2268b2943b2507a95e63ced39a4c5dfb791964f6f4a16 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch
a7867b548b54ac81eedfda56679ee6658e690bb47528f9c437538c09bfeb5c8f0051788d61b480ddef3b3d16c4b2c35669741d5f99b2e68a89c7aec6280bc65f 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch
3d21fae6c58aabf7f05caabcc54635650e178d87d3816cfd367f14dfcfb0fa971526ce06d0c5f84557ce66220c2859b66897ede76c7e5d59cb72789b3b4edcae 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch
da4005b10d0222ebddc44dc9334933d80064583dc9f4e949ceef5b9739556d01ed91513a1a26758bf1211fd7a941d4e0d7cd1093b2f03cd00950981b8be87c1a 0011-libiberty-copy-PIC-objects-during-build-process.patch
f9acc3d4691525b6f64344485b9566a5e916572159c2b779f79324c56d6a3d9acb9c8dd79c0cf4d067737ca9c966aa1ba6b22c0eb6a4aadf91c54a3455a2bcd9 0012-libitm-disable-FORTIFY.patch
78fa151c0121455d52b7499b1e94761c4bb1150acaa751275df8e26ee27be785c78e2f7c7ec6fd3fda8cba431f2c151c79d61f9c00d51f55b2ae0ea588f3880c 0013-libgcc_s.patch
01afd5aab0f73ad2ee59459520d0fd93e772e954907e453ffc853e2b03f0c963f04abaea4479b202f79fa5c535b3a5b95f3ecde727ddfefb2c3e02e269ab39cc 0014-nopie.patch
1da8e1e5124e480b29b35c0401298d4c9a15b871e7bfede525df33e0ebaf56dc63d0854c28876d3ea77438353641c9ff5d4050698bca9fb91765ab92f9208359 0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch
79853461889abccf810f70c8b6de5bb8a201681957dfeb1e7f0bc6acc3e939958f3e4012ff76ff01f7004398170566f100e49fa2ad3187dde4cdee60ac28a00d 0016-dlang-update-zlib-binding.patch
bbd954ac46d52d1fa8dcc731714424e026189d93eb6da6e632da997b3555b22dcff341626975d7acb795b655355ca493ebcffb925ba8b95e6dc3682a1c1e3fcf 0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch
e6cd2ff6c03cad621bfd8b6c50bd7f9280a8a944096d0994cb11a7689c40cecffb2efc813db39e040c064ed1a8fa8bbd60ff51ab3bb69485faa216f4d9bab17d 0018-ada-fix-shared-linking.patch
a16631492e020f54fe19dc41ab831df881c96903d7ae9beaf9cfaed8c3bb65fdabea2ed0fc0945736a21432032623acb4403e9dc96d6020bd08b3836669719be 0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch
1313e45ea2a9f8118d86a68e0942afc85840bbcc0154683f19660a09b7d51448f87ceb2e04fa9e70d84b7494467855f3062bb6be896cfbccb4ffb33dc3f836dd 0020-add-fortify-headers-paths.patch
a7f159ee2719cf16df666c58cac7266c6d14531076c719e3723f74b022c30338b7a53b0580aa373bcef8ccf607e7e54d4fb8d4da92da9ed82046797d8d4530e0 0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch
b2d84e116538be203b10b795eb2ec11cd5aac3dc4b6d9216118b61de417929c68f3f961ae9c6edbb86a4f74305dabc26619aac1fe1ad289b274e4c546eeeb2dc 0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch
72bb76b5e039c341c01d23dd503faaf290efd7389c748696ef058f9534d96bbfea8e56c52be4737a4ef7ab6bef8806c729d35175f5f55fddced42b3317ab223d 0023-Pure-64-bit-MIPS.patch
775fd10e51e80f22b21158c64cab69fbf7783dba784904a364614f319dca9c227d219714ddf4bb8c84d5e226322ce46739313f85e8b564df73f6ee91d54cfd82 0024-use-pure-64-bit-configuration-where-appropriate.patch
1fb0f5b812045f485051b16f5e7f4cf9785471a1c6069f88086edd41c65db4eb35681cc52916ef36586224ce7f5a66fc4e548076525afe6a6b56e21668fa5c81 0025-always-build-libgcc_eh.a.patch
84eb567250c6cc3c4dc00fb5a0de32648eb81b8bc50fb5b0fdcc7208118c887c7274677aafdc8e2400be4d44346ddaccc0b2a3eb99b000f06cc446e90e6c760d 0026-ada-libgnarl-compatibility-for-musl.patch
d6ea8bba98cca5cb9ef952c344f063d126dab7f7d30fbf411334be29e9aae611af85e137c92c16e6e72410fe7fed26d984d8807f0469770cae85f98f7b4d8eac 0027-ada-musl-support-fixes.patch
551da64e652effcb3b8bab8f4fee27d83665505ebe4207f891fd0149a04d601bd0ca60b232e58dc2190a7b9469e47a628e4b0b9986a260535aa3416e662c2fcc 0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch
156c9f987f9579a05509dcdf0575559692be337a1412b4eb0a5eb3a0662ecf8ea2feed8a581741ff637b8dcb186769f54ae2e1b0e4dcace8ac7bb9eb9dd4e918 0029-gcc-go-Don-t-include-sys-user.h.patch
835be5d6477613def7866d2c9392d3327fe09564890d955db7dd0e77c6aacc234f4a8881b1fb15abae20b0b490fd6cebc5211562629166dc546b33b4f3207a24 0030-gcc-go-Fix-ucontext_t-on-PPC64.patch
e0f2b85c4ef4bc83a450e48badc879f67b582d08d9bebad0f466393c9bda9e1898da2af30f90019d65e42bcdbd9fd30540dc3f307bb564470e9b8cae1a8a1e57 0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch
0e6b051452f5f70a279eb323700b933cc856a7a7ec402f822af9cb3d57327fca9ebdeb253e6d87b76098bfd7da9a29591a051f57756ce5a2111da64886b066b4 0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch
5df836874e41ce132a385f8b407f53feaa7854c7e3ecd5bbebc73622d9f0dfdd5000fa1f1545c4c4126d1d83e5d78d203180aec1f09d05369776c5b70f7ffddc 0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch
a49b175ac231ae683bfbd8e422ac61e55f8ed265ec6bfa5b5a32800ba0605fde48088c12bf5b4ed29c9e202dea93c9443c67c61c2f2eecd709e6aefb3f1ffd32 0034-gcc-go-signal-34-is-special-on-musl-libc.patch
70d8725a3969e7b153db01c84dac5accb911d1b595072eda3bf0e2f24037ebcba478b7c2e80ab105ba3f06b404fd47deb8b509e1f5e652f40bf3b6eafef6f0d0 0035-gcc-go-Prefer-_off_t-over-_off64_t.patch
eeb75092443f65e4da76293be1d1a742a0e951c763b5a59ffce056b4a7a84b33dade0e1c96a9887474d16571c797d916c7357ad7fb8004ddbe5195175ca55954 0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch
c6dbba1ae7e11ab0ff58f4c001b5b76c776bf42f17591bc035b42bd7c4e473d837e7daf58e71949889cd1631a88ef5da7058e5d65292090d844077fbb2f6ae02 0037-gcc-go-link-to-libucontext.patch
11e017e82c9e3a8216703972a2d5195eb9153f224d43aeda0aa63519f39212d735b9018ea1c28a214e1eaac31339b5b48273d46a009d82c16a5041d1c0462b2f 0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch
f83a53fefcadcae65fbda5e7d7f3dc3ee949596056ac1b4fbd3117af469a2ea306cacb4f58c345018c12868f64d63d82b1de63a65fcba21749a0a85c6dcaa95a 0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch
b19533749ca4048a2956eab18b99fb2e1c5e4cffe9bf4a77d628b0e167af1f9dbb08a747d7888b365789ab9c6e5ce8cd6c09ef171e33f08c136ef6d4b5f05192 0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch"
+2 -2
View File
@@ -1,4 +1,4 @@
From 61621c64caffb54ea82c5b573e55d16dcb732dea Mon Sep 17 00:00:00 2001
From 56ba7da205f1ec49b1379ab40d533c2e2d70a1a7 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Fri, 26 Jan 2018 20:32:50 +0000
Subject: [PATCH] posix_memalign
@@ -38,5 +38,5 @@ index 87344d9383f..ece428df487 100644
else
return NULL;
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From b6af6fd400def85c7f6933a991c888df16f12533 Mon Sep 17 00:00:00 2001
From 4c53f798c9823dcfc7fe8e2dd26de0077545069d Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 29 Mar 2013 08:59:00 +0400
Subject: [PATCH] gcc: poison-system-directories
@@ -26,7 +26,7 @@ Upstream-Status: Pending
7 files changed, 68 insertions(+)
diff --git a/gcc/common.opt b/gcc/common.opt
index dfed6ec76ba..8bb65e0e1af 100644
index 9cc47b16cac..d8b2e237d89 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -682,6 +682,10 @@ Wreturn-local-addr
@@ -58,7 +58,7 @@ index 364eba47737..9551c0dfdf9 100644
optimizer and back end) to be checked for dynamic type safety at runtime.
This is quite expensive. */
diff --git a/gcc/configure b/gcc/configure
index b4088d8fd1e..793530e21cf 100755
index 8fe9c91fd7c..17b878e4b4e 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -1010,6 +1010,7 @@ with_system_zlib
@@ -78,7 +78,7 @@ index b4088d8fd1e..793530e21cf 100755
--enable-plugin enable plugin support
--enable-host-shared build host code as shared libraries
--disable-libquadmath-support
@@ -30271,6 +30274,19 @@ if test "${enable_version_specific_runtime_libs+set}" = set; then :
@@ -30276,6 +30279,19 @@ if test "${enable_version_specific_runtime_libs+set}" = set; then :
fi
@@ -99,10 +99,10 @@ index b4088d8fd1e..793530e21cf 100755
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 070b9c6c497..0fd438e39e5 100644
index 84dceb8074a..bf64ffbe46f 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -6605,6 +6605,16 @@ AC_ARG_ENABLE(version-specific-runtime-libs,
@@ -6608,6 +6608,16 @@ AC_ARG_ENABLE(version-specific-runtime-libs,
[specify that runtime libraries should be
installed in a compiler-specific directory])])
@@ -120,7 +120,7 @@ index 070b9c6c497..0fd438e39e5 100644
AC_SUBST(subdirs)
AC_SUBST(srcdir)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 7775bcc72eb..034d3066c2b 100644
index 0c1b5975e6b..ede239a0ccd 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -348,6 +348,7 @@ Objective-C and Objective-C++ Dialects}.
@@ -199,5 +199,5 @@ index 8a2bda00f80..9098ab044ab 100644
/* Use given -I paths for #include "..." but not #include <...>, and
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 8e8955cbd60155d131d3ac66cb2a1e7e41835278 Mon Sep 17 00:00:00 2001
From caf66e830299ba0a865041800ea9b32a3091f141 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:45:49 +0000
Subject: [PATCH] Turn on -Wl,-z,relro,-z,now by default.
@@ -9,7 +9,7 @@ Subject: [PATCH] Turn on -Wl,-z,relro,-z,now by default.
2 files changed, 4 insertions(+)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 034d3066c2b..4885efe3247 100644
index ede239a0ccd..43d02c26a1a 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -14663,6 +14663,9 @@ For example, @option{-Wl,-Map,output.map} passes @option{-Map output.map} to the
@@ -35,5 +35,5 @@ index b2200c5185a..625c9ab7902 100644
%{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!r:%{!nostartfiles:%S}}} \
%{Wno-poison-system-directories:--no-poison-system-directories} \
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From c5924988157b27b60c28d20d971179bbacbd2ae3 Mon Sep 17 00:00:00 2001
From 48413b53fb7c9d780b55b84eaf6c70f154719907 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:46:22 +0000
Subject: [PATCH] Turn on -D_FORTIFY_SOURCE=2 by default for C, C++, ObjC,
@@ -25,7 +25,7 @@ index db91a36794a..ed976c71404 100644
if (flag_gnu89_inline)
cpp_define (pfile, "__GNUC_GNU_INLINE__");
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 4885efe3247..a3e5e002fa5 100644
index 43d02c26a1a..78469ebe55d 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -9230,6 +9230,12 @@ also turns on the following optimization flags:
@@ -42,5 +42,5 @@ index 4885efe3247..a3e5e002fa5 100644
@opindex O3
Optimize yet more. @option{-O3} turns on all optimizations specified
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 5b8de466aa959a6c929cee2c78e4159a0209b4f8 Mon Sep 17 00:00:00 2001
From 31ec8fceef33284c4ed3ca4bb97e4a24eb088265 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:46:56 +0000
Subject: [PATCH] On linux targets pass --as-needed by default to the linker,
@@ -265,5 +265,5 @@ index 625c9ab7902..7aec9d3a016 100644
#else
#define LIBUBSAN_SPEC "-lubsan" STATIC_LIBUBSAN_LIBS
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 7c79655102e756622211ca40384e8562be334973 Mon Sep 17 00:00:00 2001
From 1a17780987ee63da34d330e9a2b186751c929c46 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:47:43 +0000
Subject: [PATCH] Enable -Wformat and -Wformat-security by default.
@@ -30,5 +30,5 @@ index c49da99d395..93f25319005 100644
Wformat-overflow=
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 25eb9009f180c799647cfc81d27d8b67ba3f3b72 Mon Sep 17 00:00:00 2001
From 901acffb0caae749c5b830d01a6e858f34311cd5 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:48:24 +0000
Subject: [PATCH] Enable -Wtrampolines by default.
@@ -8,7 +8,7 @@ Subject: [PATCH] Enable -Wtrampolines by default.
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/common.opt b/gcc/common.opt
index 8bb65e0e1af..ace932b300d 100644
index d8b2e237d89..5087ae84d49 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -774,7 +774,7 @@ Common Var(warn_system_headers) Warning
@@ -21,5 +21,5 @@ index 8bb65e0e1af..ace932b300d 100644
Wtype-limits
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From cfa0c7a3154415fe0e0ab6bd373a8f2164024ff5 Mon Sep 17 00:00:00 2001
From 4d09aa762edd682ffb7665b21f7ecd6e1cf90a3f Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:49:40 +0000
Subject: [PATCH] Disable ssp on -nostdlib, -nodefaultlibs and -ffreestanding
@@ -49,5 +49,5 @@ index 4aec480798b..eaecfab37ad 100644
-param=stack-clash-protection-guard-size=
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 4733bb8115411c50028f7a583783ac10c63e8536 Mon Sep 17 00:00:00 2001
From e9b5aa5bb3788b2600a719d3b5ed56e3397ec0ad Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:50:33 +0000
Subject: [PATCH] Ensure that msgfmt doesn't encounter problems during gcc
@@ -50,5 +50,5 @@ index a0f84b0cfa0..ab24a47a2fd 100644
all-local: all-local-$(USE_NLS)
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 7d4ee7a90b87edd33a7f628ff89ce1b1e0576b4d Mon Sep 17 00:00:00 2001
From d87e3805d5f308798e82008b9b3c3440958b6f20 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:52:07 +0000
Subject: [PATCH] Don't declare asprintf if defined as a macro.
@@ -24,5 +24,5 @@ index 141cb886a85..fa0e78eb62f 100644
/* Like asprintf but allocates memory without fail. This works like
xmalloc. */
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 84b959624e1371f1d02630b6e067f00f46dbe516 Mon Sep 17 00:00:00 2001
From 33b3fa0e5bc57219de066c04beaf4fcd09054812 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:53:00 +0000
Subject: [PATCH] libiberty: copy PIC objects during build process
@@ -20,5 +20,5 @@ index d6b302e02fd..fd39928546f 100644
else true; fi
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 8ffd575380bc28aaf3c210ad838b205ce2403124 Mon Sep 17 00:00:00 2001
From 0538fa07136fefd76a0b958db48cd6a06eaf630c Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:53:36 +0000
Subject: [PATCH] libitm: disable FORTIFY
@@ -8,10 +8,10 @@ Subject: [PATCH] libitm: disable FORTIFY
1 file changed, 10 insertions(+)
diff --git a/libitm/configure.tgt b/libitm/configure.tgt
index 04109160e91..107b957ece3 100644
index d1beb5c9ec8..c2b50b95c01 100644
--- a/libitm/configure.tgt
+++ b/libitm/configure.tgt
@@ -46,6 +46,16 @@ if test "$gcc_cv_have_tls" = yes ; then
@@ -47,6 +47,16 @@ if test "$gcc_cv_have_tls" = yes ; then
esac
fi
@@ -29,5 +29,5 @@ index 04109160e91..107b957ece3 100644
# work out any special compilation flags as necessary.
case "${target_cpu}" in
--
2.29.2
2.31.0
+4 -4
View File
@@ -1,4 +1,4 @@
From 0d83ea67b2e16658a88068ebce0e25cce22fe75e Mon Sep 17 00:00:00 2001
From 7f4a2e2f3ab6b649538f3fd775a6f7a5507de543 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Sat, 24 Oct 2015 20:09:53 +0000
Subject: [PATCH] libgcc_s
@@ -10,10 +10,10 @@ Subject: [PATCH] libgcc_s
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/gcc/config/i386/i386-expand.c b/gcc/config/i386/i386-expand.c
index c6033688f51..a60e5162995 100644
index 47d52550e5e..9cb8cc7950e 100644
--- a/gcc/config/i386/i386-expand.c
+++ b/gcc/config/i386/i386-expand.c
@@ -10966,10 +10966,10 @@ ix86_expand_builtin (tree exp, rtx target, rtx subtarget,
@@ -10976,10 +10976,10 @@ ix86_expand_builtin (tree exp, rtx target, rtx subtarget,
{
case IX86_BUILTIN_CPU_INIT:
{
@@ -53,5 +53,5 @@ index 8506a635790..564296f788e 100644
+HOST_LIBGCC2_CFLAGS += -mlong-double-80 $(CET_FLAGS)
CRTSTUFF_T_CFLAGS += $(CET_FLAGS)
--
2.29.2
2.31.0
+6 -6
View File
@@ -1,4 +1,4 @@
From 99ccc2d68049c56519d49e21b6f13cf8d98ea163 Mon Sep 17 00:00:00 2001
From 6c3e5f01e4ac338e85b1a6b5956699d882705882 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Sat, 7 Nov 2015 02:08:05 +0000
Subject: [PATCH] nopie
@@ -9,10 +9,10 @@ Subject: [PATCH] nopie
2 files changed, 40 insertions(+)
diff --git a/gcc/configure b/gcc/configure
index 793530e21cf..2d874d3defe 100755
index 17b878e4b4e..808570b6c99 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -30779,6 +30779,33 @@ fi
@@ -30784,6 +30784,33 @@ fi
$as_echo "$gcc_cv_no_pie" >&6; }
if test "$gcc_cv_no_pie" = "yes"; then
NO_PIE_FLAG="-no-pie"
@@ -47,10 +47,10 @@ index 793530e21cf..2d874d3defe 100755
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 0fd438e39e5..0b257e687ee 100644
index bf64ffbe46f..9c2571de709 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -6863,6 +6863,19 @@ AC_CACHE_CHECK([for -no-pie option],
@@ -6866,6 +6866,19 @@ AC_CACHE_CHECK([for -no-pie option],
LDFLAGS="$saved_LDFLAGS"])
if test "$gcc_cv_no_pie" = "yes"; then
NO_PIE_FLAG="-no-pie"
@@ -71,5 +71,5 @@ index 0fd438e39e5..0b257e687ee 100644
AC_SUBST([NO_PIE_FLAG])
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From a5a7decc1944cf6831eebc10d71a52ef8496bff5 Mon Sep 17 00:00:00 2001
From 66657865719efb0a86ea2ab75511cb326e8aa46f Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:57:09 +0000
Subject: [PATCH] libffi: use __linux__ instead of __gnu_linux__ for musl
@@ -21,5 +21,5 @@ index 721ff00ea43..22a699c6340 100644
with both write and execute permission. Code compiled when this
option is defined will attempt to map such pages once, but if it
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 3554a4b751acce2a4f432d1bb24d9fc69a916889 Mon Sep 17 00:00:00 2001
From b8a954b1e4033ff559e312d693c74e90e3f13210 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:57:51 +0000
Subject: [PATCH] dlang: update zlib binding
@@ -421,5 +421,5 @@ index e6cce240fd5..bd2fe37ebec 100644
}
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From abf18c3f7d908f8f4a365bd4d8f9a4743f1d8f0c Mon Sep 17 00:00:00 2001
From 4d1fe9d5df3ab850df21d68c73d2d3c601910288 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:58:22 +0000
Subject: [PATCH] dlang: fix fcntl on mips, add libucontext dep
@@ -47,5 +47,5 @@ index 9febcff849b..cb34e2108bd 100644
static assert(0, "Platform not supported");
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 277c3317929f41e514632d29ff00354c511deb0e Mon Sep 17 00:00:00 2001
From 04d8d2c7052c0e92825b4246da0df9ac8753701e Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:59:16 +0000
Subject: [PATCH] ada: fix shared linking
@@ -38,5 +38,5 @@ index 02c413a412f..f0e52a87d6e 100644
unsigned char __gnat_objlist_file_supported = 1;
const char *__gnat_object_library_extension = ".a";
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From b1e3ea43462684675cc4f75c2ca4e984a6d511fb Mon Sep 17 00:00:00 2001
From 3da9a00035f6052926918200fdbeff478ff88d28 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:59:43 +0000
Subject: [PATCH] build: fix CXXFLAGS_FOR_BUILD passing
@@ -20,5 +20,5 @@ index 36e369df6e7..63627db68cf 100644
# This is the list of directories to built for the host system.
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From ea75db47e243b59e7cf793623a87295c0d2aada2 Mon Sep 17 00:00:00 2001
From 1274452fed850d4910aac101aa50c26a2011e15f Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:01:06 +0000
Subject: [PATCH] add fortify-headers paths
@@ -21,5 +21,5 @@ index 95654bcdb5a..d88df8f154a 100644
{ NATIVE_SYSTEM_HEADER_DIR, 0, 0, 0, 1, 0 },
#else
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 42637405a9cf90d96627406c72dbaf19cca34164 Mon Sep 17 00:00:00 2001
From 427c95f4cd889f97983d2b5ac4de6501bcf53166 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi>
Date: Fri, 21 Aug 2020 07:03:00 +0000
Subject: [PATCH] Alpine musl package provides libssp_nonshared.a. We link to
@@ -27,5 +27,5 @@ index daeb4d0c8ea..6920bec0fa0 100644
#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \
"|fstack-protector-strong|fstack-protector-explicit" \
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 64f209a51a7277d778c196c31c58422a04a69238 Mon Sep 17 00:00:00 2001
From d3440b3e7d5d9448309b4c3f74487f4c05726a5a Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:03:42 +0000
Subject: [PATCH] DP: Use --push-state/--pop-state for gold as well when
@@ -65,5 +65,5 @@ index 6920bec0fa0..40e07354b3d 100644
#else
#define LIBUBSAN_SPEC "-lubsan" STATIC_LIBUBSAN_LIBS
--
2.29.2
2.31.0
+2 -2
View File
@@ -1,4 +1,4 @@
From a57f530ace0ce215b1d6e2073223f05417ca2ed4 Mon Sep 17 00:00:00 2001
From 5b1bffa6323f1e9f981f1db2b574a876ebcf2bd6 Mon Sep 17 00:00:00 2001
From: Nils Andreas Svee <me@lochnair.net>
Date: Thu, 21 Dec 2017 03:14:33 +0100
Subject: [PATCH] Pure 64-bit MIPS
@@ -43,5 +43,5 @@ index ceb58d3b5f3..8116e23ebba 100644
+ ../lib32 \
+ ../lib
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 4571e0787fc992d647991e64a64d2b9c82e9a0e6 Mon Sep 17 00:00:00 2001
From 7a38f81aa9cc5ed4a39b54480209e29615bd6594 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:04:40 +0000
Subject: [PATCH] use pure 64-bit configuration where appropriate
@@ -117,5 +117,5 @@ index cc6ab367072..7f498ee1cdc 100644
+MULTILIB_OSDIRNAMES = m64=../lib
+MULTILIB_OSDIRNAMES+= m32=../lib32
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From a1fb957dd7fe9a8dd99d256d7b0a676f87a9d80c Mon Sep 17 00:00:00 2001
From eb4c45fb32845cf9ed5e3627380d889f972dbb02 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:05:41 +0000
Subject: [PATCH] always build libgcc_eh.a
@@ -47,5 +47,5 @@ index 851e7657d07..99ec513a1a6 100644
for file in $$parts; do \
rm -f $(DESTDIR)$(inst_libdir)/$$file; \
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 3a0a3d3843edd30ce72c96a40caa9e1334233558 Mon Sep 17 00:00:00 2001
From f06868abe42037e8a97fb1e724df56a81b6d3b36 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:06:30 +0000
Subject: [PATCH] ada: libgnarl compatibility for musl
@@ -9,7 +9,7 @@ Subject: [PATCH] ada: libgnarl compatibility for musl
2 files changed, 3 insertions(+), 61 deletions(-)
diff --git a/gcc/ada/libgnarl/s-osinte__linux.ads b/gcc/ada/libgnarl/s-osinte__linux.ads
index 80cb2b2a793..701b7a3aeab 100644
index ef449af33d1..bd7312e6686 100644
--- a/gcc/ada/libgnarl/s-osinte__linux.ads
+++ b/gcc/ada/libgnarl/s-osinte__linux.ads
@@ -399,12 +399,6 @@ package System.OS_Interface is
@@ -131,5 +131,5 @@ index c45559e5ba0..0b0f173e7d4 100644
pragma Assert (Result in 0 | ENOMEM);
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From d0716e14d5bd652a7e21d0e3c75ea8ed32e6b4c7 Mon Sep 17 00:00:00 2001
From b87099f99e9b97efa684d59a63a7585bc0ae7c34 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:07:48 +0000
Subject: [PATCH] ada: musl support fixes
@@ -219,5 +219,5 @@ index af4417fab90..bab6bf3ca87 100644
status = openpty (&master_fd, &slave_fd, NULL, NULL, NULL);
#elif defined (USE_CLONE_DEVICE)
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From e30511caa0046a09e09d08e01541ee89ebbf56f3 Mon Sep 17 00:00:00 2001
From ebfdc1ed30206086a1f59c0e45d11b735ca22181 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 17:58:08 +0200
Subject: [PATCH] gcc-go: Use _off_t type instead of _loff_t
@@ -44,5 +44,5 @@ index 88286c07b6e..f8f5cfb5011 100644
}
n, err = splice(rfd, plroff, wfd, plwoff, len, flags)
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From dd4c21ab43314e9dd6853f4157c0b2f530b46a3e Mon Sep 17 00:00:00 2001
From 53c8bd07ef19cefadfd5ca6e2b845862ba9c4d14 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 17:58:21 +0200
Subject: [PATCH] gcc-go: Don't include sys/user.h
@@ -26,5 +26,5 @@ index 0692fd41eb7..c8d987358d9 100644
#include <sys/utsname.h>
#endif
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 9f85680c5e156d7ac95260e43bc06fe52468bb6e Mon Sep 17 00:00:00 2001
From 4ebf1f48bae799d4d9c0d3de88c5d8e0f1f2900e Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 17:59:22 +0200
Subject: [PATCH] gcc-go: Fix ucontext_t on PPC64
@@ -25,5 +25,5 @@ index b429fdb2403..fd1c885f043 100644
ret.sigpc = ((ucontext_t*)(context))->uc_mcontext.jmp_context.iar;
#elif defined(__aarch64__) && defined(__linux__)
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From e8162b88725980771aaf473353a7a684aa31e974 Mon Sep 17 00:00:00 2001
From 2ea8b4f0d7cd8e96436ca14ef7f08615496d6d38 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 17:59:45 +0200
Subject: [PATCH] gcc-go: Fix handling of signal 34 on musl
@@ -39,5 +39,5 @@ index 11e4ec436bd..fe866eacb27 100644
if test "${GOOS}" = "aix"; then
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From e52442cf9860963ce5d896436efaa032f9d03d86 Mon Sep 17 00:00:00 2001
From 65212bcce99563e6fa7a0334f1a82bde47ade70c Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 18:01:03 +0200
Subject: [PATCH] gcc-go: Use int64 type as offset argument for mmap
@@ -34,5 +34,5 @@ index ba38ebaa9ab..3c9e5ce9461 100644
if uintptr(p) == _MAP_FAILED {
return nil, errno()
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From d374c7d1d9f6fab654a5ece60a7ea74aeaf90970 Mon Sep 17 00:00:00 2001
From 1fa468989614c5ada2d2a0fac67cc542900ff5de Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 18:02:28 +0200
Subject: [PATCH] gcc-go: Fix st_{a,m,c}tim fields in generated sysinfo.go
@@ -33,5 +33,5 @@ index bd2ba32cba1..972e2c379bc 100755
-e 's/\([^a-zA-Z0-9_]\)_timespec_t\([^a-zA-Z0-9_]\)/\1Timespec\2/g' \
-e 's/\([^a-zA-Z0-9_]\)_st_timespec_t\([^a-zA-Z0-9_]\)/\1StTimespec\2/g' \
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 03365f764ffe09acbfaa08ede12c48d5cbafe37f Mon Sep 17 00:00:00 2001
From 1e401424a24c4d09890c498e9cf37dd65f98fd40 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 18:03:03 +0200
Subject: [PATCH] gcc-go: signal 34 is special on musl libc
@@ -25,5 +25,5 @@ index c555712a03c..9e228580d37 100644
}
throw("sigaction read failure")
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 8f432a1e00956bc2fcb6242571860a69fb32131d Mon Sep 17 00:00:00 2001
From c32a6473e0b51b02401c403b4fa104a82b2c6147 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
Date: Sun, 30 Aug 2020 19:26:53 +0200
Subject: [PATCH] gcc-go: Prefer _off_t over _off64_t
@@ -26,5 +26,5 @@ index 972e2c379bc..8d6da15f983 100755
echo "type Pid_t _pid_t" >> ${OUT}
echo "type Uid_t _uid_t" >> ${OUT}
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 8438932b8a20156459589e9d6b3fcf11989db0e8 Mon Sep 17 00:00:00 2001
From 87b7fd27b0b2cc041e2cc989e77a7eda8fc330a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
Date: Sun, 30 Aug 2020 19:27:51 +0200
Subject: [PATCH] gcc-go: undef SETCONTEXT_CLOBBERS_TLS in proc.c
@@ -8,7 +8,7 @@ Subject: [PATCH] gcc-go: undef SETCONTEXT_CLOBBERS_TLS in proc.c
1 file changed, 4 insertions(+)
diff --git a/libgo/runtime/proc.c b/libgo/runtime/proc.c
index 274ce01c0bf..92a540bdde9 100644
index 6f7d2e27996..5afd7902497 100644
--- a/libgo/runtime/proc.c
+++ b/libgo/runtime/proc.c
@@ -66,6 +66,10 @@ static void gscanstack(G*);
@@ -23,5 +23,5 @@ index 274ce01c0bf..92a540bdde9 100644
static inline void
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 31375289a4c1a0f32c97ae3d73ab950014729392 Mon Sep 17 00:00:00 2001
From 16fd7a533bba015aca4d1c08c7a18f7a6d07ad26 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Mon, 31 Aug 2020 08:59:40 +0200
Subject: [PATCH] gcc-go: link to libucontext
@@ -21,5 +21,5 @@ index 63627db68cf..c7f1f84d683 100644
--srcdir=$${topdir}/$$module_srcdir \
$(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 84fb75f5e30bfde3a076564f566d2f85caf5e6dd Mon Sep 17 00:00:00 2001
From a56c34c3ca3b83f5481dad3888d936f859788614 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
Date: Mon, 31 Aug 2020 20:26:56 +0200
Subject: [PATCH] gcc-go: Disable printing of unaccessible ppc64 struct members
@@ -22,5 +22,5 @@ index fd1c885f043..e845e453332 100644
mcontext_t *m = &((ucontext_t*)(context))->uc_mcontext;
int i;
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From a3ed90c4579725a21f3375a8fe0abb626be7c250 Mon Sep 17 00:00:00 2001
From 7b2278e6d857f68c9cb956865c5037d73be69fc6 Mon Sep 17 00:00:00 2001
From: Geod24 <pro.mathias.lang@gmail.com>
Date: Mon, 16 Nov 2020 18:40:46 +0100
Subject: [PATCH] CRuntime_Musl: Support v1.2.0 for 32 bits
@@ -49,5 +49,5 @@ index 451c8b4fccc..ca654fbe424 100644
alias c_ulong pthread_t;
version (D_LP64)
--
2.29.2
2.31.0
@@ -0,0 +1,269 @@
From 8108772b5430b8d7a4fef8cd9d917a11fbb26fab Mon Sep 17 00:00:00 2001
From: Drew DeVault <sir@cmpwn.com>
Date: Wed, 9 Dec 2020 16:07:26 +0000
Subject: [PATCH] configure: Add --enable-autolink-libatomic, use in
LINK_GCC_C_SEQUENCE_SPEC [PR81358]
This fixes issues with RISC-V.
---
Makefile.in | 1 +
gcc/config.in | 6 ++++++
gcc/config/gnu-user.h | 12 +++++++++++-
gcc/configure | 34 ++++++++++++++++++++++++++++++++--
gcc/configure.ac | 23 ++++++++++++++++++++++-
gcc/doc/install.texi | 8 ++++++++
gcc/doc/tm.texi | 8 +++++++-
gcc/doc/tm.texi.in | 8 +++++++-
gcc/gcc.c | 12 +++++++++++-
9 files changed, 105 insertions(+), 7 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index c7f1f84d683..cb3983ca547 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -222,6 +222,7 @@ HOST_EXPORTS = \
RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
+ TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS; \
HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
GMPINC="$(HOST_GMPINC)"; export GMPINC; \
diff --git a/gcc/config.in b/gcc/config.in
index 9551c0dfdf9..c8ca910df8a 100644
--- a/gcc/config.in
+++ b/gcc/config.in
@@ -106,6 +106,12 @@
#endif
+/* Define if libatomic should always be linked. */
+#ifndef USED_FOR_TARGET
+#undef ENABLE_AUTOLINK_LIBATOMIC
+#endif
+
+
/* Define to 1 to specify that we are using the BID decimal floating point
format instead of DPD */
#ifndef USED_FOR_TARGET
diff --git a/gcc/config/gnu-user.h b/gcc/config/gnu-user.h
index 7f30c363e4a..246698bfea5 100644
--- a/gcc/config/gnu-user.h
+++ b/gcc/config/gnu-user.h
@@ -109,8 +109,18 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define LINK_EH_SPEC "%{!static|static-pie:--eh-frame-hdr} "
#endif
+#if !defined(LINK_LIBATOMIC_SPEC) && defined(ENABLE_AUTOLINK_LIBATOMIC)
+# ifdef LD_AS_NEEDED_OPTION
+# define LINK_LIBATOMIC_SPEC LD_AS_NEEDED_OPTION " -latomic " LD_NO_AS_NEEDED_OPTION
+# else
+# define LINK_LIBATOMIC_SPEC "-latomic"
+# endif
+#elif !defined(LINK_LIBATOMIC_SPEC)
+# define LINK_LIBATOMIC_SPEC ""
+#endif
+
#define GNU_USER_TARGET_LINK_GCC_C_SEQUENCE_SPEC \
- "%{static|static-pie:--start-group} %G %{!nolibc:%L} \
+ "%{static|static-pie:--start-group} %G %{!nolibc:" LINK_LIBATOMIC_SPEC " %L} \
%{static|static-pie:--end-group}%{!static:%{!static-pie:%G}}"
#undef LINK_GCC_C_SEQUENCE_SPEC
diff --git a/gcc/configure b/gcc/configure
index 808570b6c99..6c1e95e0444 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -969,6 +969,7 @@ with_documentation_root_url
with_changes_root_url
enable_languages
with_multilib_list
+enable_autolink_libatomic
with_zstd
with_zstd_include
with_zstd_lib
@@ -1695,6 +1696,9 @@ Optional Features:
--disable-shared don't provide a shared libgcc
--disable-gcov don't provide libgcov and related host tools
--enable-languages=LIST specify which front-ends to build
+ --enable-autolink-libatomic
+ enable automatic linking of libatomic (ignored if
+ not built)
--disable-rpath do not hardcode runtime library paths
--enable-sjlj-exceptions
arrange to use setjmp/longjmp exception handling
@@ -8009,6 +8013,33 @@ else
fi
+# If libatomic is available, whether it should be linked automatically
+# Check whether --enable-autolink-libatomic was given.
+if test "${enable_autolink_libatomic+set}" = set; then :
+ enableval=$enable_autolink_libatomic;
+ case $enable_autolink_libatomic in
+ yes | no) ;;
+ *) as_fn_error $? "'$enable_autolink_libatomic' is an invalid value for
+--enable-autolink-libatomic. Valid choices are 'yes' and 'no'." "$LINENO" 5 ;;
+ esac
+
+else
+ enable_autolink_libatomic=''
+fi
+
+
+if test x$enable_autolink_libatomic = xyes; then
+ if echo " ${TARGET_CONFIGDIRS} " | grep " libatomic " > /dev/null 2>&1 ; then
+
+$as_echo "#define ENABLE_AUTOLINK_LIBATOMIC 1" >>confdefs.h
+
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libatomic is not build for this target, --enable-autolink-libatomic ignored" >&5
+$as_echo "$as_me: WARNING: libatomic is not build for this target, --enable-autolink-libatomic ignored" >&2;}
+ fi
+fi
+
+
# -------------------------
# Checks for other programs
# -------------------------
@@ -19131,7 +19162,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 19131 "configure"
+#line 19158 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -32267,4 +32298,3 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
-
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 9c2571de709..52fd6d8fe06 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -1110,6 +1110,28 @@ AC_ARG_WITH(multilib-list,
:,
with_multilib_list=default)
+# If libatomic is available, whether it should be linked automatically
+AC_ARG_ENABLE(autolink-libatomic,
+[AS_HELP_STRING([--enable-autolink-libatomic],
+ [enable automatic linking of libatomic (ignored if not built)])],
+[
+ case $enable_autolink_libatomic in
+ yes | no) ;;
+ *) AC_MSG_ERROR(['$enable_autolink_libatomic' is an invalid value for
+--enable-autolink-libatomic. Valid choices are 'yes' and 'no'.]) ;;
+ esac
+], [enable_autolink_libatomic=''])
+
+if test x$enable_autolink_libatomic = xyes; then
+ if echo " ${TARGET_CONFIGDIRS} " | grep " libatomic " > /dev/null 2>&1 ; then
+ AC_DEFINE(ENABLE_AUTOLINK_LIBATOMIC, 1,
+ [Define if libatomic should always be linked.])
+ else
+ AC_MSG_WARN([libatomic is not build for this target, --enable-autolink-libatomic ignored])
+ fi
+fi
+
+
# -------------------------
# Checks for other programs
# -------------------------
@@ -6945,4 +6967,3 @@ done
],
[subdirs='$subdirs'])
AC_OUTPUT
-
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 7d98ec4190a..a58d5a05be2 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -2169,6 +2169,14 @@ files, but these changed header paths may conflict with some compilation
environments. Enabled by default, and may be disabled using
@option{--disable-canonical-system-headers}.
+@item --enable-autolink-libatomic
+@itemx --disable-autolink-libatomic
+Tell GCC that it should automatically link libatomic; if supported by
+the linker, the file is only linked as needed. This flag is ignored
+when libatomic is not built. Note that this conigure flag is in particular
+useful when building an offloading-target compiler; as for those, a
+user had to specify @code{-foffload=target=-latomic} otherwise.
+
@item --with-glibc-version=@var{major}.@var{minor}
Tell GCC that when the GNU C Library (glibc) is used on the target it
will be version @var{major}.@var{minor} or later. Normally this can
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index fcb7245e95c..67b485e8d0c 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -381,7 +381,13 @@ the argument @option{-lgcc} to tell the linker to do the search.
@defmac LINK_GCC_C_SEQUENCE_SPEC
The sequence in which libgcc and libc are specified to the linker.
-By default this is @code{%G %L %G}.
+By default this is @code{%G LINK_LIBATOMIC_SPEC %L %G}.
+@end defmac
+
+@defmac LINK_LIBATOMIC_SPEC
+This macro is used in the default @code{LINK_GCC_C_SEQUENCE_SPEC} to link
+libatomic. By default, it is unset unless @code{ENABLE_AUTOLINK_LIBATOMIC}
+is set.
@end defmac
@defmac POST_LINK_SPEC
diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in
index c17209daa51..3ec63f6d091 100644
--- a/gcc/doc/tm.texi.in
+++ b/gcc/doc/tm.texi.in
@@ -381,7 +381,13 @@ the argument @option{-lgcc} to tell the linker to do the search.
@defmac LINK_GCC_C_SEQUENCE_SPEC
The sequence in which libgcc and libc are specified to the linker.
-By default this is @code{%G %L %G}.
+By default this is @code{%G LINK_LIBATOMIC_SPEC %L %G}.
+@end defmac
+
+@defmac LINK_LIBATOMIC_SPEC
+This macro is used in the default @code{LINK_GCC_C_SEQUENCE_SPEC} to link
+libatomic. By default, it is unset unless @code{ENABLE_AUTOLINK_LIBATOMIC}
+is set.
@end defmac
@defmac POST_LINK_SPEC
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 40e07354b3d..81bd50b4d7c 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -877,13 +877,23 @@ proper position among the other output files. */
# define ASM_DEBUG_SPEC ""
#endif
+#if !defined(LINK_LIBATOMIC_SPEC) && defined(ENABLE_AUTOLINK_LIBATOMIC)
+# ifdef LD_AS_NEEDED_OPTION
+# define LINK_LIBATOMIC_SPEC LD_AS_NEEDED_OPTION " -latomic " LD_NO_AS_NEEDED_OPTION
+# else
+# define LINK_LIBATOMIC_SPEC "-latomic"
+# endif
+#elif !defined(LINK_LIBATOMIC_SPEC)
+# define LINK_LIBATOMIC_SPEC ""
+#endif
+
/* Here is the spec for running the linker, after compiling all files. */
/* This is overridable by the target in case they need to specify the
-lgcc and -lc order specially, yet not require them to override all
of LINK_COMMAND_SPEC. */
#ifndef LINK_GCC_C_SEQUENCE_SPEC
-#define LINK_GCC_C_SEQUENCE_SPEC "%G %{!nolibc:%L %G}"
+#define LINK_GCC_C_SEQUENCE_SPEC "%G %{!nolibc:" LINK_LIBATOMIC_SPEC " %L %G}"
#endif
#ifdef ENABLE_DEFAULT_SSP
--
2.31.0
+58 -47
View File
@@ -25,13 +25,13 @@ _cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
pkgname=gcc-armhf
_pkgbase=10.2.1
pkgver=10.2.1_pre1
pkgver=10.2.1_git20210328
[ "$BOOTSTRAP" = "nolibc" ] && pkgname="gcc-pass2"
[ "$CBUILD" != "$CHOST" ] && _cross="-$CARCH" || _cross=""
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
pkgname=gcc-armhf
pkgrel=3
pkgrel=0
pkgdesc="Stage2 cross-compiler for armhf"
url="https://gcc.gnu.org"
arch="x86_64"
@@ -170,7 +170,7 @@ if $LANG_FORTRAN; then
_languages="$_languages,fortran"
fi
if $LANG_ADA; then
subpackages="$subpackages libgnat::$CTARGET_ARCH gcc-gnat$_target:gnat"
subpackages="$subpackages libgnat-static:libgnatstatic:$CTARGET_ARCH libgnat::$CTARGET_ARCH gcc-gnat$_target:gnat"
_languages="$_languages,ada"
[ "$CBUILD" = "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat-bootstrap"
[ "$CBUILD" != "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat gcc-gnat$_cross"
@@ -223,7 +223,8 @@ source="https://dev.alpinelinux.org/~nenolod/gcc-${pkgver}.tar.xz
0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch
0037-gcc-go-link-to-libucontext.patch
0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch
0040-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch
0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch
0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch
"
# we build out-of-tree
@@ -395,14 +396,16 @@ package() {
done
fi
paxmark -pmrs "$pkgdir"/$_gcclibexec/cc1
# move ada runtime libs
if $LANG_ADA; then
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 -name "libgna*.so"); do
mv "$i" "$pkgdir"/usr/lib/
ln -s ../../../../${i##*/} $i
done
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 -name "libgna*.a"); do
mv "$i" "$pkgdir"/usr/lib/
ln -s ../../../../${i##*/} $i
done
fi
if [ "$CHOST" != "$CTARGET" ]; then
@@ -487,7 +490,6 @@ gpp() {
"$subpkgdir"/usr/${_target:+$CTARGET/}lib \
mv "$pkgdir/$_gcclibexec/cc1plus" "$subpkgdir/$_gcclibexec/"
paxmark -pmrs "$subpkgdir/$_gcclibexec/cc1plus"
mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/*++* "$subpkgdir"/usr/${_target:+$CTARGET/}lib/
mv "$pkgdir"/usr/${_target:+$CTARGET/}include/c++ "$subpkgdir"/usr/${_target:+$CTARGET/}include/
@@ -644,6 +646,14 @@ libgnat() {
mv "$pkgdir"/usr/lib/libgna*.so "$subpkgdir"/usr/lib/
}
libgnatstatic() {
pkgdesc="GNU Ada static libraries"
depends=
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libgna*.a "$subpkgdir"/usr/lib/
}
gnat() {
pkgdesc="Ada support for GCC"
depends="gcc=$_gccrel"
@@ -658,43 +668,44 @@ gnat() {
mv "$pkgdir"/usr/bin/*gnat* "$subpkgdir"/usr/bin/
}
sha512sums="172fd45e7274c36ebd22a7e12e44a7096ae3bf0e7f0b647da92cfd31ec406a69017df7ee6c1a6ee0822fbef4ff47855f83fab0a0cdb8f031713a14604af3900b gcc-10.2.1_pre1.tar.xz
429a92934e1c507c0320741ed5cdd98ba96c73412447c8df0704077e3f0fa6ee4cc4056fadeaa6bb55d237416b555408e97a1c1d21f47b6f6812f153bc36f181 0001-posix_memalign.patch
a0a9445358f58a34ba0a605d142243d62873d4669ca811013a593e3d6e6640006b5ec23b7a5734ee72f71762d098d607749d6ecc98c85aa4f2074400aedd63ff 0002-gcc-poison-system-directories.patch
9fb636d1f2ef5b8225082f44da3086b9f196d1c045d7319cea148ee630b92c164e80a3e9a70a221e616a65fc00da761e733f87e23e8575634e498728bce2c48b 0003-Turn-on-Wl-z-relro-z-now-by-default.patch
e34086d5a46f963e43e9f2f9240e3fb4d935e49feb8edba5121a59192b5991103a8253a342fbc20cef8ac2aa4ae2bf9a7ceb62abf6676be16441fd2dbf3b05f2 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch
ffd89376a743d29a16b4f38463076691cd3716bee2bca0dbb67c2c1da00773661fb362bcc4b2ffd94f57c6b4470ae7cf8f6abad95de5880e74adaa5c4da21426 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch
e101b356589fb794f1c4224bba8d8c714a962bed7858a734badfe38a5d10f4e800155f1ed5edbae9da7134192dfd6a4d8a33a9dbe871becb9526810af535819c 0006-Enable-Wformat-and-Wformat-security-by-default.patch
e6fbe275e8f4b1257271118bfea5d6c05b041439dde560775a7ee1a9457f442c3e0c8b1113c68bd54502b7d44e6e4b76315613bf2972898a981119f384106fde 0007-Enable-Wtrampolines-by-default.patch
e2a6a0e3cb2c7a40f59432e0f633a3579bb320fc116290d4655766931c56fb78ce73b0f5e75a78c6aacf85155f3c508e84bfee259dba13cd36e77a601fd5d8f5 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch
0f802f8d9d794a6515a7df7b8588eadc0fa49fdb0b7a5148036fa6fc6e74f35c97d79ed1e4ad225f8f46cca6801f49cbc041258494e4fdbad77a6a7020024d7d 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch
ff99bc1d02ab07ca7d4c45ff5bfec555096b9a9eb6ef5c02d7e18de72ff3a02505d5e3dca6681caa23b8993049a4acf6a07f5a2e8b4481c4778a7a982851970e 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch
cf4dc1bfe33250e4065d926d0a126eb87a43695e24a5efda1c383c4d78add0fa7884c378cd3fbb48d713503492d842758fed69c8b5e29774b3bc87c4abe65125 0011-libiberty-copy-PIC-objects-during-build-process.patch
93f244dda3fa55a6016d511f526abf902f7902e876a2d813980d0ad0bf527e4c0fd6258293c90085c1e59056d827bf92aab2b9b92c6f17f776e0068e507d731a 0012-libitm-disable-FORTIFY.patch
d6f409d8d9de3ff44e97046fed1b70ebbecebd5722e7c9bbb92d244ed37d43e77b5d398e39038c554945d022df6d2103b9d4c51fbe11e1d8a011bdfd9067b647 0013-libgcc_s.patch
d380dc2f57bb2065e0c6d80c0837113c3feee2b2290b5747e922aa7dbcbc4463f55f1c22b39a1dcf88653ef5bbae9d29adbfc0f1002d5eaa523a7a31f980b7ab 0014-nopie.patch
5db204edfcace211fd89eb16c358579d1534546a0245d2e11541078081d627e712a9ce372d838f152b4e361742696324929c4649d9b9ff6fb0678791bd898fca 0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch
bb76853e79fbeb5c57f52739dff132abf0b80fc551fe83d82238f598ab5ec153b7ebb45aa33b05b24750ff1895cd77a52375bcfb9295c1a44683996ac34bd381 0016-dlang-update-zlib-binding.patch
50916865c79d9a1305f2524f7051d04df46be925fc7385a3b3cb2c17f1becb8827de76c3e897d470ce1f3fc269f9051c9b478c4d022d7611bcf081782e8b4cba 0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch
0de08138565d81d4b7bbd367f08e5a2bc637106c39736fbedc92401cf3c2cf18ff50c183c263354852bc03724f9353a9a357ed637b3f012ede2514d3c2ed3969 0018-ada-fix-shared-linking.patch
82aa21e25fddb6ba6a4e1424c88cf5989f62bf3fe088b43bfaf2e624df0381c830b1f0d1e7f10afb2ec6bff07a2558c0464229a997420fe0435321d1d2117372 0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch
97cb91e95afccfa7fd020d10f48421745cf7afcbe903f17256fc1df05f5f07eaa675576b7eb340da1b5aa97854df4f1f003cb648d8c2e64d9e9c067a0acd2243 0020-add-fortify-headers-paths.patch
3ffc3bbfbfd7ae3ddfef131d0731577aac0567c965d545a2ad7c9588430397748758990d2c449e4a4c66f11db6a3ea66fb3187d173c3581cda2093d25f3d90e6 0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch
fe3e098d71709bde04cc0a17dcf3bb6ce5bc14b51af1395db97afcb464ba5910dbf85be5d968beddf645e916241f9c6be243c24097c326d9bfebc58219f76118 0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch
7dc0c14cbdcab4aaa355568556e5263912ecc69301653602f99e7c70352d84431c6f931a27f4977de7bbd0d5a328c865f7717c8136e3ed6a12ef4448a107a1a6 0023-Pure-64-bit-MIPS.patch
e4bbd675aea5f09d4aaa32990a88597bd070273754656575e9be74a172afd244aa15e58c2d6878606b652d56457b053c94213f3c0bbf63ebe1ede5fcfdedca25 0024-use-pure-64-bit-configuration-where-appropriate.patch
f2bd09b05fb67544d0ef70ce14fd8ca2e2d21846d5396e4e53cdb95317ae122b3f121b8933e5784fc92e51e50d23812e4aa41f2fd07ae68ba1a21ca094a841ac 0025-always-build-libgcc_eh.a.patch
0d49f5104e89a1269a286f7021dd32d0ac4f7aa427b36f40133bc8616ca87e92144d6cc36f958b3ab4ec683e12f946c3658bceada8fcd5114bdb7c197992eb4a 0026-ada-libgnarl-compatibility-for-musl.patch
a09211cb007a9722ec95d046fbf317f63b362fb25f6d3ba285f278a33fe08ad5f5d51ba1e4ccf9ebe02c1ea3ca15f10b0721e7f65af5ced27ffc9380af7558b1 0027-ada-musl-support-fixes.patch
35c1ee71725042fffded7e3189d96ace6cb730d95d83cd49fd4d8527eba72eb344c11d563d1c751a3934627e5aaa44525c58afd4d01c0bb99bab3b6222fa3040 0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch
26deab6006d46e2c8de4679cc7f598cfdd572b1b77c0595f0160fa693251669d324f47712c6faef481dc33a2c83878ec3fe385d54ab9bfd6fa2c576d84429d05 0029-gcc-go-Don-t-include-sys-user.h.patch
dd9cc5c3c5368a210276ce4396be9cf120c5acfc65cae88508aebd7d4430a28d21b26b362f7f7456ae64c87dd06dfe7a615cd0c7ca13740b683e3a59c1c7bc8d 0030-gcc-go-Fix-ucontext_t-on-PPC64.patch
c17f5088172babddbdb32830387487286f6106304cf07d49d0b2e59feacad62aa10a46bf1bf927f1f138fd1112da5bef7ae1227a26e7946082a6edc7f340b522 0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch
db67b346f3def6c004639df27cef32a6c4e9b4661634f43b62f4f3be852f5ae6d5dadef85116f816d5fd88cbdd80001d8f81cc8d554b9094744402ca3ae14725 0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch
438c165b8e217142b64a002e99b112fbdac9b2c4ced7b0a8c8fe9cff42e6a5ea6d5939cb40905d5a8570fc890de447fd0f5b49c9ee43c3a6e33446efdf2229bf 0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch
85592117e6370ff8612a7a028194c6875c8df1f07299afa0188770bf9bdd82d9aeb322909ec980cf3bd10a54d90829fffb145c566d843027c11d49e78d3f0a9e 0034-gcc-go-signal-34-is-special-on-musl-libc.patch
abc2ae2ea2ff270226c45321508c3641011b23172d043c55239a52fee9ed8451e8e23a2a65612c5f3a0d2e4d1a601a7e9a2c1d6c07f926e6cdf42164d23cff34 0035-gcc-go-Prefer-_off_t-over-_off64_t.patch
21ff83b1f5f8c71c41e7c22ba59f194bc789c8e67a6be9e5185f215adf4ddb175551a261556e5c9bd57dd9c302e1f966de01ff90e097d7ace2c2e43208b6e0f9 0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch
5f0230f9e542bcbfa39f1a3da1f171229bd926971a924ec3e9f3ad8178645d3853659a58a89a48906ffdd77e9c5ff2af43dc54cfc4ac335a219267dddc4afad1 0037-gcc-go-link-to-libucontext.patch
08ffdce5d1ef722364faf5e824b62d0e58655acbba99b58f24c609abb1d90577432863e769fbe269e4151c997b8bbb0cbed29032752b6e6c3356f8fb3086d607 0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch
81bcffde9635c9c4b3214afd8bb16048f15dc8c4ce82c5576b15ee552d6ca8eeee2c5444e2949fec3b938e69fc7a2a2259a07d437e004788ac232c43ae9a83d2 0040-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch"
sha512sums="44d785af0f7aa321487f23b7656877e8112ca2e0b93df538508031d6541db6f7e92ddefb40e44870f4f86adc8dd0efbca3b1748539d62c46f18ac667e134c7f6 gcc-10.2.1_git20210328.tar.xz
3b26000b0ffb3467d8d1b37782a4ba03564813ca33a2842ec2f86213e4ad8f0eba4dd55c43fe965fb90ab21bfecb7c8abd174b5faf09aad128ee25bfd1f48578 0001-posix_memalign.patch
9b6e01b6c61c6d30a5965a16f9057495b6e73387085ecff3db87ad4153305fdcec132ade9f13229539cf35c29e0ceaac38a0eeb9f9598e1a30a4f67a2352c0b6 0002-gcc-poison-system-directories.patch
eee255b920cfe35cb1df1c62a44f17c81479573308df87c12c0971a1dca82dd1c73a0544cc6ab9974cd75d212e19450fc855eaf794843f0d5541e9ba7985af2f 0003-Turn-on-Wl-z-relro-z-now-by-default.patch
b1967302576ede18efbfd7de6c191b7503bc43f205a6c22787823d1bd66f03d197bb2f0e674594707a9958932605b4b524568b2383fa62117bd5d80ecacce29c 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch
45c21abd2153541959352ed75ec322038c0950351c164d5540b61070fcaf158feee3ee82fd6dd9aea03d846edb99f487f76a312d442d70de16371c783fe3704b 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch
16a7b2a1e5c2191694131f2eee06adf3e45d59de83e1b5fa1dff43210b9a7f13234cf27a95d9a1d799bcd944aa2af8dc33396d518b574b8773ad52ebc6e80edc 0006-Enable-Wformat-and-Wformat-security-by-default.patch
daef4ebe907027b9ed2a4d940bb729355c86146dedd963f19b6f3e293e9e9807312c457a76c8599cc759283e7c35b85b721a60cabfc3026538efcbce212e10ea 0007-Enable-Wtrampolines-by-default.patch
f67ca64ef00350404a4db016e605a255e1669c9d05c86061816905348ddc9ffe260ae8d05d0fd1b9c9c2268b2943b2507a95e63ced39a4c5dfb791964f6f4a16 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch
a7867b548b54ac81eedfda56679ee6658e690bb47528f9c437538c09bfeb5c8f0051788d61b480ddef3b3d16c4b2c35669741d5f99b2e68a89c7aec6280bc65f 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch
3d21fae6c58aabf7f05caabcc54635650e178d87d3816cfd367f14dfcfb0fa971526ce06d0c5f84557ce66220c2859b66897ede76c7e5d59cb72789b3b4edcae 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch
da4005b10d0222ebddc44dc9334933d80064583dc9f4e949ceef5b9739556d01ed91513a1a26758bf1211fd7a941d4e0d7cd1093b2f03cd00950981b8be87c1a 0011-libiberty-copy-PIC-objects-during-build-process.patch
f9acc3d4691525b6f64344485b9566a5e916572159c2b779f79324c56d6a3d9acb9c8dd79c0cf4d067737ca9c966aa1ba6b22c0eb6a4aadf91c54a3455a2bcd9 0012-libitm-disable-FORTIFY.patch
78fa151c0121455d52b7499b1e94761c4bb1150acaa751275df8e26ee27be785c78e2f7c7ec6fd3fda8cba431f2c151c79d61f9c00d51f55b2ae0ea588f3880c 0013-libgcc_s.patch
01afd5aab0f73ad2ee59459520d0fd93e772e954907e453ffc853e2b03f0c963f04abaea4479b202f79fa5c535b3a5b95f3ecde727ddfefb2c3e02e269ab39cc 0014-nopie.patch
1da8e1e5124e480b29b35c0401298d4c9a15b871e7bfede525df33e0ebaf56dc63d0854c28876d3ea77438353641c9ff5d4050698bca9fb91765ab92f9208359 0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch
79853461889abccf810f70c8b6de5bb8a201681957dfeb1e7f0bc6acc3e939958f3e4012ff76ff01f7004398170566f100e49fa2ad3187dde4cdee60ac28a00d 0016-dlang-update-zlib-binding.patch
bbd954ac46d52d1fa8dcc731714424e026189d93eb6da6e632da997b3555b22dcff341626975d7acb795b655355ca493ebcffb925ba8b95e6dc3682a1c1e3fcf 0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch
e6cd2ff6c03cad621bfd8b6c50bd7f9280a8a944096d0994cb11a7689c40cecffb2efc813db39e040c064ed1a8fa8bbd60ff51ab3bb69485faa216f4d9bab17d 0018-ada-fix-shared-linking.patch
a16631492e020f54fe19dc41ab831df881c96903d7ae9beaf9cfaed8c3bb65fdabea2ed0fc0945736a21432032623acb4403e9dc96d6020bd08b3836669719be 0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch
1313e45ea2a9f8118d86a68e0942afc85840bbcc0154683f19660a09b7d51448f87ceb2e04fa9e70d84b7494467855f3062bb6be896cfbccb4ffb33dc3f836dd 0020-add-fortify-headers-paths.patch
a7f159ee2719cf16df666c58cac7266c6d14531076c719e3723f74b022c30338b7a53b0580aa373bcef8ccf607e7e54d4fb8d4da92da9ed82046797d8d4530e0 0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch
b2d84e116538be203b10b795eb2ec11cd5aac3dc4b6d9216118b61de417929c68f3f961ae9c6edbb86a4f74305dabc26619aac1fe1ad289b274e4c546eeeb2dc 0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch
72bb76b5e039c341c01d23dd503faaf290efd7389c748696ef058f9534d96bbfea8e56c52be4737a4ef7ab6bef8806c729d35175f5f55fddced42b3317ab223d 0023-Pure-64-bit-MIPS.patch
775fd10e51e80f22b21158c64cab69fbf7783dba784904a364614f319dca9c227d219714ddf4bb8c84d5e226322ce46739313f85e8b564df73f6ee91d54cfd82 0024-use-pure-64-bit-configuration-where-appropriate.patch
1fb0f5b812045f485051b16f5e7f4cf9785471a1c6069f88086edd41c65db4eb35681cc52916ef36586224ce7f5a66fc4e548076525afe6a6b56e21668fa5c81 0025-always-build-libgcc_eh.a.patch
84eb567250c6cc3c4dc00fb5a0de32648eb81b8bc50fb5b0fdcc7208118c887c7274677aafdc8e2400be4d44346ddaccc0b2a3eb99b000f06cc446e90e6c760d 0026-ada-libgnarl-compatibility-for-musl.patch
d6ea8bba98cca5cb9ef952c344f063d126dab7f7d30fbf411334be29e9aae611af85e137c92c16e6e72410fe7fed26d984d8807f0469770cae85f98f7b4d8eac 0027-ada-musl-support-fixes.patch
551da64e652effcb3b8bab8f4fee27d83665505ebe4207f891fd0149a04d601bd0ca60b232e58dc2190a7b9469e47a628e4b0b9986a260535aa3416e662c2fcc 0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch
156c9f987f9579a05509dcdf0575559692be337a1412b4eb0a5eb3a0662ecf8ea2feed8a581741ff637b8dcb186769f54ae2e1b0e4dcace8ac7bb9eb9dd4e918 0029-gcc-go-Don-t-include-sys-user.h.patch
835be5d6477613def7866d2c9392d3327fe09564890d955db7dd0e77c6aacc234f4a8881b1fb15abae20b0b490fd6cebc5211562629166dc546b33b4f3207a24 0030-gcc-go-Fix-ucontext_t-on-PPC64.patch
e0f2b85c4ef4bc83a450e48badc879f67b582d08d9bebad0f466393c9bda9e1898da2af30f90019d65e42bcdbd9fd30540dc3f307bb564470e9b8cae1a8a1e57 0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch
0e6b051452f5f70a279eb323700b933cc856a7a7ec402f822af9cb3d57327fca9ebdeb253e6d87b76098bfd7da9a29591a051f57756ce5a2111da64886b066b4 0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch
5df836874e41ce132a385f8b407f53feaa7854c7e3ecd5bbebc73622d9f0dfdd5000fa1f1545c4c4126d1d83e5d78d203180aec1f09d05369776c5b70f7ffddc 0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch
a49b175ac231ae683bfbd8e422ac61e55f8ed265ec6bfa5b5a32800ba0605fde48088c12bf5b4ed29c9e202dea93c9443c67c61c2f2eecd709e6aefb3f1ffd32 0034-gcc-go-signal-34-is-special-on-musl-libc.patch
70d8725a3969e7b153db01c84dac5accb911d1b595072eda3bf0e2f24037ebcba478b7c2e80ab105ba3f06b404fd47deb8b509e1f5e652f40bf3b6eafef6f0d0 0035-gcc-go-Prefer-_off_t-over-_off64_t.patch
eeb75092443f65e4da76293be1d1a742a0e951c763b5a59ffce056b4a7a84b33dade0e1c96a9887474d16571c797d916c7357ad7fb8004ddbe5195175ca55954 0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch
c6dbba1ae7e11ab0ff58f4c001b5b76c776bf42f17591bc035b42bd7c4e473d837e7daf58e71949889cd1631a88ef5da7058e5d65292090d844077fbb2f6ae02 0037-gcc-go-link-to-libucontext.patch
11e017e82c9e3a8216703972a2d5195eb9153f224d43aeda0aa63519f39212d735b9018ea1c28a214e1eaac31339b5b48273d46a009d82c16a5041d1c0462b2f 0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch
f83a53fefcadcae65fbda5e7d7f3dc3ee949596056ac1b4fbd3117af469a2ea306cacb4f58c345018c12868f64d63d82b1de63a65fcba21749a0a85c6dcaa95a 0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch
b19533749ca4048a2956eab18b99fb2e1c5e4cffe9bf4a77d628b0e167af1f9dbb08a747d7888b365789ab9c6e5ce8cd6c09ef171e33f08c136ef6d4b5f05192 0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch"
+2 -2
View File
@@ -1,4 +1,4 @@
From 61621c64caffb54ea82c5b573e55d16dcb732dea Mon Sep 17 00:00:00 2001
From 56ba7da205f1ec49b1379ab40d533c2e2d70a1a7 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Fri, 26 Jan 2018 20:32:50 +0000
Subject: [PATCH] posix_memalign
@@ -38,5 +38,5 @@ index 87344d9383f..ece428df487 100644
else
return NULL;
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From b6af6fd400def85c7f6933a991c888df16f12533 Mon Sep 17 00:00:00 2001
From 4c53f798c9823dcfc7fe8e2dd26de0077545069d Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 29 Mar 2013 08:59:00 +0400
Subject: [PATCH] gcc: poison-system-directories
@@ -26,7 +26,7 @@ Upstream-Status: Pending
7 files changed, 68 insertions(+)
diff --git a/gcc/common.opt b/gcc/common.opt
index dfed6ec76ba..8bb65e0e1af 100644
index 9cc47b16cac..d8b2e237d89 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -682,6 +682,10 @@ Wreturn-local-addr
@@ -58,7 +58,7 @@ index 364eba47737..9551c0dfdf9 100644
optimizer and back end) to be checked for dynamic type safety at runtime.
This is quite expensive. */
diff --git a/gcc/configure b/gcc/configure
index b4088d8fd1e..793530e21cf 100755
index 8fe9c91fd7c..17b878e4b4e 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -1010,6 +1010,7 @@ with_system_zlib
@@ -78,7 +78,7 @@ index b4088d8fd1e..793530e21cf 100755
--enable-plugin enable plugin support
--enable-host-shared build host code as shared libraries
--disable-libquadmath-support
@@ -30271,6 +30274,19 @@ if test "${enable_version_specific_runtime_libs+set}" = set; then :
@@ -30276,6 +30279,19 @@ if test "${enable_version_specific_runtime_libs+set}" = set; then :
fi
@@ -99,10 +99,10 @@ index b4088d8fd1e..793530e21cf 100755
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 070b9c6c497..0fd438e39e5 100644
index 84dceb8074a..bf64ffbe46f 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -6605,6 +6605,16 @@ AC_ARG_ENABLE(version-specific-runtime-libs,
@@ -6608,6 +6608,16 @@ AC_ARG_ENABLE(version-specific-runtime-libs,
[specify that runtime libraries should be
installed in a compiler-specific directory])])
@@ -120,7 +120,7 @@ index 070b9c6c497..0fd438e39e5 100644
AC_SUBST(subdirs)
AC_SUBST(srcdir)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 7775bcc72eb..034d3066c2b 100644
index 0c1b5975e6b..ede239a0ccd 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -348,6 +348,7 @@ Objective-C and Objective-C++ Dialects}.
@@ -199,5 +199,5 @@ index 8a2bda00f80..9098ab044ab 100644
/* Use given -I paths for #include "..." but not #include <...>, and
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 8e8955cbd60155d131d3ac66cb2a1e7e41835278 Mon Sep 17 00:00:00 2001
From caf66e830299ba0a865041800ea9b32a3091f141 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:45:49 +0000
Subject: [PATCH] Turn on -Wl,-z,relro,-z,now by default.
@@ -9,7 +9,7 @@ Subject: [PATCH] Turn on -Wl,-z,relro,-z,now by default.
2 files changed, 4 insertions(+)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 034d3066c2b..4885efe3247 100644
index ede239a0ccd..43d02c26a1a 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -14663,6 +14663,9 @@ For example, @option{-Wl,-Map,output.map} passes @option{-Map output.map} to the
@@ -35,5 +35,5 @@ index b2200c5185a..625c9ab7902 100644
%{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!r:%{!nostartfiles:%S}}} \
%{Wno-poison-system-directories:--no-poison-system-directories} \
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From c5924988157b27b60c28d20d971179bbacbd2ae3 Mon Sep 17 00:00:00 2001
From 48413b53fb7c9d780b55b84eaf6c70f154719907 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:46:22 +0000
Subject: [PATCH] Turn on -D_FORTIFY_SOURCE=2 by default for C, C++, ObjC,
@@ -25,7 +25,7 @@ index db91a36794a..ed976c71404 100644
if (flag_gnu89_inline)
cpp_define (pfile, "__GNUC_GNU_INLINE__");
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 4885efe3247..a3e5e002fa5 100644
index 43d02c26a1a..78469ebe55d 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -9230,6 +9230,12 @@ also turns on the following optimization flags:
@@ -42,5 +42,5 @@ index 4885efe3247..a3e5e002fa5 100644
@opindex O3
Optimize yet more. @option{-O3} turns on all optimizations specified
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 5b8de466aa959a6c929cee2c78e4159a0209b4f8 Mon Sep 17 00:00:00 2001
From 31ec8fceef33284c4ed3ca4bb97e4a24eb088265 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:46:56 +0000
Subject: [PATCH] On linux targets pass --as-needed by default to the linker,
@@ -265,5 +265,5 @@ index 625c9ab7902..7aec9d3a016 100644
#else
#define LIBUBSAN_SPEC "-lubsan" STATIC_LIBUBSAN_LIBS
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 7c79655102e756622211ca40384e8562be334973 Mon Sep 17 00:00:00 2001
From 1a17780987ee63da34d330e9a2b186751c929c46 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:47:43 +0000
Subject: [PATCH] Enable -Wformat and -Wformat-security by default.
@@ -30,5 +30,5 @@ index c49da99d395..93f25319005 100644
Wformat-overflow=
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From 25eb9009f180c799647cfc81d27d8b67ba3f3b72 Mon Sep 17 00:00:00 2001
From 901acffb0caae749c5b830d01a6e858f34311cd5 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:48:24 +0000
Subject: [PATCH] Enable -Wtrampolines by default.
@@ -8,7 +8,7 @@ Subject: [PATCH] Enable -Wtrampolines by default.
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/common.opt b/gcc/common.opt
index 8bb65e0e1af..ace932b300d 100644
index d8b2e237d89..5087ae84d49 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -774,7 +774,7 @@ Common Var(warn_system_headers) Warning
@@ -21,5 +21,5 @@ index 8bb65e0e1af..ace932b300d 100644
Wtype-limits
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From cfa0c7a3154415fe0e0ab6bd373a8f2164024ff5 Mon Sep 17 00:00:00 2001
From 4d09aa762edd682ffb7665b21f7ecd6e1cf90a3f Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:49:40 +0000
Subject: [PATCH] Disable ssp on -nostdlib, -nodefaultlibs and -ffreestanding
@@ -49,5 +49,5 @@ index 4aec480798b..eaecfab37ad 100644
-param=stack-clash-protection-guard-size=
--
2.29.2
2.31.0
Loaded 100 of 573 files, more files were not shown because too many files have changed in this diff. Show more