This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Call for testers for pch-branch
- From: Geoff Keating <geoffk at geoffk dot org>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: 01 Dec 2002 21:25:57 -0800
- Subject: Re: Call for testers for pch-branch
- References: <846EA3A1-0191-11D7-ADB9-0030657EA24A@apple.com><jmadjqil58.fsf@desire.geoffk.org> <jevg2dzrd0.fsf@sykes.suse.de>
Andreas Schwab <schwab@suse.de> writes:
> Geoff Keating <geoffk@geoffk.org> writes:
>
> |> I do know that all the PCH tests using -g fail on dwarf2 targets, I
> |> will look into it later. I'm not sure if the generated debugging
> |> information is wrong or just different (but it doesn't matter, I don't
> |> want to hand-verify whether the two dwarf2 output sequences mean the
> |> same thing).
>
> Is this an instance of this bug, or something else?
>
> /tmp/cvs/gcc-20021201/Build/gcc/gcj -B/tmp/cvs/gcc-20021201/Build/ia64-suse-linux/libjava/ -B/tmp/cvs/gcc-20021201/Build/gcc/ --encoding=UTF-8 -C -g -classpath '' -bootclasspath /tmp/cvs/gcc-20021201/Build/ia64-suse-linux/libjava:../../../libjava \
> -d /tmp/cvs/gcc-20021201/Build/ia64-suse-linux/libjava ../../../libjava/gnu/awt/xlib/XToolkit.java
> ../../gcc/gcjh -classpath '' -bootclasspath . java/lang/AbstractMethodError
> make[2]: *** [java/lang/AbstractMethodError.h] Segmentation fault
No, that's definitely something else. The dwarf2 problem just affects
the dwarf2 output, making it different (and maybe not even incorrect)
when a PCH file is used. It doesn't affect non-PCH compilation.
However, it is not unlikely that there will be problems with java.
There are significant changes to java on the branch that I tested when
I made, but can't test any more because java isn't enabled for Darwin
or any simulator I can build on Darwin.
If you can come up with a testcase, I can try building a cross-cc1java
and try debugging this. Chances are it's just some simple merge bug.
Even a backtrace would help.
--
- Geoffrey Keating <geoffk@geoffk.org>