[arch-commits] Commit in riscv64-linux-gnu-glibc/repos/community-any (2 files)

Felix Yan felixonmars at archlinux.org
Thu Aug 16 12:55:34 UTC 2018


    Date: Thursday, August 16, 2018 @ 12:55:33
  Author: felixonmars
Revision: 371958

archrelease: copy trunk to community-any

Added:
  riscv64-linux-gnu-glibc/repos/community-any/PKGBUILD
    (from rev 371957, riscv64-linux-gnu-glibc/trunk/PKGBUILD)
Deleted:
  riscv64-linux-gnu-glibc/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  162 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 81 insertions(+), 81 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-16 12:55:09 UTC (rev 371957)
+++ PKGBUILD	2018-08-16 12:55:33 UTC (rev 371958)
@@ -1,81 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Anatol Pomozov <anatol.pomozov at gmail.com>
-
-_target=riscv64-linux-gnu
-pkgname=$_target-glibc
-pkgver=2.27
-pkgrel=1
-pkgdesc="GNU C Library RISCV target"
-arch=(any)
-url='https://www.gnu.org/software/libc/'
-license=('GPL' 'LGPL')
-depends=($_target-gcc $_target-linux-api-headers)
-options=(!buildflags !strip staticlibs)
-source=(https://ftp.gnu.org/gnu/libc/glibc-$pkgver.tar.xz{,.sig})
-sha1sums=('1f7a9c43026484943ef7cf6885f2176a2bc1e093'
-          'SKIP')
-validpgpkeys=(7273542B39962DF7B299931416792B4EA25340F8)  # "Carlos O'Donell <carlos at systemhalted.org>"
-
-prepare() {
-  mkdir -p glibc-build
-}
-
-build() {
-  cd glibc-build
-
-  echo "slibdir=/lib" >> configparms
-  echo "rtlddir=/lib" >> configparms
-  echo "sbindir=/bin" >> configparms
-  echo "rootsbindir=/bin" >> configparms
-
-  # remove hardening options for building libraries
-  export CFLAGS="-U_FORTIFY_SOURCE -O2"
-  export CPPFLAGS="-U_FORTIFY_SOURCE -O2"
-  unset LD_LIBRARY_PATH
-
-  export BUILD_CC=gcc
-  export CC=${_target}-gcc
-  export CXX=${_target}-g++
-  export AR=${_target}-ar
-  export RANLIB=${_target}-ranlib
-
-  ../glibc-$pkgver/configure \
-      --prefix=/usr \
-      --target=$_target \
-      --host=$_target \
-      --build=$CHOST \
-      --libdir=/usr/lib \
-      --libexecdir=/usr/lib \
-      --with-headers=/usr/$_target/include \
-      --with-bugurl=https://bugs.archlinux.org/ \
-      --enable-kernel=2.6.32 \
-      --enable-add-ons \
-      --enable-bind-now \
-      --disable-profile \
-      --enable-stackguard-randomization \
-      --enable-lock-elision \
-      --disable-werror
-
-  echo "build-programs=no" >> configparms
-  make
-}
-
-package() {
-  cd glibc-build
-
-  make install_root=$pkgdir/usr/$_target install
-  # make install_root=$pkgdir/usr/$_target install-headers install-bootstrap-headers=yes
-  # make csu/subdir_lib
-  # mkdir -p $pkgdir/usr/$_target/lib $pkgdir/usr/$_target/include/gnu
-  # cp csu/crt1.o csu/crti.o csu/crtn.o $pkgdir/usr/$_target/lib
-  # $_target-gcc \
-  #   -nostdlib \
-  #   -nostartfiles \
-  #   -shared \
-  #   -x c /dev/null \
-  #   -o $pkgdir/usr/$_target/lib/libc.so
-  # touch $pkgdir/usr/$_target/include/gnu/stubs.h
-
-  rm -rf $pkgdir/usr/$_target/{bin,sbin,etc,share,var}
-}

Copied: riscv64-linux-gnu-glibc/repos/community-any/PKGBUILD (from rev 371957, riscv64-linux-gnu-glibc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-16 12:55:33 UTC (rev 371958)
@@ -0,0 +1,81 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_target=riscv64-linux-gnu
+pkgname=$_target-glibc
+pkgver=2.28
+pkgrel=1
+pkgdesc="GNU C Library RISCV target"
+arch=(any)
+url='https://www.gnu.org/software/libc/'
+license=('GPL' 'LGPL')
+depends=($_target-gcc $_target-linux-api-headers)
+options=(!buildflags !strip staticlibs)
+source=(https://ftp.gnu.org/gnu/libc/glibc-$pkgver.tar.xz{,.sig})
+sha512sums=('521f820953ff07c69ece4c2186f59fc061a7f9747932cd70ef2995c2b2deee76eeb6de700d85071cdca5949179aa8ccee75eda7feca1394121ec7b821ad0a3f3'
+            'SKIP')
+validpgpkeys=(7273542B39962DF7B299931416792B4EA25340F8)  # "Carlos O'Donell <carlos at systemhalted.org>"
+
+prepare() {
+  mkdir -p glibc-build
+}
+
+build() {
+  cd glibc-build
+
+  echo "slibdir=/lib" >> configparms
+  echo "rtlddir=/lib" >> configparms
+  echo "sbindir=/bin" >> configparms
+  echo "rootsbindir=/bin" >> configparms
+
+  # remove hardening options for building libraries
+  export CFLAGS="-U_FORTIFY_SOURCE -O2"
+  export CPPFLAGS="-U_FORTIFY_SOURCE -O2"
+  unset LD_LIBRARY_PATH
+
+  export BUILD_CC=gcc
+  export CC=${_target}-gcc
+  export CXX=${_target}-g++
+  export AR=${_target}-ar
+  export RANLIB=${_target}-ranlib
+
+  ../glibc-$pkgver/configure \
+      --prefix=/usr \
+      --target=$_target \
+      --host=$_target \
+      --build=$CHOST \
+      --libdir=/usr/lib \
+      --libexecdir=/usr/lib \
+      --with-headers=/usr/$_target/include \
+      --with-bugurl=https://bugs.archlinux.org/ \
+      --enable-kernel=2.6.32 \
+      --enable-add-ons \
+      --enable-bind-now \
+      --disable-profile \
+      --enable-stackguard-randomization \
+      --enable-lock-elision \
+      --disable-werror
+
+  echo "build-programs=no" >> configparms
+  make
+}
+
+package() {
+  cd glibc-build
+
+  make install_root=$pkgdir/usr/$_target install
+  # make install_root=$pkgdir/usr/$_target install-headers install-bootstrap-headers=yes
+  # make csu/subdir_lib
+  # mkdir -p $pkgdir/usr/$_target/lib $pkgdir/usr/$_target/include/gnu
+  # cp csu/crt1.o csu/crti.o csu/crtn.o $pkgdir/usr/$_target/lib
+  # $_target-gcc \
+  #   -nostdlib \
+  #   -nostartfiles \
+  #   -shared \
+  #   -x c /dev/null \
+  #   -o $pkgdir/usr/$_target/lib/libc.so
+  # touch $pkgdir/usr/$_target/include/gnu/stubs.h
+
+  rm -rf $pkgdir/usr/$_target/{bin,sbin,etc,share,var}
+}



More information about the arch-commits mailing list