Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
cb9d62b6
Commit
cb9d62b6
authored
3 years ago
by
Sören Tempel
Browse files
Options
Downloads
Patches
Plain Diff
community/pcc-libs: upgrade to 20210917
parent
1688b73f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
community/pcc-libs/APKBUILD
+4
-6
4 additions, 6 deletions
community/pcc-libs/APKBUILD
community/pcc-libs/fix-function-placement.patch
+0
-19
0 additions, 19 deletions
community/pcc-libs/fix-function-placement.patch
with
4 additions
and
25 deletions
community/pcc-libs/APKBUILD
+
4
−
6
View file @
cb9d62b6
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname
=
pcc-libs
pkgname
=
pcc-libs
pkgver
=
20210
420
pkgver
=
20210
917
pkgrel
=
1
pkgrel
=
0
pkgdesc
=
"The portable C compiler support libraries."
pkgdesc
=
"The portable C compiler support libraries."
url
=
"http://pcc.ludd.ltu.se/"
url
=
"http://pcc.ludd.ltu.se/"
arch
=
"x86 x86_64"
arch
=
"x86 x86_64"
license
=
"BSD"
license
=
"BSD"
subpackages
=
"
$pkgname
-dev"
subpackages
=
"
$pkgname
-dev"
source
=
"ftp://pcc.ludd.ltu.se/pub/pcc-libs/pcc-libs-
$pkgver
.tgz
source
=
"ftp://pcc.ludd.ltu.se/pub/pcc-libs/pcc-libs-
$pkgver
.tgz
musl-fixes.patch
musl-fixes.patch"
fix-function-placement.patch"
prepare
()
{
prepare
()
{
default_prepare
default_prepare
...
@@ -33,7 +32,6 @@ package() {
...
@@ -33,7 +32,6 @@ package() {
}
}
sha512sums
=
"
sha512sums
=
"
0fb1f0eae24a3f6e49e27995b05ed40e7adc6180d8db887eb66963c0b95bd7965f9d1afa45b5cc483fbc0e6ab2bd83f1d9bb701fc2009a996452c242afdf9460
pcc-libs-20210
420
.tgz
5abe803490bd65a5e3a5577c4888f641003b7b268aac560422904119e4b53507833d3fa5360205f98346615c8620eb00ad930dd25833a63d34d4d62d5710e1b5
pcc-libs-20210
917
.tgz
fd8c71cd583c6be29553f2b7e6ce66073afd6d0406ae86f6fbb6a36efe8685be4732d2989180a9b31af734cc9a0973c1c731472f02bad076121f6c3c58391fc4 musl-fixes.patch
fd8c71cd583c6be29553f2b7e6ce66073afd6d0406ae86f6fbb6a36efe8685be4732d2989180a9b31af734cc9a0973c1c731472f02bad076121f6c3c58391fc4 musl-fixes.patch
d4aba074a40228eb8370b67ca98c8635293573a32609860e9cdbf21f6f845d2335dd84f53eed73c22b90984ebb80fd557b098d015737142627609a41d19e3db9 fix-function-placement.patch
"
"
This diff is collapsed.
Click to expand it.
community/pcc-libs/fix-function-placement.patch
deleted
100644 → 0
+
0
−
19
View file @
1688b73f
Without this patch, GCC places all functions declared afterwards in this
file in the .dtors section. This section is not executable, thus
attempting to execute data defined in this section will cause a
segmentation fault. This patch modifies the assembly to ensure that the
declared functions end up in the executable text segment.
See https://gitlab.alpinelinux.org/alpine/aports/-/issues/13012#note_180302
diff -upr pcc-libs-20210420.orig/csu/linux/crtbegin.c pcc-libs-20210420/csu/linux/crtbegin.c
--- pcc-libs-20210420.orig/csu/linux/crtbegin.c 2021-09-16 12:23:33.007528786 +0200
+++ pcc-libs-20210420/csu/linux/crtbegin.c 2021-09-16 12:24:01.290921849 +0200
@@ -56,6 +56,7 @@
asm( " .section .ctors,\"aw\",@progbits\
#else
" .long -1\n"
#endif
+ " .section .text\n"
);
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment