public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* internal compiler error: Segmentation fault
@ 2005-07-20 15:32 J. David Boyd
  0 siblings, 0 replies; 7+ messages in thread
From: J. David Boyd @ 2005-07-20 15:32 UTC (permalink / raw)
  To: gcc-help


I keep getting this error when attempting to compile cvs emacs, or any other
large project.

Small ones seem to build okay, but that might be coincidence.  It seems
somehow to be related include file space, if such a thing exists.

I'm using Mandrake Linux, and gcc 3.4.3.

Some directions please, on where do I start to figure out how to solve this
problem?


Dave in Largo, FL

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

* internal compiler error: Segmentation fault
@ 2023-04-08 15:15 Dennis Clarke
  0 siblings, 0 replies; 7+ messages in thread
From: Dennis Clarke @ 2023-04-08 15:15 UTC (permalink / raw)
  To: gcc-help


I was surprised to see this while doing a build of LTS 6.1.23 kernel :

  CC [M]  drivers/media/pci/cx18/cx18-driver.o
   CC [M]  drivers/media/pci/cx18/cx18-cards.o
   CC [M]  drivers/media/pci/cx18/cx18-i2c.o
during GIMPLE pass: fre
drivers/media/pci/cx18/cx18-i2c.c: In function ‘init_cx18_i2c’:
drivers/media/pci/cx18/cx18-i2c.c:300:1: internal compiler error: 
Segmentation fault
   300 | }
       | ^
0x7f33d8fccd5f ???
         ./signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0x7f33d8fb7d09 __libc_start_main
         ../csu/libc-start.c:308
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
make[5]: *** [scripts/Makefile.build:250: 
drivers/media/pci/cx18/cx18-i2c.o] Error 1
make[4]: *** [scripts/Makefile.build:500: drivers/media/pci/cx18] Error 2
make[3]: *** [scripts/Makefile.build:500: drivers/media/pci] Error 2
make[2]: *** [scripts/Makefile.build:500: drivers/media] Error 2
make[1]: *** [scripts/Makefile.build:500: drivers] Error 2
make: *** [Makefile:2012: .] Error 2


The machine is bone stock Devuan/Debian type :

t# uname -a
Linux titan 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 
GNU/Linux

t# which gcc
/usr/bin/gcc

t# gcc --version
gcc (Debian 10.2.1-6) 10.2.1 20210110
Copyright (C) 2020 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.



So I went to the top level and run the usual V=1 verbose stuff :


t# pwd
/usr/local/build/linux-6.1.23
t#
t#
t# make V=1 drivers/media/pci/cx18/
make -f ./scripts/Makefile.build obj=arch/x86/entry/syscalls all
make -f ./scripts/Makefile.build obj=scripts/basic
make -f ./scripts/Makefile.build obj=arch/x86/tools relocs
make -f ./scripts/Makefile.build obj=scripts/dtc
make -f ./scripts/Makefile.build obj=scripts
make -f ./scripts/Makefile.build obj=scripts/genksyms \
need-builtin= \
need-modorder= \

make -f ./scripts/Makefile.build obj=scripts/selinux \
need-builtin= \
need-modorder= \

make -f ./scripts/Makefile.build obj=scripts/selinux/genheaders \
need-builtin= \
need-modorder= \

make -f ./scripts/Makefile.build obj=scripts/selinux/mdp \
need-builtin= \
need-modorder= \

set -e; mkdir -p include/config/; trap "rm -f 
include/config/.kernel.release.tmp" EXIT; { echo "6.1.23$(sh 
./scripts/setlocalversion .)"; } > include/config/.kernel.release.tmp; 
if [ ! -r include/config/kernel.release ] || ! cmp -s 
include/config/kernel.release include/config/.kernel.release.tmp; then : 
'  UPD     include/config/kernel.release'; mv -f 
include/config/.kernel.release.tmp include/config/kernel.release; fi
make -f ./scripts/Makefile.asm-generic 
obj=arch/x86/include/generated/uapi/asm \
generic=include/uapi/asm-generic
make -f ./scripts/Makefile.asm-generic obj=arch/x86/include/generated/asm \
generic=include/asm-generic
set -e; mkdir -p include/generated/uapi/linux/; trap "rm -f 
include/generated/uapi/linux/.version.h.tmp" EXIT; {        if [ 23 -gt 
255 ]; then echo \#define LINUX_VERSION_CODE 393727; else echo \#define 
LINUX_VERSION_CODE 393495; fi; echo '#define KERNEL_VERSION(a,b,c) (((a) 
<< 16) + ((b) << 8) + ((c) > 255 ? 255 : (c)))'; echo \#define 
LINUX_VERSION_MAJOR 6; echo \#define LINUX_VERSION_PATCHLEVEL 1; echo 
\#define LINUX_VERSION_SUBLEVEL 23; } > 
include/generated/uapi/linux/.version.h.tmp; if [ ! -r 
include/generated/uapi/linux/version.h ] || ! cmp -s 
include/generated/uapi/linux/version.h 
include/generated/uapi/linux/.version.h.tmp; then : '  UPD 
include/generated/uapi/linux/version.h'; mv -f 
include/generated/uapi/linux/.version.h.tmp 
include/generated/uapi/linux/version.h; fi
set -e; mkdir -p include/generated/; trap "rm -f 
include/generated/.utsrelease.h.tmp" EXIT; {   if [ `echo -n 
"6.1.23-genunix" | wc -c ` -gt 64 ]; then echo '"6.1.23-genunix" exceeds 
64 characters' >&2; exit 1; fi; echo \#define UTS_RELEASE 
\"6.1.23-genunix\"; } > include/generated/.utsrelease.h.tmp; if [ ! -r 
include/generated/utsrelease.h ] || ! cmp -s 
include/generated/utsrelease.h include/generated/.utsrelease.h.tmp; then 
: '  UPD     include/generated/utsrelease.h'; mv -f 
include/generated/.utsrelease.h.tmp include/generated/utsrelease.h; fi
set -e; mkdir -p include/generated/; trap "rm -f 
include/generated/.compile.h.tmp" EXIT; { ./scripts/mkcompile_h "x86_64" 
"gcc (Debian 10.2.1-6) 10.2.1 20210110" "ld"; } > 
include/generated/.compile.h.tmp; if [ ! -r include/generated/compile.h 
] || ! cmp -s include/generated/compile.h 
include/generated/.compile.h.tmp; then : '  UPD 
include/generated/compile.h'; mv -f include/generated/.compile.h.tmp 
include/generated/compile.h; fi
./scripts/remove-stale-files
make -f ./scripts/Makefile.build obj=scripts/mod
set -e; mkdir -p scripts/mod/; trap "rm -f 
scripts/mod/.devicetable-offsets.h.tmp" EXIT; {       echo "#ifndef 
__DEVICETABLE_OFFSETS_H__"; echo "#define __DEVICETABLE_OFFSETS_H__"; 
echo "/*"; echo " * DO NOT MODIFY."; echo " *"; echo " * This file was 
generated by Kbuild"; echo " */"; echo ""; sed -ne 
's:^[[:space:]]*\.ascii[[:space:]]*"\(.*\)".*:\1:; /^->/{s:->#\(.*\):/* 
\1 */:; s:^->\([^ ]*\) [\$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; 
s:->::; p;}' < scripts/mod/devicetable-offsets.s; echo ""; echo 
"#endif"; } > scripts/mod/.devicetable-offsets.h.tmp; if [ ! -r 
scripts/mod/devicetable-offsets.h ] || ! cmp -s 
scripts/mod/devicetable-offsets.h 
scripts/mod/.devicetable-offsets.h.tmp; then : '  UPD 
scripts/mod/devicetable-offsets.h'; mv -f 
scripts/mod/.devicetable-offsets.h.tmp scripts/mod/devicetable-offsets.h; fi
make -f ./scripts/Makefile.build obj=. prepare
set -e; mkdir -p include/generated/; trap "rm -f 
include/generated/.timeconst.h.tmp" EXIT; { echo 250 | bc -q 
kernel/time/timeconst.bc; } > include/generated/.timeconst.h.tmp; if [ ! 
-r include/generated/timeconst.h ] || ! cmp -s 
include/generated/timeconst.h include/generated/.timeconst.h.tmp; then : 
'  UPD     include/generated/timeconst.h'; mv -f 
include/generated/.timeconst.h.tmp include/generated/timeconst.h; fi
set -e; mkdir -p include/generated/; trap "rm -f 
include/generated/.bounds.h.tmp" EXIT; {        echo "#ifndef 
__LINUX_BOUNDS_H__"; echo "#define __LINUX_BOUNDS_H__"; echo "/*"; echo 
" * DO NOT MODIFY."; echo " *"; echo " * This file was generated by 
Kbuild"; echo " */"; echo ""; sed -ne 
's:^[[:space:]]*\.ascii[[:space:]]*"\(.*\)".*:\1:; /^->/{s:->#\(.*\):/* 
\1 */:; s:^->\([^ ]*\) [\$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; 
s:->::; p;}' < kernel/bounds.s; echo ""; echo "#endif"; } > 
include/generated/.bounds.h.tmp; if [ ! -r include/generated/bounds.h ] 
|| ! cmp -s include/generated/bounds.h include/generated/.bounds.h.tmp; 
then : '  UPD     include/generated/bounds.h'; mv -f 
include/generated/.bounds.h.tmp include/generated/bounds.h; fi
set -e; mkdir -p include/generated/; trap "rm -f 
include/generated/.asm-offsets.h.tmp" EXIT; {   echo "#ifndef 
__ASM_OFFSETS_H__"; echo "#define __ASM_OFFSETS_H__"; echo "/*"; echo " 
* DO NOT MODIFY."; echo " *"; echo " * This file was generated by 
Kbuild"; echo " */"; echo ""; sed -ne 
's:^[[:space:]]*\.ascii[[:space:]]*"\(.*\)".*:\1:; /^->/{s:->#\(.*\):/* 
\1 */:; s:^->\([^ ]*\) [\$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; 
s:->::; p;}' < arch/x86/kernel/asm-offsets.s; echo ""; echo "#endif"; } 
 > include/generated/.asm-offsets.h.tmp; if [ ! -r 
include/generated/asm-offsets.h ] || ! cmp -s 
include/generated/asm-offsets.h include/generated/.asm-offsets.h.tmp; 
then : '  UPD     include/generated/asm-offsets.h'; mv -f 
include/generated/.asm-offsets.h.tmp include/generated/asm-offsets.h; fi
   sh scripts/checksyscalls.sh gcc -Wp,-MMD,./.missing-syscalls.d 
-nostdinc -I./arch/x86/include -I./arch/x86/include/generated 
-I./include -I./arch/x86/include/uapi 
-I./arch/x86/include/generated/uapi -I./include/uapi 
-I./include/generated/uapi -include ./include/linux/compiler-version.h 
-include ./include/linux/kconfig.h -include 
./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= 
-Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE 
-Werror=implicit-function-declaration -Werror=implicit-int 
-Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx 
-mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 
-falign-loops=1 -mno-80387 -mno-fp-ret-in-387 
-mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic 
-mno-red-zone -mcmodel=kernel -Wno-sign-compare 
-fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern 
-mindirect-branch-register -mfunction-return=thunk-extern 
-fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address 
-Wno-format-truncation -Wno-format-overflow 
-Wno-address-of-packed-member -O2 -fno-allow-store-data-races 
-Wframe-larger-than=2048 -fstack-protector-strong -Wno-main 
-Wno-unused-but-set-variable -Wno-unused-const-variable 
-fno-stack-clash-protection -pg -mrecord-mcount -mfentry 
-DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign 
-Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow 
-Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than 
-Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check 
-fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types 
-Werror=designated-init -Wno-packed-not-aligned 
-DKBUILD_MODFILE='"./missing-syscalls"' 
-DKBUILD_BASENAME='"missing_syscalls"' 
-DKBUILD_MODNAME='"missing_syscalls"' 
-D__KBUILD_MODNAME=kmod_missing_syscalls
mkdir -p ./tools
make LDFLAGS= MAKEFLAGS=" " O=/usr/local/build/linux-6.1.23 subdir=tools 
-C ./tools/ objtool
mkdir -p /usr/local/build/linux-6.1.23/tools/objtool && make 
O=/usr/local/build/linux-6.1.23 subdir=tools/objtool 
--no-print-directory -C objtool
make -C /usr/local/build/linux-6.1.23/tools/build CFLAGS= LDFLAGS= 
/usr/local/build/linux-6.1.23/tools/objtool/fixdep
make -f /usr/local/build/linux-6.1.23/tools/build/Makefile.build dir=. 
obj=fixdep
make -C /usr/local/build/linux-6.1.23/tools/lib/subcmd/ 
OUTPUT=/usr/local/build/linux-6.1.23/tools/objtool/
make -C /usr/local/build/linux-6.1.23/tools/build CFLAGS= LDFLAGS= 
/usr/local/build/linux-6.1.23/tools/objtool/fixdep
make -f /usr/local/build/linux-6.1.23/tools/build/Makefile.build dir=. 
obj=fixdep
make -f /usr/local/build/linux-6.1.23/tools/build/Makefile.build 
dir=./arch/x86 obj=objtool
make -f ./scripts/Makefile.build obj=. need-builtin=1 need-modorder=1 
./drivers/media/pci/cx18/
make -f ./scripts/Makefile.build obj=drivers \
need-builtin=1 \
need-modorder=1 \
drivers/media/pci/cx18/
make -f ./scripts/Makefile.build obj=drivers/media \
need-builtin=1 \
need-modorder=1 \
drivers/media/pci/cx18/
make -f ./scripts/Makefile.build obj=drivers/media/pci \
need-builtin=1 \
need-modorder=1 \
drivers/media/pci/cx18/
make -f ./scripts/Makefile.build obj=drivers/media/pci/cx18 \
need-builtin= \
need-modorder=1 \
drivers/media/pci/cx18/
   gcc -Wp,-MMD,drivers/media/pci/cx18/.cx18-i2c.o.d -nostdinc 
-I./arch/x86/include -I./arch/x86/include/generated  -I./include 
-I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi 
-I./include/uapi -I./include/generated/uapi -include 
./include/linux/compiler-version.h -include ./include/linux/kconfig.h 
-include ./include/linux/compiler_types.h -D__KERNEL__ 
-fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes 
-Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE 
-Werror=implicit-function-declaration -Werror=implicit-int 
-Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx 
-mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 
-falign-loops=1 -mno-80387 -mno-fp-ret-in-387 
-mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic 
-mno-red-zone -mcmodel=kernel -Wno-sign-compare 
-fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern 
-mindirect-branch-register -mfunction-return=thunk-extern 
-fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address 
-Wno-format-truncation -Wno-format-overflow 
-Wno-address-of-packed-member -O2 -fno-allow-store-data-races 
-Wframe-larger-than=2048 -fstack-protector-strong -Wno-main 
-Wno-unused-but-set-variable -Wno-unused-const-variable 
-fno-stack-clash-protection -pg -mrecord-mcount -mfentry 
-DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign 
-Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow 
-Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than 
-Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check 
-fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types 
-Werror=designated-init -Wno-packed-not-aligned -I 
./drivers/media/dvb-frontends -I ./drivers/media/tuners  -DMODULE 
-DKBUILD_BASENAME='"cx18_i2c"' -DKBUILD_MODNAME='"cx18"' 
-D__KBUILD_MODNAME=kmod_cx18 -c -o drivers/media/pci/cx18/cx18-i2c.o 
drivers/media/pci/cx18/cx18-i2c.c   ; ./tools/objtool/objtool 
--hacks=jump_label --hacks=noinstr --orc --retpoline --rethunk 
--static-call --uaccess   --module drivers/media/pci/cx18/cx18-i2c.o
during GIMPLE pass: fre
drivers/media/pci/cx18/cx18-i2c.c: In function ‘init_cx18_i2c’:
drivers/media/pci/cx18/cx18-i2c.c:300:1: internal compiler error: 
Segmentation fault
   300 | }
       | ^
0x7f9090953d5f ???
         ./signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0x7f909093ed09 __libc_start_main
         ../csu/libc-start.c:308
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
make[5]: *** [scripts/Makefile.build:250: 
drivers/media/pci/cx18/cx18-i2c.o] Error 1
make[4]: *** [scripts/Makefile.build:500: drivers/media/pci/cx18] Error 2
make[3]: *** [scripts/Makefile.build:500: drivers/media/pci] Error 2
make[2]: *** [scripts/Makefile.build:500: drivers/media] Error 2
make[1]: *** [scripts/Makefile.build:500: drivers] Error 2
make: *** [Makefile:2012: .] Error 2
t#




Feels like a bug in gcc.






-- 
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
Four decades in production systems.

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

* internal compiler error: Segmentation fault
@ 2007-06-30 12:28 Lee Rhodes
  0 siblings, 0 replies; 7+ messages in thread
From: Lee Rhodes @ 2007-06-30 12:28 UTC (permalink / raw)
  To: cygwin, gcc-help

Hello,
  I am attempting to build gcc 4.3.0-20070622 on i686-pc-cygwin 1.5.24-2.
Cygwin has been updated with the cygwin-inst-20070616.tar.bz2 in order to
obtain Dave Korn's stdio.h / newlib fix (which I have verified is there).  

  The config options are:
  --prefix=/usr/local/gcc-4.3-20070622 
  --disable-shared 
  --enable-sjlj-exceptions 
  --enable-bootstrap 
  --enable-libgomp 
  --enable-libmudflap 
  --enable-threads=posix 
  --enable-languages='c c++' 

	=== gcc Summary ===

  # of expected passes        46896
  # of unexpected failures    67
  # of unexpected successes   2
  # of expected failures      134
  # of untested testcases     42
  # of unsupported tests      447

However, looking more closely at the unexpected fails, I noticed that there
were 12 more than Tim Prince's idential build/test. These fails all have the
following signature in the gcc.log (I have deleted the paths and duplicate
lines to make it easier to read):

  Executing on host: xgcc -O2 -w -fno-show-column -o 20001226-1.o
gcc.c-torture/compile/20001226-1.c
    gcc.c-torture/compile/20001226-1.c: In function 'foo': 
    gcc.c-torture/compile/20001226-1.c:23: internal compiler error:
Segmentation fault
  FAIL: gcc.c-torture/compile/20001226-1.c (internal compiler error)

I can duplicate these failures more precisely with the following 
  make check-gcc RUNTESTFLAGS="compile.exp=20001226-1.c"

It is perhaps notable that this particular torture test does PASS at
optimization settings of -O0 and -O1, but always has the same failure
signature at Optimizations of -O2, -O3 and -Os.  Also I noted that the only
one of these tests that failed on Tim's build was the -Os, but it was a
different failure and not the Segmentation fault I am getting. 

The only other unusual messages appear at the end of the build standard
error output:

  configure: error: none of the known symbol names works
  make[1]: *** [configure-target-libmudflap] Error 1
  make: *** [bootstrap] Error 2
    9 [unknown (0xCA4)] conftest 7216 _cygtls::handle_exceptions: Error
while dumping state (probably corrupted stack)

I am stuck.  I don't know what a Segmentation fault is, but since Tim got
his build to test without any segmentation faults, I'm not sure it is a bug.
I suspect that perhaps my Cygwin may be corrupted or missing something.  

Does anyone have any suggestions?

Thanks,

Lee.







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

* Re: Internal compiler error: Segmentation fault
  2003-07-22 21:46 Internal " Oliver Kullmann
  2003-07-23 14:46 ` LLeweLLyn Reese
@ 2003-07-29 12:43 ` Andrew Lees
  1 sibling, 0 replies; 7+ messages in thread
From: Andrew Lees @ 2003-07-29 12:43 UTC (permalink / raw)
  To: Oliver Kullmann; +Cc: gcc-help

On Wednesday 23 July 2003 07:01, Oliver Kullmann wrote:
> Hi,
>
> I just wanted to finish a quick job, but with my
> g++ version 3.3 (prelease, Suse 8.2) I got
> a compiler segmentation fault. So I downloaded
>

On the occasions I have encountered a segfault using gcc, it has invariably 
been due to a hardware fault with my system.  Gcc has been the best hardware 
diagnostic tool I have encountered, but I have no idea why it should be so 
sensitive in this way.  Others have had a similar experience.  Whilst it may 
not always be the case, it could be a good idea to run a comprehensive memory 
test, etc on your machine on the offchance you are having a similar 
experience.

Regards,

Andy Lees.

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

* Re: Internal compiler error: Segmentation fault
  2003-07-23 14:46 ` LLeweLLyn Reese
@ 2003-07-23 16:06   ` Oliver Kullmann
  0 siblings, 0 replies; 7+ messages in thread
From: Oliver Kullmann @ 2003-07-23 16:06 UTC (permalink / raw)
  To: gcc-help

> Oliver Kullmann <O.Kullmann@Swansea.ac.uk> writes:
> 
> > Hi,
> > 
> > I just wanted to finish a quick job, but with my
> > g++ version 3.3 (prelease, Suse 8.2) I got
> > a compiler segmentation fault. So I downloaded
> > the newest version (3.3) and got a similar error:
> > 
> > > make TestDebug
> > g++ -c -I/h/21/GemeinsameBasis/ZentralesArchiv/Hilfsprogramme/C++Bibliothek TestDebug.cpp
> > /home/kullmann/csoliver/GCC/gcc-3.3/include/c++/3.3/iostream:297: internal compiler error: Segmentation
> >    fault
> > Please submit a full bug report,
> > with preprocessed source if appropriate.
> > See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> 
> Please follow those instructions and report a bug.
>

did so
 
> > make: *** [TestDebug.o] Fehler 1
> > 
> > > g++ -v
> > Reading specs from /home/kullmann/csoliver/GCC/gcc-3.3/lib/gcc-lib/i686-pc-linux-gnu/3.3/specs
> > Configured with: /home/kullmann/csoliver/GCC/gcc-3.3/configure --enable-threads=posix --enable-long-long --prefix=/home/kullmann/csoliver/GCC/gcc-3.3 --with-local-prefix=/home/kullmann/csoliver/GCC/Include_3.3 --enable-languages=c,c++ --disable-nls --enable-shared
> > Thread model: posix
> > gcc version 3.3
> > 
> > I wonder whether someone has seen this before, and knows a quick
> > work around?!
> 
> I'm sorry, there is no hint of what you are trying to do, so I can't
>     figure out an alternative approach, (except perhaps using gcc
>     3.2.2 instead)
> 
> If you would post a short description of what you are trying to do,
>     and short example code that reproduces the problem, it will be
>     much less difficult for someone to help you.

unfortunately, there is nothing to say about the error than the above output:
The error appears erratically over all possible places (that is, in the line

/home/kullmann/csoliver/GCC/gcc-3.3/include/c++/3.3/iostream:297: internal compiler error: Segmentation

most of my own files can appear instead of "iostream", when deleting some stuff in order to localise
the compiler error).

Therefore it doesn't look sensible to me to try to explain the (rather) large project, since the compiler
error doesn't seem to be connected to anything particular in it.

Oliver

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

* Re: Internal compiler error: Segmentation fault
  2003-07-22 21:46 Internal " Oliver Kullmann
@ 2003-07-23 14:46 ` LLeweLLyn Reese
  2003-07-23 16:06   ` Oliver Kullmann
  2003-07-29 12:43 ` Andrew Lees
  1 sibling, 1 reply; 7+ messages in thread
From: LLeweLLyn Reese @ 2003-07-23 14:46 UTC (permalink / raw)
  To: Oliver Kullmann; +Cc: gcc-help

Oliver Kullmann <O.Kullmann@Swansea.ac.uk> writes:

> Hi,
> 
> I just wanted to finish a quick job, but with my
> g++ version 3.3 (prelease, Suse 8.2) I got
> a compiler segmentation fault. So I downloaded
> the newest version (3.3) and got a similar error:
> 
> > make TestDebug
> g++ -c -I/h/21/GemeinsameBasis/ZentralesArchiv/Hilfsprogramme/C++Bibliothek TestDebug.cpp
> /home/kullmann/csoliver/GCC/gcc-3.3/include/c++/3.3/iostream:297: internal compiler error: Segmentation
>    fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Please follow those instructions and report a bug.

> make: *** [TestDebug.o] Fehler 1
> 
> > g++ -v
> Reading specs from /home/kullmann/csoliver/GCC/gcc-3.3/lib/gcc-lib/i686-pc-linux-gnu/3.3/specs
> Configured with: /home/kullmann/csoliver/GCC/gcc-3.3/configure --enable-threads=posix --enable-long-long --prefix=/home/kullmann/csoliver/GCC/gcc-3.3 --with-local-prefix=/home/kullmann/csoliver/GCC/Include_3.3 --enable-languages=c,c++ --disable-nls --enable-shared
> Thread model: posix
> gcc version 3.3
> 
> I wonder whether someone has seen this before, and knows a quick
> work around?!

I'm sorry, there is no hint of what you are trying to do, so I can't
    figure out an alternative approach, (except perhaps using gcc
    3.2.2 instead)

If you would post a short description of what you are trying to do,
    and short example code that reproduces the problem, it will be
    much less difficult for someone to help you.

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

* Internal compiler error: Segmentation fault
@ 2003-07-22 21:46 Oliver Kullmann
  2003-07-23 14:46 ` LLeweLLyn Reese
  2003-07-29 12:43 ` Andrew Lees
  0 siblings, 2 replies; 7+ messages in thread
From: Oliver Kullmann @ 2003-07-22 21:46 UTC (permalink / raw)
  To: gcc-help

Hi,

I just wanted to finish a quick job, but with my
g++ version 3.3 (prelease, Suse 8.2) I got
a compiler segmentation fault. So I downloaded
the newest version (3.3) and got a similar error:

> make TestDebug
g++ -c -I/h/21/GemeinsameBasis/ZentralesArchiv/Hilfsprogramme/C++Bibliothek TestDebug.cpp
/home/kullmann/csoliver/GCC/gcc-3.3/include/c++/3.3/iostream:297: internal compiler error: Segmentation
   fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make: *** [TestDebug.o] Fehler 1

> g++ -v
Reading specs from /home/kullmann/csoliver/GCC/gcc-3.3/lib/gcc-lib/i686-pc-linux-gnu/3.3/specs
Configured with: /home/kullmann/csoliver/GCC/gcc-3.3/configure --enable-threads=posix --enable-long-long --prefix=/home/kullmann/csoliver/GCC/gcc-3.3 --with-local-prefix=/home/kullmann/csoliver/GCC/Include_3.3 --enable-languages=c,c++ --disable-nls --enable-shared
Thread model: posix
gcc version 3.3

I wonder whether someone has seen this before, and knows a quick work around?!

I would be helpful for any tip!

Oliver


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

end of thread, other threads:[~2023-04-08 15:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-20 15:32 internal compiler error: Segmentation fault J. David Boyd
  -- strict thread matches above, loose matches on Subject: below --
2023-04-08 15:15 Dennis Clarke
2007-06-30 12:28 Lee Rhodes
2003-07-22 21:46 Internal " Oliver Kullmann
2003-07-23 14:46 ` LLeweLLyn Reese
2003-07-23 16:06   ` Oliver Kullmann
2003-07-29 12:43 ` Andrew Lees

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