public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/35883] New: Similar to #23589: Internal compiler error: in rest_of_handle_final, at toplev.c:2067
@ 2008-04-09 9:51 bachlipp at web dot de
2008-04-09 10:05 ` [Bug c++/35883] " bachlipp at web dot de
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: bachlipp at web dot de @ 2008-04-09 9:51 UTC (permalink / raw)
To: gcc-bugs
I tried to compile log4cplus-1.0.2 with the latest stable GCC distributed with
MinGW (gcc-*-3.4.5-20060117-2). This failed. So I compiled GCC 3.4.6 myself:
export PATH=/mingw/bin:$PATH
export GCC_EXEC_PREFIX=/mingw/lib/gcc/
cd ..
mkdir mingw32
cd mingw32
mkdir /usr/include
../gcc-3.4.6/configure --with-gcc --with-gnu-ld --with-gnu-as \
--host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads \
--disable-nls --enable-languages=c,c++,f77,ada,objc,java \
--disable-win32-registry --disable-shared --enable-sjlj-exceptions \
--enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm \
--disable-libgcj-debug --enable-interpreter --enable-hash-synchronization \
--enable-libstdcxx-debug --enable-languages=c,c++
make BOOT_CFLAGS="-O2 -fomit-frame-pointer -D__USE_MINGW_ACCESS" \
BOOT_CXXFLAGS="-mthreads -fno-omit-frame-pointer -O2" \
BOOT_LDFLAGS=-s \
bootstrap
make install
Now I have
$ g++ --version
g++.exe (GCC) 3.4.6
[...]
$ uname -a
MINGW32_NT-5.1 [hostname] 1.0.10(0.46/3/2) 2004-03-15 07:17 i686 unknown
Updating the compiler didn't solve the problem. It still says:
appender.cxx:245: warning: function 'virtual log4cplus::tstring
log4cplus::Appender::getName()' is defined after prior declaration as
dllimport: attribute ignored
appender.cxx:253: warning: function 'virtual void
log4cplus::Appender::setName(const log4cplus::tstring&)' is defined after prior
declaration as dllimport: attribute ignored
appender.cxx:268: warning: function 'virtual void
log4cplus::Appender::setErrorHandler(std::auto_ptr<log4cplus::ErrorHandler>)'
is defined after prior declaration as dllimport: attribute ignored
appender.cxx:260: warning: function 'virtual log4cplus::ErrorHandler*
log4cplus::Appender::getErrorHandler()' is defined after prior declaration as
dllimport: attribute ignored
appender.cxx:284: warning: function 'virtual void
log4cplus::Appender::setLayout(std::auto_ptr<log4cplus::Layout>)' is defined
after prior declaration as dllimport: attribute ignored
appender.cxx:294: warning: function 'virtual log4cplus::Layout*
log4cplus::Appender::getLayout()' is defined after prior declaration as
dllimport: attribute ignored
appender.cxx:95: warning: function 'virtual void
log4cplus::OnlyOnceErrorHandler::error(const log4cplus::tstring&)' is defined
after prior declaration as dllimport: attribute ignored
appender.cxx:84: warning: function 'virtual
log4cplus::ErrorHandler::~ErrorHandler()' is defined after prior declaration as
dllimport: attribute ignored
appender.cxx:84: warning: function 'virtual
log4cplus::ErrorHandler::~ErrorHandler()' is defined after prior declaration as
dllimport: attribute ignored
appender.cxx: In destructor `log4cplus::ErrorHandler::~ErrorHandler()':
appender.cxx:85: internal compiler error: in rest_of_handle_final, at
toplev.c:2067
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
The command line used was:
g++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cplus -I../include -Wall
-D_REENTRANT -g -O2 -c appender.ii -DDLL_EXPORT -DPIC -o .libs/appender.o
This is similar to what a simple "./configure" yielded.
Please find the lengthy preprocessed source attached.
--
Summary: Similar to #23589: Internal compiler error: in
rest_of_handle_final, at toplev.c:2067
Product: gcc
Version: 3.4.6
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bachlipp at web dot de
GCC build triplet: *-*-*
GCC host triplet: i386-pc-mingw32
GCC target triplet: i386-pc-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35883
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/35883] Similar to #23589: Internal compiler error: in rest_of_handle_final, at toplev.c:2067
2008-04-09 9:51 [Bug c++/35883] New: Similar to #23589: Internal compiler error: in rest_of_handle_final, at toplev.c:2067 bachlipp at web dot de
@ 2008-04-09 10:05 ` bachlipp at web dot de
2008-04-09 10:05 ` bachlipp at web dot de
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: bachlipp at web dot de @ 2008-04-09 10:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from bachlipp at web dot de 2008-04-09 10:04 -------
Created an attachment (id=15452)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15452&action=view)
Preprocessed source file, first chunk
Generated from original log4cplus-1.0.2 distribution, configured using just
"./configure", copying and modifying the g++ call originating from the call to
"make" like this:
cd src
g++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cplus -I../include -Wall
-D_REENTRANT -g -O2 -c appender.cxx -DDLL_EXPORT -DPIC -save-temps -o
.libs/appender.o
Then splitted using
split --bytes=700000 appender.li
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35883
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/35883] Similar to #23589: Internal compiler error: in rest_of_handle_final, at toplev.c:2067
2008-04-09 9:51 [Bug c++/35883] New: Similar to #23589: Internal compiler error: in rest_of_handle_final, at toplev.c:2067 bachlipp at web dot de
2008-04-09 10:05 ` [Bug c++/35883] " bachlipp at web dot de
@ 2008-04-09 10:05 ` bachlipp at web dot de
2008-04-09 10:06 ` bachlipp at web dot de
2008-04-09 13:02 ` rguenth at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: bachlipp at web dot de @ 2008-04-09 10:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from bachlipp at web dot de 2008-04-09 10:05 -------
Created an attachment (id=15453)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15453&action=view)
Preprocessed source file, second chunk
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35883
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/35883] Similar to #23589: Internal compiler error: in rest_of_handle_final, at toplev.c:2067
2008-04-09 9:51 [Bug c++/35883] New: Similar to #23589: Internal compiler error: in rest_of_handle_final, at toplev.c:2067 bachlipp at web dot de
2008-04-09 10:05 ` [Bug c++/35883] " bachlipp at web dot de
2008-04-09 10:05 ` bachlipp at web dot de
@ 2008-04-09 10:06 ` bachlipp at web dot de
2008-04-09 13:02 ` rguenth at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: bachlipp at web dot de @ 2008-04-09 10:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from bachlipp at web dot de 2008-04-09 10:05 -------
Created an attachment (id=15454)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15454&action=view)
Preprocessed source file, third chunk
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35883
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/35883] Similar to #23589: Internal compiler error: in rest_of_handle_final, at toplev.c:2067
2008-04-09 9:51 [Bug c++/35883] New: Similar to #23589: Internal compiler error: in rest_of_handle_final, at toplev.c:2067 bachlipp at web dot de
` (2 preceding siblings ...)
2008-04-09 10:06 ` bachlipp at web dot de
@ 2008-04-09 13:02 ` rguenth at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-04-09 13:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2008-04-09 13:01 -------
Sorry, but the oldest GCC version still maintained is GCC 4.1.2 though I
suggest
to at least try GCC 4.2.x which will even get further updates.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WONTFIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35883
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-04-09 13:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-09 9:51 [Bug c++/35883] New: Similar to #23589: Internal compiler error: in rest_of_handle_final, at toplev.c:2067 bachlipp at web dot de
2008-04-09 10:05 ` [Bug c++/35883] " bachlipp at web dot de
2008-04-09 10:05 ` bachlipp at web dot de
2008-04-09 10:06 ` bachlipp at web dot de
2008-04-09 13:02 ` rguenth at gcc dot gnu dot org
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).