Skip to content

Commit

Permalink
valgrind on ppc64* is not supportedand remove patches for strace
Browse files Browse the repository at this point in the history
Signed-off-by: nee-san <[email protected]>
  • Loading branch information
nee-san committed Mar 26, 2019
1 parent 6faff28 commit 6649c8f
Show file tree
Hide file tree
Showing 11 changed files with 6 additions and 1,282 deletions.
9 changes: 0 additions & 9 deletions packages/strace/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,6 @@ BOOTSTRAP=yes

build() {
cd "$SRC"/$name-$version
patch -Np1 -i "$STUFF"/strace/disable-git-version-gen.patch \
patch -Np1 -i "$STUFF"/strace/more-robust-test-for-m32-mx32-compile-support.patch \
patch -Np1 -i "$STUFF"/strace/update-gawk-paths.patch \
patch -Np1 -i "$STUFF"/strace/0001-Fix-build-when-using-non-glibc-libc-implementation-o.patch \
patch -Np1 -i "$STUFF"/strace/mips-SIGEMT.patch \
patch -Np1 -i "$STUFF"/strace/0001-caps-abbrev.awk-fix-gawk-s-path.patch \
patch -Np1 -i "$STUFF"/strace/0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch \
patch -Np1 -i "$STUFF"/strace/0001-mips-o32-fix-build.patch

./configure $BUILDFLAGS \
--prefix=/usr
make
Expand Down
7 changes: 6 additions & 1 deletion packages/valgrind/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ NO_RUN_STRIP=1
NO_EMPTY_DIRS=1

build() {
case $BARCH in
ppc64le|ppc64)
echo "RISC V supported only"
exit 1
esac

CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2/}
CFLAGS=${CFLAGS/-fstack-protector-strong/}
CFLAGS=${CFLAGS/-Wl,-z,relro,-z,now/}
Expand Down Expand Up @@ -44,7 +50,6 @@ build() {
patch -Np1 -i "$STUFF"/valgrind/0001-Make-local-functions-static-to-avoid-assembler-error.patch
patch -Np1 -i "$STUFF"/valgrind/0001-tests-amd64-Do-not-clobber-rsp-register.patch
patch -Np1 -i "$STUFF"/valgrind/0001-Fix-dependencies-between-libcoregrind-.a-and-m_main..patch
patch -Np1 -i "$STUFF"/valgrind/0001-Ensure-ELFv2-is-supported-on-PPC64.patch

aclocal && autoconf && automake --add-missing
echo '#include <linux/a.out.h>' > include/a.out.h
Expand Down

This file was deleted.

47 changes: 0 additions & 47 deletions stuff/strace/0001-caps-abbrev.awk-fix-gawk-s-path.patch

This file was deleted.

98 changes: 0 additions & 98 deletions stuff/strace/0001-mips-o32-fix-build.patch

This file was deleted.

This file was deleted.

37 changes: 0 additions & 37 deletions stuff/strace/disable-git-version-gen.patch

This file was deleted.

33 changes: 0 additions & 33 deletions stuff/strace/mips-SIGEMT.patch

This file was deleted.

45 changes: 0 additions & 45 deletions stuff/strace/more-robust-test-for-m32-mx32-compile-support.patch

This file was deleted.

Loading

0 comments on commit 6649c8f

Please sign in to comment.