Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-05

Mac OS X : Revision 19889 not compiling under 10.4

5 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

Hi all,
I just grabbed the latest SVN - 19889 and a build of bigide is not working.
The error occuring is...

Free Pascal Compiler version 2.3.1 [2009/05/09] for powerpc Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Darwin for PowerPC
Compiling tachartlazaruspkg.pas
Compiling taseries.pas
Compiling tagraph.pas
tagraph.pas(1368,40) Error: range check error while evaluating constants tagraph.pas(1368,50) Error: range check error while evaluating constants tagraph.pas(1503) Fatal: There were 2 errors compiling module, stopping

This was a clean SVN update, so I don't think it is anything legacy on my machine.

Any suggestions?

Dominique.

Reply by email

Unknown author
to dmitry boyarintsev

As it was a clean SVN build, no, but I'm grabbing an overnight snapshot in the hope that it will work.

But will that allow me to cross-build the IDE for PowerPC as well, as I need to build a Universal Binary of my app?

I suppose I can just set the target up and that should just work for the app and then I can glue the 2 binaries together.

Dominique.

dmitry boyarintsev wrote
can you rebuild the Lazarus from IDE, excluding TAChartLazarusPkg

package?

Show quoted text 7 lines
thanks, dmitry _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Vincent Snijders
to Unknown author
Show quoted text 9 lines
As it was a clean SVN build, no, but I'm grabbing an overnight snapshot in the hope that it will work. But will that allow me to cross-build the IDE for PowerPC as well, as I need to build a Universal Binary of my app? I suppose I can just set the target up and that should just work for the app and then I can glue the 2 binaries together.

For what it is worth, the snapshot on powerpc-darwin build fine with fpc 2.2.4 after the latest changes of tachart. OTOH, the snapshots are not built with range and overflow checking and this error might occur only if you compile with these flags.

Vincent

Reply by email

Alexander Klenin
to Unknown author: I just grabbed the latest SVN - 19889 and a build of bigide is not working. The error…
Show quoted text 14 lines
Hi all, ?I just grabbed the latest SVN - 19889 and a build of bigide is not working. The error occuring is... Free Pascal Compiler version 2.3.1 [2009/05/09] for powerpc Copyright (c) 1993-2009 by Florian Klaempfl Target OS: Darwin for PowerPC Compiling tachartlazaruspkg.pas Compiling taseries.pas Compiling tagraph.pas tagraph.pas(1368,40) Error: range check error while evaluating constants tagraph.pas(1368,50) Error: range check error while evaluating constants tagraph.pas(1503) Fatal: There were 2 errors compiling module, stopping

The line in question contains
DoubleRect(Infinity, Infinity, NegInfinity, NegInfinity) call, so range check error makes some sense.
Still, I think it is a compiler bug, especially since an absurd attached patch fixes it.

If FPC developers think the range check is correct, then it should be disabled for this one line and returned to "previous" state afterwards --
is there a way to do this?

Cc'ing fpc-devel list.

Alexander S. Klenin -------------- next part -------------- A non-text attachment was scrubbed... Name: tachart_range_check.patch Type: text/x-diff Size: 555 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20090510/b90490b3/attachment-0003.bin>

Reply by email