Sign in Join

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

Mailing lists / fpc-devel / 2007-12

Minor problem building fpc2.3.1on OS/2

8 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Dave Parsons

Hi,

I've just tried building fpc-2.3.1 from svn using fpc-2.0.4 and received the following errors.

classes.inc(1131,3) Error: Procedure type INLINE not supported
classes.inc(1139,3) Error: Procedure type INLINE not supported
classes.inc(1147,3) Error: Procedure type INLINE not supported
classes.inc(1445,3) Error: Procedure type INLINE not supported
classes.inc(1453,3) Error: Procedure type INLINE not supported
classes.inc(1461,3) Error: Procedure type INLINE not supported
classes.pp(51) Fatal: There were 6 errors compiling module, stopping

Commenting out the inline attributes allowed the build to complete successfully.

Presumably these inline attributes ought to be conditional until support is available.

Thanks,
Dave

Reply by email

Vincent Snijders
to Dave Parsons
Dave Parsons wrote 18 lines
Hi, I've just tried building fpc-2.3.1 from svn using fpc-2.0.4 and received the following errors. classes.inc(1131,3) Error: Procedure type INLINE not supported classes.inc(1139,3) Error: Procedure type INLINE not supported classes.inc(1147,3) Error: Procedure type INLINE not supported classes.inc(1445,3) Error: Procedure type INLINE not supported classes.inc(1453,3) Error: Procedure type INLINE not supported classes.inc(1461,3) Error: Procedure type INLINE not supported classes.pp(51) Fatal: There were 6 errors compiling module, stopping Commenting out the inline attributes allowed the build to complete successfully. Presumably these inline attributes ought to be conditional until support is available.

Can you start with fpc-2.2.0?

Vincent

Reply by email

Dave Parsons
to Vincent Snijders
Vincent Snijders wrote 8 lines
Dave Parsons schreef: > Hi, > > I've just tried building fpc-2.3.1 from svn using fpc-2.0.4 and > received the following errors. Can you start with fpc-2.2.0?

No, according to the FPC download page 2.0.4 is the latest. I've been trying to build from svn for a while now but it didn't build until about 2 months ago & that was 2.3.1.

Dave

Reply by email

Tomas Hajny
to Dave Parsons
Dave Parsons wrote
On Fri, 07 Dec 2007 12:12:53 +0100, Vincent Snijders wrote: > Dave Parsons schreef:

Hi,

Show quoted text 8 lines
> > I've just tried building fpc-2.3.1 from svn using fpc-2.0.4 and > > received the following errors. > Can you start with fpc-2.2.0? No, according to the FPC download page 2.0.4 is the latest. I've been trying to build from svn for a while now but it didn't build until about 2 months ago & that was 2.3.1.

Correct. Nevertheless, there are binary snapshots available for both 2.2.1 and 2.3.1; building with either of them should probably work (2.2.1 is preferred). There's still at least one major outstanding issue - FP IDE (and other FV based application) crash immediately on startup while calling a function in VIOCALLS.DLL. My guess is somehow messed stack or something else triggering troubles when calling thunked 16-bit APIs, but I didn't manage to debug this issue yet (mostly due to missing time :-( ).

Regards

Tomas

Reply by email

Dave Parsons
to Tomas Hajny
Tomas Hajny wrote 19 lines
Dave Parsons wrote: > On Fri, 07 Dec 2007 12:12:53 +0100, Vincent Snijders wrote: >> Dave Parsons schreef: Hi, >> > I've just tried building fpc-2.3.1 from svn using fpc-2.0.4 and >> > received the following errors. > >> Can you start with fpc-2.2.0? > > No, according to the FPC download page 2.0.4 is the latest. > I've been trying to build from svn for a while now but it > didn't build until about 2 months ago & that was 2.3.1. Correct. Nevertheless, there are binary snapshots available for both 2.2.1 and 2.3.1; building with either of them should probably work (2.2.1 is preferred).

Well, I found and tried the files from here:-
ftp://ftp.freepascal.org/pub/fpc/snapshot/v22/i386-os2

and now have another problem:-
< a couple of hundred similar lines cut >
..\..\rtl\units\os2\system.s:1075: Error: no such 386 instruction: `movups' ..\..\rtl\units\os2\system.s:1975: Error: no such 386 instruction: `ldmxcsr' ..\..\rtl\units\os2\system.s:2022: Error: no such 386 instruction: `movaps' ..\..\rtl\units\os2\system.s:4418: Error: no such 386 instruction: `ldmxcsr' ..\..\rtl\units\os2\system.s:4429: Error: no such 386 instruction: `stmxcsr' system.pas(1208) Error: Error while assembling exitcode 1

So far I've tried regenerating the makefiles and changing fpc.cfg but no change. I noticed a difference in the -O options but it seems to ignore any changes I make in fpc.cfg, or they are overridden later. For 2.0.4 I have -OG2p3 but with 2.2.1 I have only -O2.

Any ideas?

Dave

Reply by email

Dave Parsons

I sent this yesterday but it still hasn't shown up here yet so I'll try again. Apologies if anyone receives it twice. Dave

Tomas Hajny wrote 19 lines
Dave Parsons wrote: > On Fri, 07 Dec 2007 12:12:53 +0100, Vincent Snijders wrote: >> Dave Parsons schreef: Hi, >> > I've just tried building fpc-2.3.1 from svn using fpc-2.0.4 and >> > received the following errors. > >> Can you start with fpc-2.2.0? > > No, according to the FPC download page 2.0.4 is the latest. > I've been trying to build from svn for a while now but it > didn't build until about 2 months ago & that was 2.3.1. Correct. Nevertheless, there are binary snapshots available for both 2.2.1 and 2.3.1; building with either of them should probably work (2.2.1 is preferred).

Well, I found and tried the files from here:-
ftp://ftp.freepascal.org/pub/fpc/snapshot/v22/i386-os2

and now have another problem:-
< a couple of hundred similar lines cut >
..\..\rtl\units\os2\system.s:1075: Error: no such 386 instruction: `movups' ..\..\rtl\units\os2\system.s:1975: Error: no such 386 instruction: `ldmxcsr' ..\..\rtl\units\os2\system.s:2022: Error: no such 386 instruction: `movaps' ..\..\rtl\units\os2\system.s:4418: Error: no such 386 instruction: `ldmxcsr' ..\..\rtl\units\os2\system.s:4429: Error: no such 386 instruction: `stmxcsr' system.pas(1208) Error: Error while assembling exitcode 1

So far I've tried regenerating the makefiles and changing fpc.cfg but no change. I noticed a difference in the -O options but it seems to ignore any changes I make in fpc.cfg, or they are overridden later. For 2.0.4 I have -OG2p3 but with 2.2.1 I have only -O2.

Any ideas?

Dave

Reply by email

Tomas Hajny
to Dave Parsons: Well, I found and tried the files from here:-…
Dave Parsons wrote 40 lines
On Fri, 7 Dec 2007 19:55:12 +0100 (CET), Tomas Hajny wrote: > Dave Parsons wrote: > > On Fri, 07 Dec 2007 12:12:53 +0100, Vincent Snijders wrote: > >> Dave Parsons schreef: > > > Hi, > > >> > I've just tried building fpc-2.3.1 from svn using fpc-2.0.4 and > >> > received the following errors. > > > >> Can you start with fpc-2.2.0? > > > > No, according to the FPC download page 2.0.4 is the latest. > > I've been trying to build from svn for a while now but it > > didn't build until about 2 months ago & that was 2.3.1. > > Correct. Nevertheless, there are binary snapshots available for both 2.2.1 > and 2.3.1; building with either of them should probably work (2.2.1 is > preferred). Well, I found and tried the files from here:- ftp://ftp.freepascal.org/pub/fpc/snapshot/v22/i386-os2 and now have another problem:- < a couple of hundred similar lines cut > ..\..\rtl\units\os2\system.s:1075: Error: no such 386 instruction: `movups' ..\..\rtl\units\os2\system.s:1975: Error: no such 386 instruction: `ldmxcsr' ..\..\rtl\units\os2\system.s:2022: Error: no such 386 instruction: `movaps' ..\..\rtl\units\os2\system.s:4418: Error: no such 386 instruction: `ldmxcsr' ..\..\rtl\units\os2\system.s:4429: Error: no such 386 instruction: `stmxcsr' system.pas(1208) Error: Error while assembling exitcode 1 So far I've tried regenerating the makefiles and changing fpc.cfg but no change. I noticed a difference in the -O options but it seems to ignore any changes I make in fpc.cfg, or they are overridden later. For 2.0.4 I have -OG2p3 but with 2.2.1 I have only -O2. Any ideas?

Yes, this looks like a too old version of as.exe.
What does "as --version" report for you? My
installation says "GNU assembler 2.14 20030612
(Innotek Build 2004-02-23 14:15)". I believe that
this version was already distributed with FPC
2.0.4 - you can download it from
ftp://ftp.freepascal.org/pub/fpc/dist/i386-os2-
2.0.4/separate/asldos2.zip. Obviously, you should
make sure your PATH doesn't contain references to
other versions of as.exe, or you should set
explicit path to the right version using -FD in
your fpc.cfg.

Tomas

Reply by email

Dave Parsons
Tomas Hajny wrote 7 lines
Yes, this looks like a too old version of as.exe. What does "as --version" report for you? My installation says "GNU assembler 2.14 20030612 (Innotek Build 2004-02-23 14:15)". I believe that this version was already distributed with FPC 2.0.4

Ah thanks, that would explain it. I had missed that 2.0.4 included as.exe but the snapshot does not. As a result it defaulted to 2.6 from EMX 9d.

I should have checked the obvious first! Works now.

Cheers,
Dave

Reply by email