public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "olh at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/12537] New: g++ generates writeable text sections
Date: Wed, 08 Oct 2003 08:28:00 -0000	[thread overview]
Message-ID: <20031008082822.12537.olh@suse.de> (raw)

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?


             reply	other threads:[~2003-10-08  8:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-08  8:28 olh at suse dot de [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031008082822.12537.olh@suse.de \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).