This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Weird x86 Linux/GNU crashes




--On Tuesday, July 30, 2002 11:41:25 PM -0500 Raja R Harinath <harinath@cs.umn.edu> wrote:

Hi,

Mark Mitchell <mark@codesourcery.com> writes:

I've got some changes to the C++ front end that I've tested pretty
well (make check-g++).  Then, I updated the compiler and rebuilt from
scratch in preparation for final testing and check-in.  Now, every
dynamically linked C++ binary crashes, but statically linked ones are
OK.

The behavior is somewhat odd; GDB seems to get confused:

bash-2.05$
LD_LIBRARY_PATH=/home/mitchell/dev/gcc-mainline/objdir/i686-pc-linux-gnu
//libstdc++-v3/src/.libs:. ./bitfield1.exe  Segmentation fault
Interesting.

I found the bug -- it was in my changes to the C++ front end -- but I
very much appreciate all the debugging tips.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]