public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12537] New: g++ generates writeable text sections
@ 2003-10-08  8:28 olh at suse dot de
  2003-10-08 15:37 ` [Bug c++/12537] [3.3 Regression] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: olh at suse dot de @ 2003-10-08  8:28 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12537

           Summary: g++ generates writeable text sections
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: olh at suse dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-linux
  GCC host triplet: powerpc-linux
GCC target triplet: powerpc-linux

toolchain:~ $ /home/toolchain/obj33/obj-gcc/gcc/xgcc -shared-libgcc -B/home/toolchain/obj33/obj-gcc/gcc/ -nostdinc++ -L/home/toolchain/obj33/obj-gcc/powerpc-unknown-linux-gnu/nof/libstdc++-v3/src -L/home/toolchain/obj33/obj-gcc/powerpc-unknown-linux-gnu/nof/libstdc++-v3/src/.libs -B/home/toolchain/gcc33/powerpc-unknown-linux-gnu/bin/ -B/home/toolchain/gcc33/powerpc-unknown-linux-gnu/lib/ -isystem /home/toolchain/gcc33/powerpc-unknown-linux-gnu/include -msoft-float -fPIC -mstrict-align -I/home/toolchain/gcc-3_3-branch/libstdc++-v3/../gcc -I/home/toolchain/gcc-3_3-branch/libstdc++-v3/../include -I/home/toolchain/obj33/obj-gcc/powerpc-unknown-linux-gnu/nof/libstdc++-v3/include/powerpc-unknown-linux-gnu -I/home/toolchain/obj33/obj-gcc/powerpc-unknown-linux-gnu/nof/libstdc++-v3/include -I/home/toolchain/gcc-3_3-branch/libstdc++-v3/libsupc++ -O1 -fsigned-char -g -Wall -fmessage-length=0 -D_GNU_SOURCE -msoft-float -fPIC -mstrict-align -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -c /home/toolchain/gcc-3_3-branch/libstdc++-v3/libsupc++/del_op.cc  -fPIC -DPIC -o del_op.o --save-temps -v 
Reading specs from /home/toolchain/obj33/obj-gcc/gcc/specs
Configured with: /home/toolchain/gcc-3_3-branch/configure --prefix=/home/toolchain/gcc33 --enable-languages=c,c++ --enable-version-specific-runtime-libs --disable-nls
Thread model: posix
gcc version 3.3.2 20031004 (prerelease)
 /home/toolchain/obj33/obj-gcc/gcc/cc1plus -E -D__GNUG__=3 -quiet -nostdinc++ -v -I/home/toolchain/gcc-3_3-branch/libstdc++-v3/../gcc -I/home/toolchain/gcc-3_3-branch/libstdc++-v3/../include -I/home/toolchain/obj33/obj-gcc/powerpc-unknown-linux-gnu/nof/libstdc++-v3/include/powerpc-unknown-linux-gnu -I/home/toolchain/obj33/obj-gcc/powerpc-unknown-linux-gnu/nof/libstdc++-v3/include -I/home/toolchain/gcc-3_3-branch/libstdc++-v3/libsupc++ -iprefix /home/toolchain/obj33/obj-gcc/gcc/../lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.2/ -isystem /home/toolchain/obj33/obj-gcc/gcc/include -isystem /home/toolchain/gcc33/powerpc-unknown-linux-gnu/bin/include -isystem /home/toolchain/gcc33/powerpc-unknown-linux-gnu/lib/include -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=2 -D_GNU_SOURCE -D__PIC__=2 -D__pic__=2 -D__unix__ -D__gnu_linux__ -D__linux__ -Dunix -D__unix -Dlinux -D__linux -Asystem=unix -Asystem=posix -D_GNU_SOURCE -DPIC -isystem /home/toolchain/gcc33/powerpc-unknown-linux-gnu/include /home/toolchain/gcc-3_3-branch/libstdc++-v3/libsupc++/del_op.cc -msoft-float -mstrict-align -msoft-float -mstrict-align -Wall -Wall -Wno-format -W -Wwrite-strings -fPIC -fsigned-char -fmessage-length=0 -fPIC -fno-implicit-templates -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -fPIC -O1 del_op.ii
ignoring nonexistent directory "/home/toolchain/gcc33/powerpc-unknown-linux-gnu/bin/include"
ignoring nonexistent directory "/home/toolchain/gcc33/powerpc-unknown-linux-gnu/lib/include"
ignoring nonexistent directory "/home/toolchain/gcc33/powerpc-unknown-linux-gnu/include"
ignoring nonexistent directory "/home/toolchain/obj33/obj-gcc/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.2/include"
ignoring nonexistent directory "/home/toolchain/obj33/obj-gcc/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.2/../../../../powerpc-unknown-linux-gnu/include"
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/home/toolchain/gcc33/powerpc-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/toolchain/gcc-3_3-branch/gcc
 /home/toolchain/gcc-3_3-branch/include
 /home/toolchain/obj33/obj-gcc/powerpc-unknown-linux-gnu/nof/libstdc++-v3/include/powerpc-unknown-linux-gnu
 /home/toolchain/obj33/obj-gcc/powerpc-unknown-linux-gnu/nof/libstdc++-v3/include
 /home/toolchain/gcc-3_3-branch/libstdc++-v3/libsupc++
 /home/toolchain/obj33/obj-gcc/gcc/include
 /home/toolchain/gcc33/include
 /home/toolchain/gcc33/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.2/include
 /usr/include
End of search list.
 /home/toolchain/obj33/obj-gcc/gcc/cc1plus -fpreprocessed del_op.ii -quiet -dumpbase del_op.cc -msoft-float -mstrict-align -msoft-float -mstrict-align -auxbase-strip del_op.o -g -O1 -Wall -Wall -Wno-format -W -Wwrite-strings -version -fPIC -fsigned-char -fmessage-length=0 -fPIC -fno-implicit-templates -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -fPIC -o del_op.s
GNU C++ version 3.3.2 20031004 (prerelease) (powerpc-unknown-linux-gnu)
        compiled by GNU C version 3.3.2 20031004 (prerelease).
GGC heuristics: --param ggc-min-expand=72 --param ggc-min-heapsize=80369
 /home/toolchain/gcc33/powerpc-unknown-linux-gnu/bin/as -mppc -V -Qy -K PIC -o del_op.o del_op.s
GNU assembler version 2.14.90 (powerpc-unknown-linux-gnu) using BFD version 2.14.90 20031004
del_op.s: Assembler messages:
del_op.s:13: Warning: setting incorrect section attributes for .text._ZdlPv
toolchain:~ $ grep -C2 .text._ZdlPv del_op.s
        .file 2 "/home/toolchain/obj33/obj-gcc/gcc/include/stddef.h"
        .file 3 "/home/toolchain/gcc-3_3-branch/libstdc++-v3/libsupc++/new"
        .section        .text._ZdlPv,"awx",@progbits
        .align 2
        .globl _ZdlPv


o-ton Modra:

<alanm> heh, writable text section.  bug in gcc
> 3.3.2 blocker?
<alanm> yeah, i'd say so.  this was current gcc-3.3 branch, ie. without any other patches?


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c++/12537] [3.3 Regression] g++ generates writeable text sections
  2003-10-08  8:28 [Bug c++/12537] New: g++ generates writeable text sections olh at suse dot de
@ 2003-10-08 15:37 ` pinskia at gcc dot gnu dot org
  2003-10-09 14:11 ` amodra at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-08 15:37 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12537


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
           Keywords|                            |wrong-code
            Summary|g++ generates writeable text|[3.3 Regression] g++
                   |sections                    |generates writeable text
                   |                            |sections
   Target Milestone|---                         |3.3.2


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c++/12537] [3.3 Regression] g++ generates writeable text sections
  2003-10-08  8:28 [Bug c++/12537] New: g++ generates writeable text sections olh at suse dot de
  2003-10-08 15:37 ` [Bug c++/12537] [3.3 Regression] " pinskia at gcc dot gnu dot org
@ 2003-10-09 14:11 ` amodra at gcc dot gnu dot org
  2003-10-16 19:05 ` [Bug target/12537] " mmitchel at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: amodra at gcc dot gnu dot org @ 2003-10-09 14:11 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12537


amodra at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-10-09 14:11:39
               date|                            |


------- Additional Comments From amodra at gcc dot gnu dot org  2003-10-09 14:11 -------
This is a longstanding bug in the ppc32 back end.  Recent binutils correctly
complains when setting silly section attributes.
See http://gcc.gnu.org/ml/gcc-patches/2003-01/msg02345.html and
http://gcc.gnu.org/ml/gcc-patches/2003-02/msg00554.html


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/12537] [3.3 Regression] g++ generates writeable text sections
  2003-10-08  8:28 [Bug c++/12537] New: g++ generates writeable text sections olh at suse dot de
  2003-10-08 15:37 ` [Bug c++/12537] [3.3 Regression] " pinskia at gcc dot gnu dot org
  2003-10-09 14:11 ` amodra at gcc dot gnu dot org
@ 2003-10-16 19:05 ` mmitchel at gcc dot gnu dot org
  2003-10-16 19:05 ` mmitchel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2003-10-16 19:05 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12537



------- Additional Comments From mmitchel at gcc dot gnu dot org  2003-10-16 19:05 -------
This is a pretty serious bug -- but there doesn't seem to be any clear consensus
on how to fix it yet, so I'm postponing it until GCC 3.3.3.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/12537] [3.3 Regression] g++ generates writeable text sections
  2003-10-08  8:28 [Bug c++/12537] New: g++ generates writeable text sections olh at suse dot de
                   ` (2 preceding siblings ...)
  2003-10-16 19:05 ` [Bug target/12537] " mmitchel at gcc dot gnu dot org
@ 2003-10-16 19:05 ` mmitchel at gcc dot gnu dot org
  2003-12-10 23:26 ` [Bug target/12537] [3.3/3.4? " amodra at gcc dot gnu dot org
  2003-12-14 23:34 ` l dot bigonville at easynet dot be
  5 siblings, 0 replies; 7+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2003-10-16 19:05 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12537


mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.3.2                       |3.3.3


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/12537] [3.3/3.4? Regression] g++ generates writeable text sections
  2003-10-08  8:28 [Bug c++/12537] New: g++ generates writeable text sections olh at suse dot de
                   ` (3 preceding siblings ...)
  2003-10-16 19:05 ` mmitchel at gcc dot gnu dot org
@ 2003-12-10 23:26 ` amodra at gcc dot gnu dot org
  2003-12-14 23:34 ` l dot bigonville at easynet dot be
  5 siblings, 0 replies; 7+ messages in thread
From: amodra at gcc dot gnu dot org @ 2003-12-10 23:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From amodra at gcc dot gnu dot org  2003-12-10 23:26 -------
Fixed on 3.4 with http://gcc.gnu.org/ml/gcc-cvs/2003-11/msg00892.html
Fixed for 3.3.3 too.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12537


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/12537] [3.3/3.4? Regression] g++ generates writeable text sections
  2003-10-08  8:28 [Bug c++/12537] New: g++ generates writeable text sections olh at suse dot de
                   ` (4 preceding siblings ...)
  2003-12-10 23:26 ` [Bug target/12537] [3.3/3.4? " amodra at gcc dot gnu dot org
@ 2003-12-14 23:34 ` l dot bigonville at easynet dot be
  5 siblings, 0 replies; 7+ messages in thread
From: l dot bigonville at easynet dot be @ 2003-12-14 23:34 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1017 bytes --]


------- Additional Comments From l dot bigonville at easynet dot be  2003-12-14 23:34 -------
Today I try to build a debian package (openh323) and i get those warnings on
every files... I use the last version of gcc in sid:

g4:~# gcc -v
Lecture des spécification à partir de
/usr/lib/gcc-lib/powerpc-linux/3.3.3/specsConfiguré avec: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib
--enable-nls --without-included-gettext --enable-__cxa_atexit
--enable-clocale=gnu --enable-java-gc=boehm --enable-java-awt=xlib
--enable-objc-gc --disable-multilib powerpc-linux
Modèle de thread: posix
version gcc 3.3.3 20031206 (prerelease) (Debian)

Same problem on the debian's build machine...
http://buildd.debian.org/fetch.php?&pkg=openh323&ver=1.12.2-3&arch=powerpc&stamp=1065914698&file=log&as=raw

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12537


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-12-14 23:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-08  8:28 [Bug c++/12537] New: g++ generates writeable text sections olh at suse dot de
2003-10-08 15:37 ` [Bug c++/12537] [3.3 Regression] " pinskia at gcc dot gnu dot org
2003-10-09 14:11 ` amodra at gcc dot gnu dot org
2003-10-16 19:05 ` [Bug target/12537] " mmitchel at gcc dot gnu dot org
2003-10-16 19:05 ` mmitchel at gcc dot gnu dot org
2003-12-10 23:26 ` [Bug target/12537] [3.3/3.4? " amodra at gcc dot gnu dot org
2003-12-14 23:34 ` l dot bigonville at easynet dot be

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).