public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "idht4n at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libmudflap/26120] mudflap behavior changes with trivial changes to build command
Date: Wed, 08 Feb 2006 23:00:00 -0000	[thread overview]
Message-ID: <20060208230053.15927.qmail@sourceware.org> (raw)
In-Reply-To: <bug-26120-12129@http.gcc.gnu.org/bugzilla/>



------- Comment #4 from idht4n at hotmail dot com  2006-02-08 23:00 -------
(In reply to comment #2)
> It worked in "4.1.0 20051026".
> 

I just downloaded snapshot 4.1-20051029 which reports the version that you
mentioned and it exhibits the same behavior:

 ~/gcc4.1-20051029/bin/g++ --version
g++ (GCC) 4.1.0 20051026 (experimental)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~/gcc4.1-20051029/bin/g++ -fmudflap -c -o hello.o hello.cpp ;
~/gcc4.1-20051029/bin/g++ -o hello hello.o -lmudflap

./hello
*******
mudflap violation 1 (check/write): time=1139437662.278029 ptr=0xb7e5e6a0 size=4
pc=0xb7e88322 location=`hello.cpp:6 (main)'
      /usr/lib/libmudflap.so.0(__mf_check+0x44) [0xb7e88322]
      ./hello(main+0x98) [0x804877c]
      /lib/tls/libc.so.6(__libc_start_main+0xd3) [0xbdae23]
number of nearby objects: 0
*******
mudflap violation 2 (check/read): time=1139437662.289586 ptr=0xbfb647f4 size=4
pc=0xb7e88322 location=`hello.cpp:7 (main)'
      /usr/lib/libmudflap.so.0(__mf_check+0x44) [0xb7e88322]
      ./hello(main+0x115) [0x80487f9]
      /lib/tls/libc.so.6(__libc_start_main+0xd3) [0xbdae23]
number of nearby objects: 0
*******
mudflap violation 3 (check/read): time=1139437662.290719 ptr=0xb7e5e6a0 size=4
pc=0xb7e88322 location=`hello.cpp:7 (main)'
      /usr/lib/libmudflap.so.0(__mf_check+0x44) [0xb7e88322]
      ./hello(main+0x199) [0x804887d]
      /lib/tls/libc.so.6(__libc_start_main+0xd3) [0xbdae23]
number of nearby objects: 0
1 ./hello
Hello, world!

To compile the snapshot, I did this:
  mkdir /tmp/gccobj
  cd /tmp/gccobj
  mkdir ~/gcc4.1-20051029
  ~/tmp/gcc-4.1-20051029/configure --prefix=/home/davel/gcc4.1-20051029
--enable-languages=c,c++
  make bootstrap-lean
  make install


-- 


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


  parent reply	other threads:[~2006-02-08 23:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-06 10:18 [Bug c++/26120] New: mudlap " idht4n at hotmail dot com
2006-02-06 10:22 ` [Bug c++/26120] " idht4n at hotmail dot com
2006-02-06 13:01 ` pinskia at gcc dot gnu dot org
2006-02-06 20:18 ` idht4n at hotmail dot com
2006-02-08 23:00 ` idht4n at hotmail dot com [this message]
2006-02-09  1:13 ` [Bug libmudflap/26120] mudflap " pinskia at gcc dot gnu dot org
2006-06-01 23:04 ` idht4n at hotmail dot com
2006-06-02  2:12 ` pinskia at gcc dot gnu dot org
2006-06-02 16:22 ` idht4n at hotmail dot com

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=20060208230053.15927.qmail@sourceware.org \
    --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).