I am trying to port an existing larger piece of software in C++ to a new x86_64 system. The software compiles well on ix86 systems with both gcc 3.3.3 and gcc 4.1.2 (prerelease as installed with openSuSE 10.2). However, on x86_64 with the same openSuSE 10.2 system (so: gcc 4.1.2 prerelease), the compiler goes into an apparently infinite loop when compiling a file that uses the boost spirit template library. I have stripped down the problem to a small file test.cpp which has, of course, to include several headers from the spirit library. I'll attach the test.ii file.
Created attachment 13130 [details] output of compile process this is the output of the compiler with one comment added from my side
I have tried to attach the test.ii file, however it is too big (1.6 MB - must use some of the boost/spirit template library headers). I have send the file as an attachment to gcc-bugs@gcc.gnu.org and hope they can handle it.
You can attach a compressed version or provide a URL to download from. The mail didn't seem to get through.
Subject: Re: infinite loop during compilation on x86_64 architecture rguenth at gcc dot gnu dot org wrote: > ------- Comment #3 from rguenth at gcc dot gnu dot org 2007-03-02 09:38 ------- > You can attach a compressed version or provide a URL to download from. The > mail > didn't seem to get through. > > This is another try. I attach the compressed version of the *.ii file. Hope this works. Thanks Bernd -- ======================================================================= Bernd Speiser Institut für Organische Chemie Auf der Morgenstelle 18 D-72076 Tübingen Germany phone: +49-7071-2976205 (office) +49-7071-2976242 (laboratory) fax: +49-7071-295518 e-mail: bernd.speiser@uni-tuebingen.de Internet: http://www.uni-tuebingen.de/speiser =======================================================================
I tried to resend the attachment (*.ii file) in compressed form as an e-mail attachment to gcc-bugs@gcc.gnu.org, after the uncompressed attachment was supposedly also too big and the earlier mail didn't get through. Hope this works ... This is the first time, I had to use the bug reporting facility, (fortunately!), so I'm not too familiar with your procedures. Sorry about any inconvenience.
Looks like e-mails with attachments are dropped. Please try attaching it via bugzilla to the bug again (compressed). Thanks!
Created attachment 13133 [details] preprocessed source (compressed) next try to attach ...
That worked. Dup of PR29512. We might consider a backport... *** This bug has been marked as a duplicate of 29512 ***