> > It is a FPC/FCL/LCL/Lazarus bug, but mostly fpc.
>
> I don't use Lazarus - ironically, I ran into this bug while
> trying to recompile a program that interfaces FPC with NEdit.
> It doesn't use Lazarus or GTK, but it uses popen(F, 'ppc386 -iV', 'R')
> to check the compiler version. As a temp
> It is a FPC/FCL/LCL/Lazarus bug, but mostly fpc.
I don't use Lazarus - ironically, I ran into this bug while
trying to recompile a program that interfaces FPC with NEdit.
It doesn't use Lazarus or GTK, but it uses popen(F, 'ppc386 -iV', 'R')
to check the compiler version. As a temporary workar
> > This is the culprit.
>
> On my system (SuSE 7.1) I have /etc/localtime:
> symbolic link to /usr/share/zoneinfo/CST6CDT
>
> - but I can't find a file named "timezone" anywhere.
It is a FPC/FCL/LCL/Lazarus bug, but mostly fpc.
I've to talk to Peter first before fixing this.
___
> This is the culprit.
> People that have this file don't have the problem.
Yes, that's the problem -
open("/etc/timezone", O_RDONLY) = -1 ENOENT
If I create an empty file named /etc/timezone
the program still fails:
open("/usr/share/zoneinfo/localtime", O_RDONLY) = -1 ENOENT
If
Marco van de Voort wrote:
> > open("/etc/timezone", O_RDONLY) = 3
>
> This is the culprit. People that have this file don't have the problem.
> If this one goes wrong, the errno value remains there, and the next
> decision that bases itself on linuxerror goes wrong.
Confirmed. Removing /et
[ Charset ISO-8859-1 unsupported, converting... ]
> Marco van de Voort wrote:
> > - Do an strace, and see if there is a function that fails.
>
> Everything seems OK.
>
> $ strace pipetest
> execve("/home/plc/Pascal/test1.9/pipetest", ["pipetest"], [/* 63 vars */]) = 0
> sigaction(SIGFPE, {0x805a9
Marco van de Voort wrote:
> - Do an strace, and see if there is a function that fails.
Everything seems OK.
$ strace pipetest
execve("/home/plc/Pascal/test1.9/pipetest", ["pipetest"], [/* 63 vars */]) = 0
sigaction(SIGFPE, {0x805a9d4, [], 0}, {SIG_DFL}, 0x40054d58) = 0
sigaction(SIGSEGV, {0x805a9
> > pipi, pipo: text;
> > begin
> > AssignPipe(pipi, pipo);
> > perror('AssignPipe', LinuxError);
> > end.
>
> I've tried it, with fpc 1.9.0 (binary rpm downloaded from sf).
>
> $ fpc pipetest.pp
> Hint: End of reading config file /etc/fpc.cfg
> Free Pascal Compiler version 1.9.0 [2003/11/0
Jeff Pohlmeyer wrote:
> Could someone else please try this with the Linux 1.9.0 compiler,
> and let me know the results ?
>
>
> program pipetest;
> uses errors, unix;
> var
> pipi, pipo: text;
> begin
> AssignPipe(pipi, pipo);
> perror('AssignPipe', LinuxError);
> end.
I've tried it, with fp
GongYu wrote:
> Jeff Pohlmeyer:
> I do not try your sample(I remove it and install 1.0.10),
> but the lazarus IDE on my pc always show the same error("can not create pipe")
> with FPC 1.9.0 Compiler!
This won't help us to improve FPC...
___
fpc-devel
Jeff Pohlmeyer:
I do not try your sample(I remove it and install 1.0.10),
but the lazarus IDE on my pc always show the same error("can not create pipe")
with FPC 1.9.0 Compiler!
>> > Did you try the example I posted?
>
>> Yes, and it runs fine.
>> Peter
>
>
>hmmm...
> I have tried everything
> > Did you try the example I posted?
> Yes, and it runs fine.
> Peter
hmmm...
I have tried everything you suggested ( and everything else I can think of )
but I still can't get it to work.
Could someone else please try this with the Linux 1.9.0 compiler,
and let me know the results ?
12 matches
Mail list logo