[Lazarus] Cannot build 37377

Sven Barth pascaldragon at googlemail.com
Wed May 23 06:34:22 CEST 2012


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

As I thought :)

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).

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120523/8e1394ba/attachment-0003.html>


More information about the Lazarus mailing list