This is the mail archive of the gcc-bugs@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: debug/6387: -fpic -g1 combination give ICE in dwarf2out


   I don't know if this is what I originally reported, since it is
pretty old. But this one has been here for the last couple of releases.
This is from a make bootstrap of 3.2.1.

On Wed, Dec 11, 2002 at 09:42:08PM -0000, bangerth@dealii.org wrote:
> Synopsis: -fpic -g1 combination give ICE in dwarf2out
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: bangerth
> State-Changed-When: Wed Dec 11 13:42:08 2002
> State-Changed-Why:
>     Do I understand this report correctly that this happened 
>     during bootstrapping the compiler? If so, did you add any
>     special flags?
>     
>     It is hard to reproduce the problem, since you did not
>     provide the preprocessed sources that we so desparately
>     need to reproduce something...
>     
>     W.
> 
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6387

/bin/bash ../libtool --tag CXX --tag disable-shared --mode=compile /usr/src/devel/gcc/linux/gcc/xgcc -shared-libgcc -B/usr/src/devel/gcc/linux/gcc/ -nostdinc++  -L/usr/src/devel/gcc/linux/athlon_xp-inX-linux/libstdc++-v3/src -L/usr/src/devel/gcc/linux/athlon_xp-inX-linux/libstdc++-v3/src/.libs -B/usr/lib/gcc/athlon_xp-inX-linux/bin/ -B/usr/lib/gcc/athlon_xp-inX-linux/lib/ -isystem /usr/lib/gcc/athlon_xp-inX-linux/include -I../../../../libstdc++-v3/../gcc -I../../../../libstdc++-v3/../include -I/usr/src/devel/gcc/linux/athlon_xp-inX-linux/libstdc++-v3/include/athlon_xp-inX-linux -I/usr/src/devel/gcc/linux/athlon_xp-inX-linux/libstdc++-v3/include -I../../../../libstdc++-v3/libsupc++   -march=athlon-xp -pipe -O2 -fno-keep-static-consts -fno-keep-inline-functions -fprefetch-loop-arrays -fomit-frame-pointer -momit-leaf-frame-pointer -fschedule-insns -frename-registers -malign-stringops -D__NO_STRING_INLINES -fdata-sections -ffunction-sections -D_GNU_SOURCE -fno-implicit-templates -prefer-pic -Wall -Wno-format -W -Wwrite-strings -Winline  -fdiagnostics-show-location=once  -march=athlon-xp -pipe -O2 -fprefetch-loop-arrays -fomit-frame-pointer -momit-leaf-frame-pointer -fschedule-insns -frename-registers -malign-stringops -minline-all-stringops -D__NO_STRING_INLINES -fno-keep-static-consts -fno-keep-inline-functions -fdata-sections -ffunction-sections -ffunction-sections -fdata-sections -g    -c ../../../../libstdc++-v3/libsupc++/eh_personality.cc
/usr/src/devel/gcc/linux/gcc/xgcc -shared-libgcc -B/usr/src/devel/gcc/linux/gcc/ -nostdinc++ -L/usr/src/devel/gcc/linux/athlon_xp-inX-linux/libstdc++-v3/src -L/usr/src/devel/gcc/linux/athlon_xp-inX-linux/libstdc++-v3/src/.libs -B/usr/lib/gcc/athlon_xp-inX-linux/bin/ -B/usr/lib/gcc/athlon_xp-inX-linux/lib/ -isystem /usr/lib/gcc/athlon_xp-inX-linux/include -I../../../../libstdc++-v3/../gcc -I../../../../libstdc++-v3/../include -I/usr/src/devel/gcc/linux/athlon_xp-inX-linux/libstdc++-v3/include/athlon_xp-inX-linux -I/usr/src/devel/gcc/linux/athlon_xp-inX-linux/libstdc++-v3/include -I../../../../libstdc++-v3/libsupc++ -march=athlon-xp -pipe -O2 -fno-keep-static-consts -fno-keep-inline-functions -fprefetch-loop-arrays -fomit-frame-pointer -momit-leaf-frame-pointer -fschedule-insns -frename-registers -malign-stringops -D__NO_STRING_INLINES -fdata-sections -ffunction-sections -D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -march=athlon-xp -pipe -O2 -fprefetch-loop-arrays -fomit-frame-pointer -momit-leaf-frame-pointer -fschedule-insns -frename-registers -malign-stringops -minline-all-stringops -D__NO_STRING_INLINES -fno-keep-static-consts -fno-keep-inline-functions -fdata-sections -ffunction-sections -ffunction-sections -fdata-sections -g -c ../../../../libstdc++-v3/libsupc++/eh_personality.cc  -fPIC -DPIC -g1 -o eh_personality.o
In file included from /usr/src/devel/gcc/linux/athlon_xp-inX-linux/libstdc++-v3/include/athlon_xp-inX-linux/bits/c++config.h:34,
                 from ../../../../libstdc++-v3/libsupc++/eh_personality.cc:31:
/usr/src/devel/gcc/linux/athlon_xp-inX-linux/libstdc++-v3/include/athlon_xp-inX-linux/bits/os_defines.h:65:1: warning: "__NO_STRING_INLINES" redefined
../../../../libstdc++-v3/libsupc++/eh_personality.cc:1:1: warning: this is the location of the previous definition
In file included from ../../../../libstdc++-v3/libsupc++/eh_personality.cc:38:
../../../../gcc/unwind-pe.h: In function `unsigned int 
   size_of_encoded_value(unsigned char)':
../../../../gcc/unwind-pe.h:77: warning: control reaches end of non-void 
   function
../../../../gcc/unwind-pe.h: In function `_Unwind_Ptr 
   base_of_encoded_value(unsigned char, _Unwind_Context*)':
../../../../gcc/unwind-pe.h:107: warning: control reaches end of non-void 
   function
../../../../gcc/unwind-pe.h: In function `const unsigned char* 
   read_encoded_value_with_base(unsigned char, unsigned int, const unsigned 
   char*, _Unwind_Ptr*)':
../../../../gcc/unwind-pe.h:182: warning: `_Unwind_Ptr result' might be used 
   uninitialized in this function
../../../../libstdc++-v3/libsupc++/eh_personality.cc: At global scope:
../../../../libstdc++-v3/libsupc++/eh_personality.cc:485: Internal compiler 
   error in dwarf2out_finish, at dwarf2out.c:12183
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[4]: *** [eh_personality.lo] Error 1
make[4]: Leaving directory `/usr/src/devel/gcc/linux/athlon_xp-inX-linux/libstdc++-v3/libsupc++'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/devel/gcc/linux/athlon_xp-inX-linux/libstdc++-v3'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/usr/src/devel/gcc/linux/athlon_xp-inX-linux/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/usr/src/devel/gcc/linux'
make: *** [bootstrap] Error 2
done 2

Attachment: eh_personality.ii.gz
Description: application/gunzip


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