Bug#340255: marked as done (gcc-34: [Patch] Support PIE for M32R)
Your message dated Sun, 27 Nov 2005 14:02:47 -0800
with message-id <E1EgUbf-0007DH-JD@spohr.debian.org>
and subject line Bug#340255: fixed in gcc-3.4 3.4.4ds1-11
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 22 Nov 2005 06:19:32 +0000
>From inaoka.kazuhiro@renesas.com Mon Nov 21 22:19:32 2005
Return-path: <inaoka.kazuhiro@renesas.com>
Received: from mail.renesas.com ([202.234.163.13] helo=mail01.idc.renesas.com)
by spohr.debian.org with esmtp (Exim 4.50)
id 1EeRV6-0003Tq-3F
for submit@bugs.debian.org; Mon, 21 Nov 2005 22:19:32 -0800
Received: from mail01.idc.renesas.com ([127.0.0.1])
by mail01.idc.renesas.com. (SMSSMTP 4.1.9.35) with SMTP id M2005112215185924461
for <submit@bugs.debian.org>; Tue, 22 Nov 2005 15:18:59 +0900
Received: (from root@localhost)
by guardian04.idc.renesas.com with id jAM6IxxA001802
for submit@bugs.debian.org; Tue, 22 Nov 2005 15:18:59 +0900 (JST)
Received: from unknown [172.20.8.73] by guardian04.idc.renesas.com with SMTP id RAA01801 ; Tue, 22 Nov 2005 15:18:59 +0900
Received: from dnma02 (dnma02.rso.renesas.com [172.30.11.200])
by dnma01.rso.renesas.com
(iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003))
with ESMTP id <0IQC001S7EVMBF@dnma01.rso.renesas.com> for
submit@bugs.debian.org; Tue, 22 Nov 2005 15:18:58 +0900 (JST)
Received: from renesas.com ([10.145.105.179]) by dnma02.rso.renesas.com
(iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003))
with ESMTP id <0IQC00H20EVLPR@dnma02.rso.renesas.com> for
submit@bugs.debian.org; Tue, 22 Nov 2005 15:18:57 +0900 (JST)
Date: Tue, 22 Nov 2005 15:15:58 +0900
From: Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
Subject: gcc-34: [Patch] Support PIE for M32R
To: submit@bugs.debian.org
Message-id: <[🔎] 4382B79E.8050608@renesas.com>
MIME-version: 1.0
Content-type: multipart/mixed; boundary="Boundary_(ID_daYfjtAAZJVRQ2mfrqCTUw)"
X-Accept-Language: ja, ko
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP; rv:1.4)
Gecko/20030624 Netscape/7.1 (ax)
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
This is a multi-part message in MIME format.
--Boundary_(ID_daYfjtAAZJVRQ2mfrqCTUw)
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT
Package: gcc-3.4
Version: 3.4.4-10
Severity: wishlist
Tags: patch
Could you please include following patch?
This patch is enable to use PIE at gcc for M32R.
* debian/patches/m32r-pie.dpatch: Enable PIE for M32R.
--Boundary_(ID_daYfjtAAZJVRQ2mfrqCTUw)
Content-type: text/plain; name=m32r-pie.dpatch
Content-transfer-encoding: 7BIT
Content-disposition: inline; filename=m32r-pie.dpatch
#! /bin/sh -e
#
#
# DP: Author: Kazuhiro Inaoka
# DP: Status: in CVS 4.0-branch
# DP: PIE Support
if [ $# -eq 3 ] && [ "$2" = '-d' ]; then
pdir="-d $3"
dir="$3/"
elif [ $# -ne 1 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
fi
case "$1" in
-patch) patch $pdir -f --no-backup-if-mismatch -p1 < $0;;
-unpatch) patch $pdir -f --no-backup-if-mismatch -R -p1 < $0;;
*)
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1;;
esac
exit 0
--- gcc-3.4.4/gcc/config.gcc.org 2005-07-29 19:31:19.000000000 +0900
+++ gcc-3.4.4/gcc/config.gcc 2005-07-29 19:30:07.000000000 +0900
@@ -1313,7 +1313,6 @@
;;
m32r-*-linux*)
tm_file="dbxelf.h elfos.h svr4.h linux.h ${tm_file} m32r/linux.h"
- extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
tmake_file="t-slibgcc-elf-ver m32r/t-linux"
gnu_ld=yes
use_fixproto=yes
@@ -1323,7 +1322,6 @@
;;
m32rle-*-linux*)
tm_file="dbxelf.h elfos.h svr4.h linux.h m32r/little.h ${tm_file} m32r/linux.h"
- extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
tmake_file="t-slibgcc-elf-ver m32r/t-linux"
gnu_ld=yes
use_fixproto=yes
--- gcc-3.4.4/gcc/config/m32r/m32r.h.org 2005-07-29 19:22:12.000000000 +0900
+++ gcc-3.4.4/gcc/config/m32r/m32r.h 2005-07-29 19:24:34.000000000 +0900
@@ -191,7 +191,7 @@
/* Options to pass on to the assembler. */
#undef ASM_SPEC
-#define ASM_SPEC "%{v} %(asm_cpu) %(relax) %{fpic:-K PIC} %{fPIC:-K PIC}"
+#define ASM_SPEC "%{v} %(asm_cpu) %(relax) %{fpic|fpie:-K PIC} %{fPIC|fPIE:-K PIC}"
#define LINK_SPEC "%{v} %(link_cpu) %(relax)"
--- gcc-3.4.4/gcc/config/m32r/linux.h.org 2005-07-29 19:22:21.000000000 +0900
+++ gcc-3.4.4/gcc/config/m32r/linux.h 2005-07-29 19:24:50.000000000 +0900
@@ -85,14 +85,20 @@
%{profile:-lc_p} %{!profile: -lc}}"
#undef STARTFILE_SPEC
+#if defined HAVE_LD_PIE
+#define STARTFILE_SPEC \
+ "%{!shared: %{pg|p|profile:gcrt1.o%s;pie:Scrt1.o%s;:crt1.o%s}} \
+ crti.o%s %{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
+#else
#define STARTFILE_SPEC \
"%{!shared: \
%{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}}\
crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
+#endif
#undef ENDFILE_SPEC
#define ENDFILE_SPEC \
- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
+ "%{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s"
#undef SUBTARGET_CPP_SPEC
#define SUBTARGET_CPP_SPEC "\
--Boundary_(ID_daYfjtAAZJVRQ2mfrqCTUw)--
---------------------------------------
Received: (at 340255-close) by bugs.debian.org; 27 Nov 2005 22:12:33 +0000
>From katie@ftp-master.debian.org Sun Nov 27 14:12:33 2005
Return-path: <katie@ftp-master.debian.org>
Received: from katie by spohr.debian.org with local (Exim 4.50)
id 1EgUbf-0007DH-JD; Sun, 27 Nov 2005 14:02:47 -0800
From: Matthias Klose <doko@debian.org>
To: 340255-close@bugs.debian.org
X-Katie: $Revision: 1.60 $
Subject: Bug#340255: fixed in gcc-3.4 3.4.4ds1-11
Message-Id: <E1EgUbf-0007DH-JD@spohr.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 27 Nov 2005 14:02:47 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Source: gcc-3.4
Source-Version: 3.4.4ds1-11
We believe that the bug you reported is fixed in the latest version of
gcc-3.4, which is due to be installed in the Debian FTP archive:
cpp-3.4-doc_3.4.4-11_all.deb
to pool/main/g/gcc-3.4/cpp-3.4-doc_3.4.4-11_all.deb
cpp-3.4_3.4.4-11_i386.deb
to pool/main/g/gcc-3.4/cpp-3.4_3.4.4-11_i386.deb
cpp-3.4_3.4.4-11_powerpc.deb
to pool/main/g/gcc-3.4/cpp-3.4_3.4.4-11_powerpc.deb
g++-3.4_3.4.4-11_i386.deb
to pool/main/g/gcc-3.4/g++-3.4_3.4.4-11_i386.deb
g++-3.4_3.4.4-11_powerpc.deb
to pool/main/g/gcc-3.4/g++-3.4_3.4.4-11_powerpc.deb
g77-3.4-doc_3.4.4-11_all.deb
to pool/main/g/gcc-3.4/g77-3.4-doc_3.4.4-11_all.deb
g77-3.4_3.4.4-11_i386.deb
to pool/main/g/gcc-3.4/g77-3.4_3.4.4-11_i386.deb
g77-3.4_3.4.4-11_powerpc.deb
to pool/main/g/gcc-3.4/g77-3.4_3.4.4-11_powerpc.deb
gcc-3.4-base_3.4.4-11_i386.deb
to pool/main/g/gcc-3.4/gcc-3.4-base_3.4.4-11_i386.deb
gcc-3.4-base_3.4.4-11_powerpc.deb
to pool/main/g/gcc-3.4/gcc-3.4-base_3.4.4-11_powerpc.deb
gcc-3.4-doc_3.4.4-11_all.deb
to pool/main/g/gcc-3.4/gcc-3.4-doc_3.4.4-11_all.deb
gcc-3.4_3.4.4-11_i386.deb
to pool/main/g/gcc-3.4/gcc-3.4_3.4.4-11_i386.deb
gcc-3.4_3.4.4-11_powerpc.deb
to pool/main/g/gcc-3.4/gcc-3.4_3.4.4-11_powerpc.deb
gcc-3.4_3.4.4ds1-11.diff.gz
to pool/main/g/gcc-3.4/gcc-3.4_3.4.4ds1-11.diff.gz
gcc-3.4_3.4.4ds1-11.dsc
to pool/main/g/gcc-3.4/gcc-3.4_3.4.4ds1-11.dsc
gcc-3.4_3.4.4ds1.orig.tar.gz
to pool/main/g/gcc-3.4/gcc-3.4_3.4.4ds1.orig.tar.gz
gnat-3.4-doc_3.4.4-11_all.deb
to pool/main/g/gcc-3.4/gnat-3.4-doc_3.4.4-11_all.deb
gnat-3.4_3.4.4-11_i386.deb
to pool/main/g/gcc-3.4/gnat-3.4_3.4.4-11_i386.deb
gnat-3.4_3.4.4-11_powerpc.deb
to pool/main/g/gcc-3.4/gnat-3.4_3.4.4-11_powerpc.deb
gobjc-3.4_3.4.4-11_i386.deb
to pool/main/g/gcc-3.4/gobjc-3.4_3.4.4-11_i386.deb
gobjc-3.4_3.4.4-11_powerpc.deb
to pool/main/g/gcc-3.4/gobjc-3.4_3.4.4-11_powerpc.deb
gpc-2.1-3.4-doc_3.4.4-11_all.deb
to pool/main/g/gcc-3.4/gpc-2.1-3.4-doc_3.4.4-11_all.deb
gpc-2.1-3.4_3.4.4-11_i386.deb
to pool/main/g/gcc-3.4/gpc-2.1-3.4_3.4.4-11_i386.deb
gpc-2.1-3.4_3.4.4-11_powerpc.deb
to pool/main/g/gcc-3.4/gpc-2.1-3.4_3.4.4-11_powerpc.deb
lib64g2c0_3.4.4-11_i386.deb
to pool/main/g/gcc-3.4/lib64g2c0_3.4.4-11_i386.deb
lib64g2c0_3.4.4-11_powerpc.deb
to pool/main/g/gcc-3.4/lib64g2c0_3.4.4-11_powerpc.deb
libg2c0-dev_3.4.4-11_i386.deb
to pool/main/g/gcc-3.4/libg2c0-dev_3.4.4-11_i386.deb
libg2c0-dev_3.4.4-11_powerpc.deb
to pool/main/g/gcc-3.4/libg2c0-dev_3.4.4-11_powerpc.deb
libg2c0_3.4.4-11_i386.deb
to pool/main/g/gcc-3.4/libg2c0_3.4.4-11_i386.deb
libg2c0_3.4.4-11_powerpc.deb
to pool/main/g/gcc-3.4/libg2c0_3.4.4-11_powerpc.deb
libgnat-3.4_3.4.4-11_i386.deb
to pool/main/g/gcc-3.4/libgnat-3.4_3.4.4-11_i386.deb
libstdc++6-dbg_3.4.4-11_i386.deb
to pool/main/g/gcc-3.4/libstdc++6-dbg_3.4.4-11_i386.deb
libstdc++6-dbg_3.4.4-11_powerpc.deb
to pool/main/g/gcc-3.4/libstdc++6-dbg_3.4.4-11_powerpc.deb
libstdc++6-dev_3.4.4-11_i386.deb
to pool/main/g/gcc-3.4/libstdc++6-dev_3.4.4-11_i386.deb
libstdc++6-dev_3.4.4-11_powerpc.deb
to pool/main/g/gcc-3.4/libstdc++6-dev_3.4.4-11_powerpc.deb
libstdc++6-doc_3.4.4-11_all.deb
to pool/main/g/gcc-3.4/libstdc++6-doc_3.4.4-11_all.deb
libstdc++6-pic_3.4.4-11_i386.deb
to pool/main/g/gcc-3.4/libstdc++6-pic_3.4.4-11_i386.deb
libstdc++6-pic_3.4.4-11_powerpc.deb
to pool/main/g/gcc-3.4/libstdc++6-pic_3.4.4-11_powerpc.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 340255@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated gcc-3.4 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 26 Nov 2005 20:13:18 +0100
Source: gcc-3.4
Binary: g77-3.4-doc gcc-3.4-base libstdc++6 gnat-3.4 libobjc1 libgcc1 gcc-3.4 lib64g2c0 gobjc-3.4 gcc-3.4-nof libgcc2 libstdc++6-dev libstdc++6-doc lib32g2c0 protoize libgnat-3.4 lib64stdc++6 libstdc++6-dbg lib32gcc1 lib64gnat-3.4 lib64objc1 cpp-3.4 gcc-3.4-hppa64 gcc-3.4-soft-float cpp-3.4-doc gcc-3.4-doc libg2c0-dev gpc-2.1-3.4-doc lib64gcc1 libg2c0 lib32stdc++6 libstdc++6-pic gnat-3.4-doc g++-3.4 gpc-2.1-3.4 g77-3.4
Architecture: all i386 powerpc source
Version: 3.4.4ds1-11
Distribution: unstable
Urgency: low
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Description:
cpp-3.4 - The GNU C preprocessor
cpp-3.4-doc - Documentation for the GNU C preprocessor (cpp)
g++-3.4 - The GNU C++ compiler
g77-3.4 - The GNU Fortran 77 compiler
g77-3.4-doc - Documentation for the GNU Fortran compiler (g77)
gcc-3.4 - The GNU C compiler
gcc-3.4-base - The GNU Compiler Collection (base package)
gcc-3.4-doc - Documentation for the GNU compilers (gcc, gobjc, g++)
gnat-3.4 - The GNU Ada compiler
gnat-3.4-doc - Documentation for the GNU Ada compiler (gnat)
gobjc-3.4 - The GNU Objective-C compiler
gpc-2.1-3.4 - The GNU Pascal compiler
gpc-2.1-3.4-doc - Documentation for the GNU Pascal compiler (gpc)
lib64g2c0 - Runtime library for GNU Fortran 77 applications (64bit)
libg2c0 - Runtime library for GNU Fortran 77 applications
libg2c0-dev - GNU Fortran 77 library development
libgnat-3.4 - Runtime library for GNU Ada applications
libstdc++6-dbg - The GNU Standard C++ Library v3 (debugging files)
libstdc++6-dev - The GNU Standard C++ Library v3 (development files)
libstdc++6-doc - The GNU Standard C++ Library v3 (documentation files)
libstdc++6-pic - The GNU Standard C++ Library v3 (shared library subset kit)
Closes: 340255
Changes:
gcc-3.4 (3.4.4ds1-11) unstable; urgency=low
.
* Update to SVN 20051126, taken from the gcc-3_4-branch (post 3.4.5
prerelease).
* Update gpc to 20051116 snapshot.
* Add patch m32r-pie (Kazuhiro Inaoka). Closes: #340255.
* Start the logwatch script for the ia64 build as well (Lamont Jones).
* Fix hppa64-linux-gnu-gcc alternative.
Files:
02d762ae2db00af0fae763de7823e60c 1590882 devel optional gcc-3.4_3.4.4-11_powerpc.deb
11ee61728ddb36069550fc01889e7787 1746900 devel optional gobjc-3.4_3.4.4-11_i386.deb
307af8d2f4473bdfe0947cbad0b01533 896652 doc optional gpc-2.1-3.4-doc_3.4.4-11_all.deb
3788e2c0f07de140f1f41c0b01a524d3 1268354 libdevel optional libstdc++6-dev_3.4.4-11_i386.deb
40bba94c34b4b5196cae525583cd9c6b 1947586 devel optional g++-3.4_3.4.4-11_i386.deb
47e1e3890721229e40895fa5cb610b00 167618 libdevel optional libg2c0-dev_3.4.4-11_powerpc.deb
50b6c2bf3309cdf0ee0d198a5c41d1ed 9339272 libdevel extra libstdc++6-dbg_3.4.4-11_powerpc.deb
560247755afc246633c6841cef047647 1479146 doc optional gcc-3.4-doc_3.4.4-11_all.deb
591e43fe36495e28c9af22ef5cfb7553 54634 libs optional lib64g2c0_3.4.4-11_i386.deb
5ac6c565f51d9e02a5ddb35180dc6aa7 54938 libs optional libg2c0_3.4.4-11_powerpc.deb
5ed60821764baa320f3535b3fa8e9d30 8923428 devel optional gnat-3.4_3.4.4-11_powerpc.deb
627501d7bd69232a6855219f52571b1d 2039906 devel optional gobjc-3.4_3.4.4-11_powerpc.deb
665adde3bc6688dea7c592687550a659 2300146 devel optional gpc-2.1-3.4_3.4.4-11_i386.deb
7a8a941989ae541109eb982276ca1a94 50040 libs optional libg2c0_3.4.4-11_i386.deb
878a58e24f3c48f3ff65bda2026cbce9 141946 libdevel optional libg2c0-dev_3.4.4-11_i386.deb
8d6a709741c6d60df75cae582fbd4288 163578 devel optional gcc-3.4-base_3.4.4-11_powerpc.deb
8fbba5b4e2cbb1086bcf79e78db7068d 1846310 devel optional g77-3.4_3.4.4-11_i386.deb
92734f1499edf6ad14437fa7b991150f 8963032 libdevel extra libstdc++6-dbg_3.4.4-11_i386.deb
a2c20cc289ea6a92869b5b1dca6a84f0 182544 doc optional cpp-3.4-doc_3.4.4-11_all.deb
a5560527196a62757b84f93dc1335f5b 64876 libs optional lib64g2c0_3.4.4-11_powerpc.deb
ab9052a53a81c137577554899fcb06cd 725826 libs optional libgnat-3.4_3.4.4-11_i386.deb
ac2ddb7223ddec84603139e88b97fa0f 1006659 devel optional gcc-3.4_3.4.4ds1-11.diff.gz
ad551986bca132547d5ee20229f6e604 8521152 doc optional libstdc++6-doc_3.4.4-11_all.deb
b3408f3a206f9974f6dc95b677319d52 2146002 devel optional g77-3.4_3.4.4-11_powerpc.deb
c5994eeb14301da7b37543f6a7d66444 899846 doc optional gnat-3.4-doc_3.4.4-11_all.deb
ccad047e2b618750b9791f948ef5ff8c 631260 doc optional g77-3.4-doc_3.4.4-11_all.deb
d015c743cba8a111878299f12c37b297 2632652 devel optional gpc-2.1-3.4_3.4.4-11_powerpc.deb
d4876b2e7430fe2f5866daadb8709839 7135494 devel optional gnat-3.4_3.4.4-11_i386.deb
dbd7e828c25360073fcebde082c7eec5 1538222 devel optional gcc-3.4_3.4.4-11_i386.deb
dc5a1a94ced2665996a8813bfea5e00d 163684 devel optional gcc-3.4-base_3.4.4-11_i386.deb
dda4992d46b06a2593f33f0439375325 1995714 interpreters optional cpp-3.4_3.4.4-11_powerpc.deb
df735a011e1652a5235aac5437057710 30146838 devel optional gcc-3.4_3.4.4ds1.orig.tar.gz
e4721b6fa8ece88a307a0411b1fbd269 754816 libdevel extra libstdc++6-pic_3.4.4-11_i386.deb
e4b1d8a5cc272c5ebc9d97a9ad8a7899 1378422 libdevel optional libstdc++6-dev_3.4.4-11_powerpc.deb
2240306d13d483379d790ffa5d40243f 2419 devel optional gcc-3.4_3.4.4ds1-11.dsc
e4f08eb7480b561b26c2a13b5413eeae 2250164 devel optional g++-3.4_3.4.4-11_powerpc.deb
fd65c380a607f3bf23327b8455c407e4 1707646 interpreters optional cpp-3.4_3.4.4-11_i386.deb
fe4e7b6aafd23cdbdcdae731eeb599d5 852980 libdevel extra libstdc++6-pic_3.4.4-11_powerpc.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDiidpStlRaw+TLJwRAgSjAJ903iRyp09Msrlht8V2Dnu3drffkQCdHvCw
xwIHIzrFzcPlJQDxymng6o8=
=A2f2
-----END PGP SIGNATURE-----
Reply to: