Package: libc6-dev
Version: 2.28-10
There is an inconsistency between the build flags that are used to build amd64 and arm64 packages for libc6-dev. This leads to -static-pie not being supported in the arm64 version but is available
in amd64. Can the -–enable-static-pie be added and a update pushed out for older packages (i.e. buster repo) or would this change only make -static-pie supported on future bullseye releases? https://buildd.debian.org/status/package.php?p=glibc
Amd64 configure flags:
CC="x86_64-linux-gnu-gcc-10" \
CXX="x86_64-linux-gnu-g++-10" \
MIG="x86_64-linux-gnu-mig" \
AUTOCONF=false \
MAKEINFO=: \
/<<PKGBUILDDIR>>/configure \
--host=x86_64-linux-gnu \
--build=$configure_build --prefix=/usr \
--enable-add-_ons_=libidn,"" \
--without-selinux \
--enable-stackguard-randomization \
--enable-stack-protector=strong \
--enable-obsolete-rpc \
--with-pkgversion="Debian GLIBC 2.31-4" \
--with-bugurl="http://www.debian.org/Bugs/" \
\
\
\
--disable-crypt \
--with-headers=/<<PKGBUILDDIR>>/debian/include --enable-kernel=3.2 --with-selinux --enable-multi-arch --enable-static-pie
Arm64 configure flags: cd build-tree/arm64-libc && \
CC="aarch64-linux-gnu-gcc-10" \
CXX="aarch64-linux-gnu-g++-10" \
MIG="aarch64-linux-gnu-mig" \
AUTOCONF=false \
MAKEINFO=: \
/<<PKGBUILDDIR>>/configure \
--host=aarch64-linux-gnu \
--build=$configure_build --prefix=/usr \
--enable-add-_ons_=libidn,"" \
--without-selinux \
--enable-stackguard-randomization \
--enable-stack-protector=strong \
--enable-obsolete-rpc \
--with-pkgversion="Debian GLIBC 2.31-4" \
--with-bugurl="http://www.debian.org/Bugs/" \
\
\
--disable-mathvec \
--disable-crypt \
--with-headers=/<<PKGBUILDDIR>>/debian/include --enable-kernel=3.2 --with-selinux --enable-multi-arch
|