<p>Am 23.05.2012 01:51 schrieb "Leonardo M. Ramé" <<a href="mailto:l.rame@griensu.com">l.rame@griensu.com</a>>:<br>
><br>
> On 2012-05-22 09:35:59 +0200, Sven Barth wrote:<br>
> > Am 22.05.2012 08:24, schrieb Sergei Gorelkin:<br>
> > >22.05.2012 0:51, Maxim Ganetsky пишет:<br>
> > >>21.05.2012 22:15, Leonardo M. Ramé написал:<br>
> > >>>On 2012-05-21 14:22:55 -0300, Leonardo M. Ramé wrote:<br>
> > >>>>On 2012-05-21 18:04:16 +0200, Mattias Gaertner wrote:<br>
> > >>>>>On Mon, 21 May 2012 11:10:48 -0300<br>
> > >>>>>Leonardo M. Ramé<<a href="mailto:l.rame@griensu.com">l.rame@griensu.com</a>> wrote:<br>
> > >>>>><br>
> > >>>>>>This is the output I'm getting after "make clean all" in 37377, fpc<br>
> > >>>>>>trunk was compiled a few minutes before:<br>
> > >>>>>><br>
> > >>>>>>Free Pascal Compiler version 2.7.1 [2012/05/21] for x86_64<br>
> > >>>>>>Copyright (c) 1993-2012 by Florian Klaempfl and others<br>
> > >>>>>>Target OS: Linux for x86-64<br>
> > >>>>>>Compiling lazcontrols.pas<br>
> > >>>>>>Compiling dividerbevel.pas<br>
> > >>>>>>Compiling extendednotebook.pas<br>
> > >>>>>>Compiling listfilteredit.pas<br>
> > >>>>>>Compiling treefilteredit.pas<br>
> > >>>>>>Fatal: Internal error 2011090501<br>
> > >>>>>>Fatal: Compilation aborted<br>
> > >>>>>>make[1]: *** [lazcontrols.ppu] Error 1<br>
> > >>>>>>make[1]: se sale del directorio<br>
> > >>>>>>«/home/leonardo/Desarrollo/lazarus/components/lazcontrols»<br>
> > >>>>>>make: *** [lazbuild] Error 2<br>
> > >>>>><br>
> > >>>>>Did you build clean?<br>
> > >>>>><br>
> > >>>>><br>
> > >>>><br>
> > >>>>I'm doing "make clean all", but it didn't work.<br>
> > >>>><br>
> > >>>>Now I'm deleting the whole lazarus-src directory and trying again.<br>
> > >>>><br>
> > >>><br>
> > >>>No, I've deleted everything, then "svn up" and "make clean all", but it<br>
> > >>>didn't worked.<br>
> > >>><br>
> > >>>Any hint?<br>
> > >><br>
> > >>Please create FPC bug report. It is a compiler bug.<br>
> > >><br>
> > >It is probably already reported, looks very much like this one:<br>
> > ><a href="http://bugs.freepascal.org/view.php?id=20947">http://bugs.freepascal.org/view.php?id=20947</a><br>
> ><br>
> > I knew that I've seen that error number somewhere already...<br>
> ><br>
> > @Leonardo: how did you compile your trunk compiler? Did you use a i386 based<br>
> > compiler to compile it? If so then please try the following as mentioned in<br>
> > my comment in the linked bug report ("$fpcdir" is the directory where the<br>
> > sourcecode of FPC is located):<br>
> ><br>
> > cd $fpcdir/rtl<br>
> > make clean all FPC=$fpcdir/compiler/ppcx64<br>
> > cd ../packages<br>
> > make clean all FPC=$fpcdir/compiler/ppcx64<br>
> > cd ..<br>
> > make install FPC=$fpcdir/compiler/ppcx64<br>
> > INSTALL_PREFIX=/whereever/you/want/it<br>
> ><br>
> > Regards,<br>
> > Sven<br>
> ><br>
><br>
> Thanks for pointing this out, indeed, I was using an i386 compiler from<br>
> x86_64. Now everything works as expected.</p>
<p>As I thought :)</p>
<p>Until I (or someone else) manages to fix this problem you need to keep in mind that you must not mix cross and native compiler for generics if the bitness is different (32-bit vs 64-bit).</p>
<p>Regards,<br>
Sven</p>