Thanks for the response.  Yeah, I guess it is time to upgrade :)<br><br>Best,<br>Matt<br><br><div class="gmail_quote">On Fri, Sep 10, 2010 at 11:53 PM, Dirk Eddelbuettel <span dir="ltr">&lt;<a href="mailto:edd@debian.org">edd@debian.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
Hi Matt,<br>
<div class="im"><br>
On 10 September 2010 at 22:08, Matthew O&#39;Meara wrote:<br>
| Hi Rcpp developers,<br>
|<br>
| I&#39;m running into an &quot;Internal Compiler Error&quot; when I try to build Rcpp.<br>
| Unfortunately my template ninja skills up to the task of trying to find a<br>
| work around for what I think is a gcc bug.  But as gcc 4.0 is still quite<br>
| common, it may worth trying to come up with one.<br>
<br>
</div>Allow me to disagree. gcc 4.0.0, according the debian/changelog file, dates<br>
from late 2004. That is jurassic.<br>
<br>
Is there any chance you can update?<br>
<br>
We were at times tempted to freeze our requirement for gcc/g++ 4.3, 4.4 or<br>
later.  Romain&#39;s move to OS X as a platform put and end to it. He has a 4.2.*<br>
something version there. Please consider upgrading too.<br>
<div class="im"><br>
| I will be happy to try out any candidate fixes.<br>
|<br>
| Thanks for making great software!<br>
<br>
</div>Pleasure!<br>
<br>
Cheers, Dirk<br>
<div><div></div><div class="h5"><br>
<br>
| Best,<br>
| Matt<br>
|<br>
| &gt; install.packages(&quot;/tmp/Rcpp_0.8.6.tar.gz&quot;)<br>
| install.packages(&quot;/tmp/Rcpp_0.8.6.tar.gz&quot;)<br>
| inferring &#39;repos = NULL&#39; from the file name<br>
| * installing *source* package &#39;Rcpp&#39; ...<br>
| ** libs<br>
| g++ -I/Library/Frameworks/R.framework/Resources/include -I../inst/include/<br>
| -I/sw/include -I/usr/local/include    -fPIC  -g -O2 -c Date.cpp -o Date.o<br>
| ../inst/include/Rcpp/internal/export.h: In function &#39;void<br>
| Rcpp::internal::export_range__dispatch(SEXPREC*, InputIterator,<br>
| Rcpp::traits::r_type_primitive_tag)&#39;:<br>
| ../inst/include/Rcpp/internal/export.h:56: internal compiler error: Bus<br>
| error<br>
| Please submit a full bug report,<br>
| with preprocessed source if appropriate.<br>
| See &lt;URL:<a href="http://developer.apple.com/bugreporter" target="_blank">http://developer.apple.com/bugreporter</a>&gt; for instructions.<br>
| make: *** [Date.o] Error 1<br>
| ERROR: compilation failed for package &#39;Rcpp&#39;<br>
| * removing<br>
| &#39;/Library/Frameworks/R.framework/Versions/2.11/Resources/library/Rcpp&#39;<br>
| Warning message:<br>
| In install.packages(&quot;/tmp/Rcpp_0.8.6.tar.gz&quot;) :<br>
|   installation of package &#39;/tmp/Rcpp_0.8.6.tar.gz&#39; had non-zero exit status<br>
|<br>
| The version of R I&#39;m using is as follows:<br>
|<br>
| &gt; version<br>
| version<br>
|                _<br>
| platform       i386-apple-darwin9.8.0<br>
| arch           i386<br>
| os             darwin9.8.0<br>
| system         i386, darwin9.8.0<br>
| status<br>
| major          2<br>
| minor          11.1<br>
| year           2010<br>
| month          05<br>
| day            31<br>
| svn rev        52157<br>
| language       R<br>
| version.string R version 2.11.1 (2010-05-31)<br>
|<br>
|<br>
| The version of GCC I&#39;m using is as follows:<br>
|<br>
| $ g++ --version<br>
| i686-apple-darwin9-g++-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5484)<br>
| Copyright (C) 2005 Free Software Foundation, Inc.<br>
| This is free software; see the source for copying conditions.  There is NO<br>
| warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<br>
|<br>
| and the system is as follows<br>
|<br>
| $ uname -a<br>
| Darwin &lt;<a href="http://computer.name" target="_blank">computer.name</a>&gt; 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15<br>
| 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386<br>
|<br>
|<br>
| The line pointed to in Rcpp/inst/include/Rcpp/internal/export.h is here:<br>
|<br>
|         template &lt;typename InputIterator, typename value_type&gt;<br>
|         void export_range__dispatch( SEXP x, InputIterator first,<br>
| ::Rcpp::traits::r_type_primitive_tag ) throw(::Rcpp::not_compatible){<br>
|                 export_range__impl&lt;InputIterator,value_type&gt;(<br>
|                         x,<br>
|                         first,<br>
| =&gt;                      typename<br>
| ::Rcpp::traits::r_sexptype_needscast&lt;value_type&gt;() );<br>
|         }<br>
|<br>
</div></div>| ----------------------------------------------------------------------<br>
| _______________________________________________<br>
| Rcpp-devel mailing list<br>
| <a href="mailto:Rcpp-devel@lists.r-forge.r-project.org">Rcpp-devel@lists.r-forge.r-project.org</a><br>
| <a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel</a><br>
<font color="#888888"><br>
--<br>
Dirk Eddelbuettel | <a href="mailto:edd@debian.org">edd@debian.org</a> | <a href="http://dirk.eddelbuettel.com" target="_blank">http://dirk.eddelbuettel.com</a><br>
</font></blockquote></div><br>