Compiling FPC for SPARC

classic Classic list List threaded Threaded
54 messages Options
123
Reply | Threaded
Open this post in threaded view
|

Re: Compiling FPC for SPARC

Mark Morgan Lloyd-5
OK, 4x calls missing as below

1 1>markMLl@pye-dev-04:~/pascal/src/fpcsrc/rtl/linux/sparc$ diff -u sysnr.inc~
sysnr.inc
--- sysnr.inc~  2006-02-15 07:19:26.000000000 +0000
+++ sysnr.inc   2006-08-03 13:49:10.000000000 +0000
@@ -207,14 +207,14 @@
       syscall_nr_setpgid          = 185 ; // Common
 //       syscall_nr_pathconf      = 186    SunOS Specific
       syscall_nr_tkill            = 187 ; // SunOS: fpathconf
-//       syscall_nr_sysconf       = 188    SunOS Specific
+      syscall_nr_exit_group       = 188 ; // SunOS sysconf
       syscall_nr_uname            = 189 ; // Linux Specific
       syscall_nr_init_module      = 190 ; // Linux Specific
       syscall_nr_personality      = 191 ; // Linux Specific
 //       syscall_nr_prof          = 192    Linux Specific
-//       syscall_nr_break         = 193    Linux Specific
-//       syscall_nr_lock          = 194    Linux Specific
-//       syscall_nr_mpx           = 195    Linux Specific
+      syscall_nr_epoll_create     = 193 ; // Linux Specific - was break
+      syscall_nr_epoll_ctl        = 194 ; // Linux Specific - was lock
+      syscall_nr_epoll_wait       = 195 ; // Linux Specific - was mpx
 //       syscall_nr_ulimit        = 196    Linux Specific
       syscall_nr_getppid          = 197 ; // Linux Specific
       syscall_nr_sigaction        = 198 ; // Linux Specific

I think I've got those right, I was referring to
/usr/include/asm-sparc/unistd.h. Can't find them in the 2.4 kernel tree so I
assume they're 2.6-specific.


Compilation (make cycle) now progresses beyond that one and gets to this:

/home/markMLl/pascal/src/fpcsrc/compiler/ppc1 -Fi../inc -Fi../sparc -Fi../unix
-Fisparc -FE. -FU../../rtl/units/sparc-linux -dsparc -Us -Sg system.pp
Free Pascal Compiler version 2.0.4-rc2 [2006/08/03] for sparc
Copyright (c) 1993-2006 by Florian Klaempfl
Target OS: Linux for SPARC
Compiling system.pp
generic.inc(559,13) Warning: Mixing signed expressions and longwords gives a
64bit result
genmath.inc(286,9) Warning: unreachable code
genmath.inc(299,8) Warning: unreachable code
astrings.inc(157,5) Fatal: Internal error 200310092
astrings.inc(157,5) Fatal: Compilation aborted
make[5]: *** [system.ppu] Error 1
make[5]: Leaving directory `/home/markMLl/pascal/src/fpcsrc/rtl/linux'
make[4]: *** [linux_all] Error 2

As discussed earlier I was starting off with the released 2.0.0 compiler. Source
files from fpcbuild_2_0_4_rc2.zip downloaded about 24 hours ago- I've got
limited free bandwidth here.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Compiling FPC for SPARC

Jonas Maebe-2

On 3 aug 2006, at 16:10, Mark Morgan Lloyd wrote:

> As discussed earlier I was starting off with the released 2.0.0  
> compiler. Source
> files from fpcbuild_2_0_4_rc2.zip downloaded about 24 hours ago-  
> I've got
> limited free bandwidth here.

I can reproduce the problem under SPARC/Solaris. I'll try to get at  
least that one compiling (don't have access to a sparc/linux machine)  
and commit the needed patches.


Jonas
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Compiling FPC for SPARC

Mark Morgan Lloyd-5
Jonas Maebe wrote:

> I can reproduce the problem under SPARC/Solaris. I'll try to get at
> least that one compiling (don't have access to a sparc/linux machine)
> and commit the needed patches.

Thanks, every bit helps. I'm hoping to look at Solaris at some point but I've
only got v8 running here at present- I'm hoping there'll be a v10 with the new
machines.

Please could you let me know when/where the fixes are- I'll try and progress
some other work in the interim.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Compiling FPC for SPARC

Jonas Maebe-2

On 3 aug 2006, at 17:14, Mark Morgan Lloyd wrote:

> Thanks, every bit helps. I'm hoping to look at Solaris at some  
> point but I've
> only got v8 running here at present- I'm hoping there'll be a v10  
> with the new
> machines.

Don't bother with Solaris in 2.0.x, it won't work at all. None of the  
Solaris fixes from 2.1.1 have been merged (some date back to  
February). I've attached a patch which enables me to compile at least  
the rtl and the compiler (and fixing sparc actually made me discover  
a quite serious generic bug) for Sparc/Linux. I can't test whether  
the result actually runs though, since I don't have access to a Sparc/
Linux system.

The diff was taken from the root of the fpcsrc directory.


Jonas

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

sparc.patch (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Compiling FPC for SPARC

Jonas Maebe-2

On 3 aug 2006, at 19:03, Jonas Maebe wrote:

> on't bother with Solaris in 2.0.x, it won't work at all. None of  
> the Solaris fixes from 2.1.1 have been merged

On a positive note, Sparc/Solaris works fine in 2.1.1


Jonas
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Compiling FPC for SPARC

Mark Morgan Lloyd-5
Looking forward to getting that far :-)  I'm considering running up v8 in a
SPARCserver but right now I can do without the extra heat.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Compiling FPC for SPARC

Peter Vreman
In reply to this post by Jonas Maebe-2

>
>>on't bother with Solaris in 2.0.x, it won't work at all. None of
>>the Solaris fixes from 2.1.1 have been merged
>
>On a positive note, Sparc/Solaris works fine in 2.1.1

I tried to merge it in the past but aborted it. The Solaris RTL
changes had a too much conflicts to qualify for a merge to 2.0.x. The
sparc compiler codegenerator in 2.0.x and 2.1.1 are almost identical
so there is not much of a difference between 2.0.x and 2.1.1 for the
sparc. And therefor it is recommended to use 2.1.1.


Peter

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Compiling FPC for SPARC

Tomas Hajny
Peter Vreman wrote:

>>
>>>on't bother with Solaris in 2.0.x, it won't work at all. None of
>>>the Solaris fixes from 2.1.1 have been merged
>>
>>On a positive note, Sparc/Solaris works fine in 2.1.1
>
> I tried to merge it in the past but aborted it. The Solaris RTL
> changes had a too much conflicts to qualify for a merge to 2.0.x. The
> sparc compiler codegenerator in 2.0.x and 2.1.1 are almost identical
> so there is not much of a difference between 2.0.x and 2.1.1 for the
> sparc. And therefor it is recommended to use 2.1.1.

Right. On the other hand, the start would be probably easier if there's at
least 2.0.4 sparc-linux available as starting compiler for further working
with 2.1.1 (considering the fact that the existing 2.0.0 binary apparently
fails with IE when building the current sources).

Tomas

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Compiling FPC for SPARC

Florian Klämpfl
Tomas Hajny wrote:

> Peter Vreman wrote:
>>>> on't bother with Solaris in 2.0.x, it won't work at all. None of
>>>> the Solaris fixes from 2.1.1 have been merged
>>> On a positive note, Sparc/Solaris works fine in 2.1.1
>> I tried to merge it in the past but aborted it. The Solaris RTL
>> changes had a too much conflicts to qualify for a merge to 2.0.x. The
>> sparc compiler codegenerator in 2.0.x and 2.1.1 are almost identical
>> so there is not much of a difference between 2.0.x and 2.1.1 for the
>> sparc. And therefor it is recommended to use 2.1.1.
>
> Right. On the other hand, the start would be probably easier if there's at
> least 2.0.4 sparc-linux available as starting compiler for further working
> with 2.1.1 (considering the fact that the existing 2.0.0 binary apparently
> fails with IE when building the current sources).

Cross compiling is easy, you need only to rip the following files from
the used solaris:
libaio.so
libc.so
libelf.so
libm.so
libmd5.so
librt.so
libucb.so
and put them in fpc/compiler, after that a cross build should work.
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Compiling FPC for SPARC

Mark Morgan Lloyd-5
In reply to this post by Mark Morgan Lloyd-5
Mark Morgan Lloyd wrote:

> Compilation (make cycle) now progresses beyond that one and gets to this:
>
> /home/markMLl/pascal/src/fpcsrc/compiler/ppc1 -Fi../inc -Fi../sparc -Fi../unix
> -Fisparc -FE. -FU../../rtl/units/sparc-linux -dsparc -Us -Sg system.pp
> Free Pascal Compiler version 2.0.4-rc2 [2006/08/03] for sparc
> Copyright (c) 1993-2006 by Florian Klaempfl
> Target OS: Linux for SPARC
> Compiling system.pp
> generic.inc(559,13) Warning: Mixing signed expressions and longwords gives a
> 64bit result
> genmath.inc(286,9) Warning: unreachable code
> genmath.inc(299,8) Warning: unreachable code
> astrings.inc(157,5) Fatal: Internal error 200310092
> astrings.inc(157,5) Fatal: Compilation aborted
> make[5]: *** [system.ppu] Error 1
> make[5]: Leaving directory `/home/markMLl/pascal/src/fpcsrc/rtl/linux'
> make[4]: *** [linux_all] Error 2
>
> As discussed earlier I was starting off with the released 2.0.0 compiler. Source
> files from fpcbuild_2_0_4_rc2.zip downloaded about 24 hours ago- I've got
> limited free bandwidth here.

Out of curiosity I've built a 2.0.2 cross-compiler on an i386 and transferred it
to a SPARC system. This builds hello.pp OK, but applying it to the same 2.0.4
source (or, for that matter, to 2.0.2 source) gives me a slew of exceptions
similar to:

/usr/local/fpc-2.0.2x/bin/ppcsparc -Fi../inc -Fi../sparc -Fi../unix -Fisparc
-FE. -FU../../rtl/units/sparc-linux -dsparc -Us -Sg system.pp
Free Pascal Compiler version 2.0.2 [2006/08/05] for sparc
Copyright (c) 1993-2005 by Florian Klaempfl
Target OS: Linux for SPARC
Compiling system.pp
sparc.inc(60,3)  msg nr 1018
An unhandled exception occurred at $0002EB9C :
EInvalidPointer : Invalid pointer operation
  $0002EB9C
  $0002C84C
  $00072190
  $0004A4C0
  $000407DC
  $000103B0
An unhandled exception occurred at $00000030 :
An unhandled exception occurred at $000FF00B :
An unhandled exception occurred at $000FF003 :
An unhandled exception occurred at $000FF003 :
..

So the current situation appears to be (working from memory) that 2.0.0 will
compile itself, bombs compiling 2.0.2, and gives a sensible error trying to
compile 2.0.4 (Jonas?); 2.0.2 bombs trying to compile either 2.0.2 or 2.0.4
sources.

I guess that's the last time I look at 2.0.2- it's obviously got problems.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Compiling FPC for SPARC

Jonas Maebe-2

On 05 Aug 2006, at 23:26, Mark Morgan Lloyd wrote:

> I guess that's the last time I look at 2.0.2- it's obviously got  
> problems.

I would suggest to use 2.0.4-rc2 with the patch I posted to the list.  
It should work fine.


Jonas
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Compiling FPC for SPARC

Mark Morgan Lloyd-5
Jonas Maebe wrote:

> I would suggest to use 2.0.4-rc2 with the patch I posted to the list.
> It should work fine.

Drat- sorry, the patch didn't get here (filters on ML are more than a little
agressive). Any chance of a copy to either markMLl.in or markMLl.fpc2 .AT.
telemetry .DOT. co.uk?

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Compiling FPC for SPARC

Jonas Maebe-2

On 05 Aug 2006, at 23:42, Mark Morgan Lloyd wrote:

> Drat- sorry, the patch didn't get here (filters on ML are more than  
> a little
> agressive). Any chance of a copy to either markMLl.in or  
> markMLl.fpc2 .AT.
> telemetry .DOT. co.uk?

Sent.


Jonas
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Compiling FPC for SPARC

Mark Morgan Lloyd-5
Jonas Maebe wrote:

> Sent.

Thanks, got it. I've just added another Perl rule to the filters to hopefully
allow patches while rejecting any other multiparts.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Compiling FPC for SPARC

Tomas Hajny
In reply to this post by Florian Klämpfl
On 5 Aug 06, at 21:03, Florian Klaempfl wrote:

> Tomas Hajny wrote:
> > Peter Vreman wrote:
> >>>> on't bother with Solaris in 2.0.x, it won't work at all. None of
> >>>> the Solaris fixes from 2.1.1 have been merged
> >>> On a positive note, Sparc/Solaris works fine in 2.1.1
> >> I tried to merge it in the past but aborted it. The Solaris RTL
> >> changes had a too much conflicts to qualify for a merge to 2.0.x. The
> >> sparc compiler codegenerator in 2.0.x and 2.1.1 are almost identical
> >> so there is not much of a difference between 2.0.x and 2.1.1 for the
> >> sparc. And therefor it is recommended to use 2.1.1.
> >
> > Right. On the other hand, the start would be probably easier if there's at
> > least 2.0.4 sparc-linux available as starting compiler for further working
> > with 2.1.1 (considering the fact that the existing 2.0.0 binary apparently
> > fails with IE when building the current sources).
>
> Cross compiling is easy, you need only to rip the following files from
> the used solaris:
> libaio.so
> libc.so
> libelf.so
> libm.so
> libmd5.so
> librt.so
> libucb.so
> and put them in fpc/compiler, after that a cross build should work.

That still requires at least some compiler for
SPARC processor available (e.g. sparc-linux) -
that's why I suggested that having 2.0.4 sparc-
linux would be probably useful (although I
understand that one can build a cross-compiler,
but nevertheless).

BTW, is the list above available somewhere in
Wiki or so?

Tomas
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Compiling FPC for SPARC

Florian Klämpfl
Tomas Hajny wrote:

> On 5 Aug 06, at 21:03, Florian Klaempfl wrote:
>> Tomas Hajny wrote:
>>> Peter Vreman wrote:
>>>>>> on't bother with Solaris in 2.0.x, it won't work at all. None of
>>>>>> the Solaris fixes from 2.1.1 have been merged
>>>>> On a positive note, Sparc/Solaris works fine in 2.1.1
>>>> I tried to merge it in the past but aborted it. The Solaris RTL
>>>> changes had a too much conflicts to qualify for a merge to 2.0.x. The
>>>> sparc compiler codegenerator in 2.0.x and 2.1.1 are almost identical
>>>> so there is not much of a difference between 2.0.x and 2.1.1 for the
>>>> sparc. And therefor it is recommended to use 2.1.1.
>>> Right. On the other hand, the start would be probably easier if there's at
>>> least 2.0.4 sparc-linux available as starting compiler for further working
>>> with 2.1.1 (considering the fact that the existing 2.0.0 binary apparently
>>> fails with IE when building the current sources).
>> Cross compiling is easy, you need only to rip the following files from
>> the used solaris:
>> libaio.so
>> libc.so
>> libelf.so
>> libm.so
>> libmd5.so
>> librt.so
>> libucb.so
>> and put them in fpc/compiler, after that a cross build should work.
>
> That still requires at least some compiler for
> SPARC processor available (e.g. sparc-linux) -
> that's why I suggested that having 2.0.4 sparc-
> linux would be probably useful (although I
> understand that one can build a cross-compiler,
> but nevertheless).

Why? Get sparc-solaris binutils, put these libs in the compiler dir and do
cd fpc; make clean all OS_TARGET=solaris CPU_TARGET=sparc

[...]
make[3]: Leaving directory `C:/fpc/utils/fpdoc'
make[2]: Leaving directory `C:/fpc/utils'
make[1]: Leaving directory `C:/fpc'

echo Build > build-stamp.sparc-solaris

and get a native compiler in fpc/compiler:

C:\fpc>dir compiler\ppcsparc
 Datenträger in Laufwerk C: ist 6Y120PO PRI
 Volumeseriennummer: 12E3-1449

 Verzeichnis von C:\fpc\compiler

06.08.2006  10:35         2.036.816 ppcsparc
               1 Datei(en)      2.036.816 Bytes
               0 Verzeichnis(se),  1.752.629.248 Bytes frei

This was on win32.

>
> BTW, is the list above available somewhere in
> Wiki or so?
>

Hmm, don't know :)
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Compiling for SPARC

Mark Morgan Lloyd-5
In reply to this post by Jonas Maebe-2
OK, here's the current situation. Working on an SS-20 with Debian 3.1 "Sarge"
(kernel 2.4.27 SMP) I can do a "make cycle" but I can't do a "make zipinstall".

Specifically, make zipinstall grinds to a halt usually while processing
gtkglarea.pp, and sits there with ppcsparc taking around 6% CPU. I've run this
three times now leaving it for up to 20 hours, and in general it behaves the
same way.

There's a few more things I want to try at this end including moving to a
different machine in case it's some operating system peculiarity. Obviously
another thing I need to do is work through the development docs again and
experiment with other make targets.

Whatever, any suggestions as to how best to proceed would be welcome.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Compiling for SPARC

Jonas Maebe-2

On 8 aug 2006, at 12:48, Mark Morgan Lloyd wrote:

> OK, here's the current situation. Working on an SS-20 with Debian  
> 3.1 "Sarge"
> (kernel 2.4.27 SMP) I can do a "make cycle" but I can't do a "make  
> zipinstall".
>
> Specifically, make zipinstall grinds to a halt usually while  
> processing
> gtkglarea.pp, and sits there with ppcsparc taking around 6% CPU.  
> I've run this
> three times now leaving it for up to 20 hours, and in general it  
> behaves the
> same way.

I can't reproduce this with either cross compiling from ppc to sparc  
with 2.0.4, or with natively compiling under solaris/sparc with  
2.1.1. Can you compile your compiler with debug info (add OPT="-O- -
g" to your make command) and attach with gdb to see what the compiler  
is doing?

> There's a few more things I want to try at this end including  
> moving to a
> different machine in case it's some operating system peculiarity.  
> Obviously
> another thing I need to do is work through the development docs  
> again and
> experiment with other make targets.

Normally you should first do a "make all" before you do a "make  
zipinstall", but this shouldn't make the compiler hang.


Jonas


_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Compiling for SPARC

Mark Morgan Lloyd-5
Jonas Maebe wrote:

> I can't reproduce this with either cross compiling from ppc to sparc
> with 2.0.4, or with natively compiling under solaris/sparc with
> 2.1.1. Can you compile your compiler with debug info (add OPT="-O- -
> g" to your make command) and attach with gdb to see what the compiler
> is doing?

I might need a hand with that- it's a level of hackery that I've not previously
attempted.

However what I'm currently looking at is that make output gets as far as telling
me that ppcsparc is processing gtkglarea.pp and announcing that ar is creating
../libpgtkglarea.a. Using top and ps faux I can see that ppcsparc is sitting
there forking sh which execs ar, ar and sh terminate (result unknown) and a new
copy of sh is forked... it's been doing that for a couple of hours. Looking
where the action is I can see that libgtkglarea.a is 8 bytes long and a couple
of hours old, there's a gtkglarea.sl directory containing a number of .o files
all of which again appear to be a couple of hours old.

I'm going to back off and let Debian do an update in case anything is known to
be broken, then I'll start off by looking at some of the other make targets.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Compiling for SPARC

Jonas Maebe-2

On 8 aug 2006, at 18:52, Mark Morgan Lloyd wrote:

>> I can't reproduce this with either cross compiling from ppc to sparc
>> with 2.0.4, or with natively compiling under solaris/sparc with
>> 2.1.1. Can you compile your compiler with debug info (add OPT="-O- -
>> g" to your make command) and attach with gdb to see what the compiler
>> is doing?
>
> I might need a hand with that- it's a level of hackery that I've  
> not previously
> attempted.

Given the info below, it's not needed.

> However what I'm currently looking at is that make output gets as  
> far as telling
> me that ppcsparc is processing gtkglarea.pp and announcing that ar  
> is creating
> ../libpgtkglarea.a. Using top and ps faux I can see that ppcsparc  
> is sitting
> there forking sh which execs ar, ar and sh terminate (result  
> unknown) and a new
> copy of sh is forked... it's been doing that for a couple of hours.  
> Looking
> where the action is I can see that libgtkglarea.a is 8 bytes long  
> and a couple
> of hours old, there's a gtkglarea.sl directory containing a number  
> of .o files
> all of which again appear to be a couple of hours old.

Very strange. smartlinking can be slow sometimes, but gtkglarea only  
results in 12 object files... Can you capture some command lines of  
ar commands that are executed?


Jonas


_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
123