Bug#1057433: gcc-13: Enable default pie to loong64.
Package: gcc-13
Version: 13.2.0-8
Severity: normal
X-Debbugs-Cc: fanpeng@loongson.cn
Dear Maintainer,
When compiling the package 'dpkg' for loong64 in the Debian
Package Auto-Building environment, found not buillt pie. So
add --enable-default-pie for it.
-- System Information:
Debian Release: trixie/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: loong64 (loongarch64)
Kernel: Linux 5.10.0-60.96.0.126.oe2203.loongarch64 (SMP w/32 CPU threads)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to POSIX), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
Versions of packages gcc-13 depends on:
ii binutils 2.41-6
ii cpp-13 13.2.0-8
ii gcc-13-base 13.2.0-8
ii libc6 2.37-9+loong64
ii libcc1-0 13.2.0-8
ii libgcc-13-dev 13.2.0-8
ii libgcc-s1 13.2.0-8
ii libgmp10 2:6.3.0+dfsg-2
ii libisl23 0.26-3
ii libmpc3 1.3.1-1+b1
ii libmpfr6 4.2.1-1
ii libstdc++6 13.2.0-8
ii libzstd1 1.5.5+dfsg2-2
ii zlib1g 1:1.3.dfsg-3
Versions of packages gcc-13 recommends:
ii libc6-dev 2.37-9+loong64
Versions of packages gcc-13 suggests:
pn gcc-13-doc <none>
ii gcc-13-locales 13.2.0-8
-- no debconf information
diff --git a/debian/rules.defs b/debian/rules.defs
index 54a3b84..ef03d3e 100644
--- a/debian/rules.defs
+++ b/debian/rules.defs
@@ -1474,7 +1474,7 @@ ifeq ($(distribution),Debian)
mips mipsel mips64 mips64el mipsn32 mipsn32el \
mipsr6 mipsr6el mips64r6 mips64r6el mipsn32r6 mipsn32r6el \
ppc64el s390x sparc sparc64 kfreebsd-amd64 kfreebsd-i386 \
- hurd-amd64 hurd-i386 riscv64
+ hurd-amd64 hurd-i386 riscv64 loong64
endif
ifeq (,$(filter $(distrelease), jessie stretch))
pie_archs += powerpc ppc64
Reply to: