This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
G++ reuses assembly labels
- To: gcc-bugs at gcc dot gnu dot org
- Subject: G++ reuses assembly labels
- From: Greg Noel <GregNoel at san dot rr dot com>
- Date: Mon, 29 May 2000 03:56:04 -0700 (PDT)
This error occured while attempting to compile Mahogany (an open-source
mail program) on MkLinux (a PowerPC-based Linux system). Mahogany uses
wxWindows (an open-source graphical library); this particular error is
at the intersection of the two.
The wxWindows standard setup requires that a lot of headers be includes;
I've been unable to cut this down into something smaller. As a result,
the .ii file is almost 900K and even the compressed image is 127K, well
over your submission limit.
I tried to submit this via GNATS, but I don't think it worked. I don't
have anyplace to store this where you can reach it; the best I can do is
offer to mail it to anyone who asks.
I have included the generated assembly code; that's small enough to be
sent and may be sufficient to identify where the error is occuring.
I noticed as I was preparing this message that the version provided by
MkLinux is a 2.95.3 prerelease that's six months old. A valid suggestion
would be to downgrade to 2.95.2 or upgrade to a later prerelease. I have
no idea if either is available from the MkLinux people.
Reading specs from /usr/lib/gcc-lib/ppc-redhat-linux/2.95.3/specs
gcc version 2.95.3 19991030 (prerelease)
c++ -fPIC -O2 -DCC_GCC -Wall -pg -I/usr/include/python1.5 -D__WXGTK__ -I/var/tmp/M/extra/include -I/var/tmp/M/extra/src/CVS -I/var/tmp/M/extra/src/c-client -I/var/tmp/M/extra/src/compface -I/home/greg/wx/include -I/home/greg/wx/lib/wx/include -D__USE_WXCONFIG__ -DGTK_NO_CHECK_CASTS -D__WXGTK__ -I/usr/X11R6/include -I/usr/lib/glib/include -DM_PREFIX="\"/usr/local/\"" -DM_CANONICAL_HOST="\"powerpc-unknown-linux-gnu\"" -I/var/tmp/M/include -I/var/tmp/M/extra/include -I/var/tmp/M/include/gui -I/var/tmp/M/extra/src/c-client -c wxMApp.cpp
/tmp/ccdiVA3u.s: Assembler messages:
/tmp/ccdiVA3u.s:10445: Error: Symbol .LCL215 already defined.
/tmp/ccdiVA3u.s:10456: Error: Symbol .LCL215 already defined.
/tmp/ccdiVA3u.s:10467: Error: Symbol .LCL215 already defined.
/tmp/ccdiVA3u.s:10478: Error: Symbol .LCL215 already defined.
/tmp/ccdiVA3u.s:10489: Error: Symbol .LCL215 already defined.
/tmp/ccdiVA3u.s:10500: Error: Symbol .LCL215 already defined.
/tmp/ccdiVA3u.s:10511: Error: Symbol .LCL215 already defined.
/tmp/ccdiVA3u.s:10522: Error: Symbol .LCL215 already defined.
/tmp/ccdiVA3u.s:10533: Error: Symbol .LCL215 already defined.
/tmp/ccdiVA3u.s:10544: Error: Symbol .LCL215 already defined.
/tmp/ccdiVA3u.s:10555: Error: Symbol .LCL215 already defined.
/tmp/ccdiVA3u.s:10566: Error: Symbol .LCL215 already defined.
/tmp/ccdiVA3u.s:10577: Error: Symbol .LCL215 already defined.
/tmp/ccdiVA3u.s:10588: Error: Symbol .LCL215 already defined.
/tmp/ccdiVA3u.s:10599: Error: Symbol .LCL215 already defined.
/tmp/ccdiVA3u.s:10610: Error: Symbol .LCL215 already defined.
/tmp/ccdiVA3u.s:10621: Error: Symbol .LCL215 already defined.
/tmp/ccdiVA3u.s:10632: Error: Symbol .LCL215 already defined.
/tmp/ccdiVA3u.s:10643: Error: Symbol .LCL215 already defined.
/tmp/ccdiVA3u.s:10654: Error: Symbol .LCL215 already defined.
/tmp/ccdiVA3u.s:10665: Error: Symbol .LCL215 already defined.
/tmp/ccdiVA3u.s:11046: Error: Symbol .LCL215 already defined.
make[2]: *** [wxMApp.o] Error 1
Tks,
-- Greg Noel, retired UNIX guru
Compressed assembly code