I have put a gpc snapshot on my GPC web page http://www.math.uni.wroc.pl/~hebisch/gpc
This is my (unofficial) "stable snapshot": I have included Delphi and Mac objects patch and collected fixes (most fixes appeared on the mailing list). On i386 Linux using gcc-3.4.4 as a backend it is supposed to build without problems and pass all the tests. On 64-bit targets there are still multiple test failures (19 on my Amd64).
I tried to be conservative: new features are all related to Delphi classes and Mac objects. Also, I postponed fixing some problems where immediate fix was too risky.
I did routine testing ot this snapshot and I am not aware of any problem not present in earlier gpc versions. However, it is up to you to decide how good this snaphot is.
Why this shapshot? The last official gpc release was 7 months ago. There were more then dozen of fixes posted on the mailing list. I would like to reduce resultiong confusion collecting all the fixes together. Since some fixes are to backend diffs and another one renames a file it somewhat inconvenient to have the fixes as a patch, so I created a new tarball.
More detailed locations: the tarball:
http://www.math.uni.wroc.pl/~hebisch/gpc/gpc-20051104.tar.bz2
Minimal diff (does not include generated files):
http://www.math.uni.wroc.pl/~hebisch/gpc/curr4.diff.gz
News file (includes older news too):
http://www.math.uni.wroc.pl/~hebisch/gpc/NEWS-20051104
List of fixed bugs:
http://www.math.uni.wroc.pl/~hebisch/gpc/Fixed-20051104
Enjoy
On 4-nov-05, at 22:38, Waldek Hebisch wrote:
I have put a gpc snapshot on my GPC web page http://www.math.uni.wroc.pl/~hebisch/gpc
Thanks for the snapshot !
On Mac OS X 10.3, there were no problems building and installing. Also, the testsuite looks good.
[G5:gcc/p/test] adriaan% make EXTRA_PFLAGS=--longjmp-all-nonlocal-labels rm -f *.dat *.o *.s *.i *.gpi *.gpd *.gpc core a.out stderr.out *.exe testmake.tmp dummy.c dummy.pas dummy.out diff_cr*.tmp fixcr fixcr.exe rm -f todo/a.out todo/*.exe todo/*.o todo/*.s todo/*.i todo/*.gpi todo/*.gpd todo/core GP= PC="gpc" PFLAGS=" --autobuild -g -O3 -W -Wall -Wno-unused --longjmp-all-nonlocal-labels " PFLAGS_NO_PATHS="-g -O3 -W -Wall -Wno-unused --longjmp-all-nonlocal-labels " SRCDIR="." TEST_MAKE_FLAG=test-make-flag "./test_run" "*.pas" | tee test_log | "./test_sum" -d Test Run By adriaan on 2005-11-05 01:08:29 Native configuration is powerpc-apple-darwin7 (G5.local)
=== gpc tests ===
Running target any Running testsuite ...
UNSUPPORTED: agettext2test.pas UNSUPPORTED: agettexttest.pas UNSUPPORTED: aregextest.pas UNSUPPORTED: asmtest.pas UNSUPPORTED: fjf165a.pas FAIL: fjf998r.pas UNSUPPORTED: gmptest.pas UNSUPPORTED: longr2.pas FAIL: systemtest.pas
=== gpc Summary ===
# of tests 4965 # of expected passes 4956 # of unexpected failures 2 # of unsupported tests 7
gpc version 20051104, based on gcc-3.4.4
On OS X, I am adding the following patch.
--- gpc-options.h.orig Tue Oct 25 04:36:18 2005 +++ gpc-options.h Sat Nov 5 01:50:39 2005 @@ -85,6 +85,9 @@ "-fno-pedantic", "-ftyped-address", "-fassertions", + #if defined (__MACH__) && defined (__APPLE__) && defined (__POWERPC__) + "-flongjmp-all-nonlocal-labels", + #endif "-Wwarnings", "-Wimplicit-abstract", "-Winherited-abstract",
Regards,
Adriaan van Os
Adriaan van Os wrote:
On OS X, I am adding the following patch.
--- gpc-options.h.orig Tue Oct 25 04:36:18 2005 +++ gpc-options.h Sat Nov 5 01:50:39 2005 @@ -85,6 +85,9 @@ "-fno-pedantic", "-ftyped-address", "-fassertions",
- #if defined (__MACH__) && defined (__APPLE__) && defined (__POWERPC__)
- "-flongjmp-all-nonlocal-labels",
- #endif "-Wwarnings", "-Wimplicit-abstract", "-Winherited-abstract",
This patch tests if the compiler runs on OS X. I think that the correct way is to test if compiler generates code for OS X:
--- gpc-options.h.orig 2005-11-12 13:21:59.936868328 +0100 +++ gpc-options.h 2005-11-12 13:29:38.371175720 +0100 @@ -85,6 +85,11 @@ "-fno-pedantic", "-ftyped-address", "-fassertions", +#ifdef TARGET_POWERPC +#if TARGET_MACHO + "-flongjmp-all-nonlocal-labels", +#endif +#endif "-Wwarnings", "-Wimplicit-abstract", "-Winherited-abstract",
Waldek Hebisch wrote:
Adriaan van Os wrote:
On OS X, I am adding the following patch.
--- gpc-options.h.orig Tue Oct 25 04:36:18 2005 +++ gpc-options.h Sat Nov 5 01:50:39 2005 @@ -85,6 +85,9 @@ "-fno-pedantic", "-ftyped-address", "-fassertions",
- #if defined (__MACH__) && defined (__APPLE__) && defined
(__POWERPC__)
- "-flongjmp-all-nonlocal-labels",
- #endif "-Wwarnings", "-Wimplicit-abstract", "-Winherited-abstract",
This patch tests if the compiler runs on OS X. I think that the correct way is to test if compiler generates code for OS X:
--- gpc-options.h.orig 2005-11-12 13:21:59.936868328 +0100 +++ gpc-options.h 2005-11-12 13:29:38.371175720 +0100 @@ -85,6 +85,11 @@ "-fno-pedantic", "-ftyped-address", "-fassertions", +#ifdef TARGET_POWERPC +#if TARGET_MACHO
- "-flongjmp-all-nonlocal-labels",
+#endif +#endif "-Wwarnings", "-Wimplicit-abstract", "-Winherited-abstract",
OK, thanks for the correct patch.
Regards,
Adriaan van Os
On 4 Nov 2005 at 22:38, Waldek Hebisch wrote:
I have put a gpc snapshot on my GPC web page http://www.math.uni.wroc.pl/~hebisch/gpc
This is my (unofficial) "stable snapshot": I have included Delphi and Mac objects patch and collected fixes (most fixes appeared on the mailing list). On i386 Linux using gcc-3.4.4 as a backend it is supposed to build without problems and pass all the tests. On 64-bit targets there are still multiple test failures (19 on my Amd64).
[...]
Passes all tests under Mingw (gcc-3.2.3 backend), except this:
TEST fjf1044s.pas: ./fjf1044s.pas: In procedure `p': ./fjf1044s.pas:36: Internal compiler error in expand_call, at calls.c:3078 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://www.gnu-pascal.de/todo.html for instructions.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/
Prof A Olowofoyeku (The African Chief) a écrit:
On 4 Nov 2005 at 22:38, Waldek Hebisch wrote:
I have put a gpc snapshot on my GPC web page http://www.math.uni.wroc.pl/~hebisch/gpc
This is my (unofficial) "stable snapshot": I have included Delphi and Mac objects patch and collected fixes (most fixes appeared on the mailing list). On i386 Linux using gcc-3.4.4 as a backend it is supposed to build without problems and pass all the tests. On 64-bit targets there are still multiple test failures (19 on my Amd64).
[...]
Passes all tests under Mingw (gcc-3.2.3 backend), except this:
TEST fjf1044s.pas: ./fjf1044s.pas: In procedure `p': ./fjf1044s.pas:36: Internal compiler error in expand_call, at calls.c:3078 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://www.gnu-pascal.de/todo.html for instructions.
Exactly the same under DJGPP uploaded in the usual place http://www.gnu-pascal.de/contrib/maurice/gpc-20051104-gcc-323.i586-pc-msdosd... (flagged as ALPHA)
Maurice