public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16240] New: Seg Fault in collect2
@ 2004-06-28  2:46 mckelvey at maskull dot com
  2004-06-28  3:24 ` [Bug c++/16240] " mckelvey at maskull dot com
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: mckelvey at maskull dot com @ 2004-06-28  2:46 UTC (permalink / raw)
  To: gcc-bugs

This code links if I add "inline" to the four Delete(...) functions in
StringScalarDeleteValue.h. Without that I get a seg fault.

/usr/local/bin/g++ -g -fno-elide-constructors       -pedantic-errors -Werror
-ansi -fno-common -fstrict-aliasing -Wall -W -Wold-style-cast -Wsign-promo
-Wpointer-arith -Wconversion -Wundef -Wwrite-strings -Winvalid-pch
-Woverloaded-virtual -Wcast-qual -Winline -Wextra -MMD     
-fimplicit-templates  -Wl,-warn-common -L.. -o test025.exe test025.o
-lPatternDriver -lintl
../libPatternDriver.a(StringScalarDeleteValue.o)(.text+0x1cc):/usr/home/mckelvey/PD/StringScalarDeleteValue.h:223:
multiple definition of `g++: Internal error: Segmentation fault (program
collect2)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake: *** [test025.exe] Error 1

alpha1:PD>g++ -v
Reading specs from /usr/local/lib/gcc/alphaev56-unknown-linux-gnu/3.5.0/specs
Configured with: ../gcc/configure --verbose --enable-languages=c++
Thread model: posix
gcc version 3.5.0 20040207 (experimental)

alpha1:PD>uname -a
Linux alpha1 2.4.9-40 #1 Mon Sep 23 08:14:02 EDT 2002 alpha unknown

alpha1:PD>alias CONFIGURECVS
alias CONFIGURECVS='../gcc/configure --verbose --enable-languages=c++ >clog
2>&1'
alpha1:PD>alias BUILD
alias BUILD='nice gmake CFLAGS='\''-O'\'' BOOT_CFLAGS='\''-O'\''
LIBCFLAGS='\''-g -O'\'' LIBCXXFLAGS='\''-g -O -fno-implicit-templates'\''
bootstrap >log 2>&1'

I attach the .ii file; let me know if you need anything else.

-- 
           Summary: Seg Fault in collect2
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mckelvey at maskull dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: alphaev56-unknown-linux-gnu
  GCC host triplet: alphaev56-unknown-linux-gnu
GCC target triplet: alphaev56-unknown-linux-gnu


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2005-07-29 22:38 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-28  2:46 [Bug c++/16240] New: Seg Fault in collect2 mckelvey at maskull dot com
2004-06-28  3:24 ` [Bug c++/16240] " mckelvey at maskull dot com
2004-06-28  5:17 ` [Bug driver/16240] " pinskia at gcc dot gnu dot org
2004-06-28  7:21 ` pinskia at gcc dot gnu dot org
2004-06-28  7:28 ` [Bug other/16240] [3.4/3.5 Regression] Seg Fault in collect2 (caused by C++ demangling) pinskia at gcc dot gnu dot org
2004-06-28 15:30 ` cvs-commit at gcc dot gnu dot org
2004-06-28 15:39 ` ian at wasabisystems dot com
2004-06-28 16:08 ` [Bug c++/16240] [3.4/3.5 Regression] g++ generates incorrect mangled name ian at wasabisystems dot com
2004-06-28 17:45 ` giovannibajo at libero dot it
2004-07-01 17:23 ` [Bug c++/16240] [3.4/3.5 ABI " bkoz at gcc dot gnu dot org
2004-07-02 23:56 ` cvs-commit at gcc dot gnu dot org
2004-07-02 23:58 ` mmitchel at gcc dot gnu dot org
2004-09-05  3:27 ` jbuck at gcc dot gnu dot org
2005-01-31 22:12 ` pinskia at gcc dot gnu dot org
2005-02-28 15:17 ` cvs-commit at gcc dot gnu dot org
2005-07-27 22:56 ` uttamp at us dot ibm dot com
2005-07-27 23:09 ` ian at airs dot com
2005-07-28 18:29 ` uttamp at us dot ibm dot com
2005-07-28 22:56 ` ian at airs dot com
2005-07-29 18:31 ` uttamp at us dot ibm dot com
2005-07-29 23:24 ` ian at airs dot com

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).