Russ Whitaker wrote:
Could you please post the complete error message (only one if they're all the same)?
edited output to one msg:
TEST abso1.pas: /usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/libgpc.a(randfile.o): In function `do_seek': /usr/local/src/gcc-2.95.2/gcc/p/rts/randfile.c:327: the `llseek' function may be dangerous; use `lseek64' instead. OK
Thanks. I'll look into it. For a quick fix, you can try inserting the line: #undef HAVE_LLSEEK into rts/rts.h, after the line: #include "rts-config.h" This will disable 64 bit file access, until we can do this right. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html
Hi all I can't run the test suite as presented (under Mingw and Cygwin), because I keep getting an error "*.pas: no such file" or something like that. Of course I can compile the source files singly or run a "for" loop at the command line - but presumably, you want the test suite to run on all platforms ... Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) Author of: Chief's Installer Pro v5.22.1 for Win32 http://www.bigfoot.com/~African_Chief/chief32.htm Email: African_Chief@bigfoot.com
Some time ago, I wrote:
Russ Whitaker wrote:
Could you please post the complete error message (only one if they're all the same)?
edited output to one msg:
TEST abso1.pas: /usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/libgpc.a(randfile.o): In function `do_seek': /usr/local/src/gcc-2.95.2/gcc/p/rts/randfile.c:327: the `llseek' function may be dangerous; use `lseek64' instead. OK
Thanks. I'll look into it. For a quick fix, you can try inserting the line:
#undef HAVE_LLSEEK
into rts/rts.h, after the line:
#include "rts-config.h"
This will disable 64 bit file access, until we can do this right.
I think I've now found out how to do this right, and I've incorporated the necessary changes into the current code base. Could you (or anyone else) please check if it compiles now without the above work-around? Note: To actually access files > 2GB on Linux on a 32 bit processor, you need glibc 2.1.3 and a fairly recent development kernel (like 2.3.99 or 2.4-pre), but the linker warnings should now be gone on all systems. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html
On Wed, 13 Sep 2000, Frank Heckenbach wrote:
Some time ago, I wrote:
Russ Whitaker wrote:
Could you please post the complete error message (only one if they're all the same)?
edited output to one msg:
TEST abso1.pas: /usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/libgpc.a(randfile.o): In function `do_seek': /usr/local/src/gcc-2.95.2/gcc/p/rts/randfile.c:327: the `llseek' function may be dangerous; use `lseek64' instead. OK
I think I've now found out how to do this right, and I've incorporated the necessary changes into the current code base.
Could you (or anyone else) please check if it compiles now without the above work-around?
Note: To actually access files > 2GB on Linux on a 32 bit processor, you need glibc 2.1.3 and a fairly recent development kernel (like 2.3.99 or 2.4-pre), but the linker warnings should now be gone on all systems.
compiled gpc-20000913: sucess ! test results: tests 1278 passed 1271 skipped 2 fail 5 the ones that failed are: dialec3.pas; getopt1.pas; getopt2.pas; getopt3.pas; gpctest.pas that last one reported: Error in UnixTimeToTimeStamp Thanks, Russ
Russ Whitaker wrote:
compiled gpc-20000913: sucess !
test results: tests 1278 passed 1271 skipped 2 fail 5
Great!
the ones that failed are: dialec3.pas; getopt1.pas; getopt2.pas; getopt3.pas;
What's the errors here?
gpctest.pas
that last one reported: Error in UnixTimeToTimeStamp
I'm changing it to output more debugging information. When it's been uploaded (tonight or tomorrow), please run it again, and send me the output. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html
From owner-gpc@gnu.de Wed Sep 20 22:54:30 2000 Return-Path: <owner-gpc@gnu.de> Received: (qmail 4611 invoked by uid 28); 20 Sep 2000 22:54:29 -0000 Delivered-To: gpc@gerwinski.de Received: (qmail 4599 invoked by uid 10); 20 Sep 2000 22:54:07 -0000 Received: from goedel.fjf.gnu.de (goedel.fjf.gnu.de [10.1.6.1]) by goedel.fjf.gnu.de (8.8.8/8.8.8) with ESMTP id AAA24359 for <gpc@gnu.de>; Thu, 21 Sep 2000 00:55:26 +0200 Date: Thu, 21 Sep 2000 00:55:26 +0200 From: Frank Heckenbach <frank@g-n-u.de> Message-Id: <5B57DBC2.20000921005526.FOO-5F25.frank@g-n-u.de> X-Mailer: smtphack 0.3.5 by Jan Andres To: gpc@gnu.de Subject: Re: crtbegin.o References: <39C66767.F34DDF52@rademaker-42.myweb.nl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=iso-8859-1 Sender: owner-gpc@gnu.de Precedence: bulk
Huge Rademaker wrote:
This is the trouble I encounter with gpc: +++ bash-2.03# pc hello.p ld: cannot open crtbegin.o: No such file or directory bash-2.03# locate crtbegin.o /usr/lib/gcc-lib/i486-suse-linux/2.95.2/crtbegin.o bash-2.03# +++
How can I tell gpc to locate the requested file?
You can try symlinking it (and a few others), something like this: ln -s /usr/lib/gcc-lib/i486-suse-linux/2.95.2/* /usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/ (where the latter two components of the second path might need slight adjustment, depending on your installation). This will give errors for the files that are there in GPC's directory, but that's ok. Just ignore them. A better solution is being thought about... Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html
participants (3)
-
Frank Heckenbach -
Prof Abimbola A Olowofoyeku -
Russ Whitaker