GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #13463

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: Adriaan van Os
Subject: New (gpc-20060325)
Date: 25 Mar 2006, 19:23:51

> Waldek Hebisch wrote:
>
>> I have put a new gpc snapshot at:
>>
>> http://www.math.uni.wroc.pl/~hebisch/gpc-20060325.tar.bz2
>
> Next, I will try with gcc-4.

The compiler does build on powerpc-apple-darwin8 with gcc-4.0.3 (I  
bootstrapped an FSF-gcc-4.0.3 C compiler first). Next I tried the  
testsuite.

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="gpc403d1" PFLAGS=" --autobuild   -g -O3 -W -Wall -Wno-unused   
" PFLAGS_NO_PATHS="-g -O3 -W -Wall -Wno-unused  " SRCDIR="."  
TEST_MAKE_FLAG=test-make-flag "./test_run"  "*.pas" | tee test_log |  
"./test_sum" -d
Test Run By adriaan on 2006-03-25 18:00:51
Native configuration is powerpc-apple-darwin8 (g5.local)

                 === gpc tests ===

Running target any
Running testsuite ...

UNSUPPORTED: agettext2test.pas
UNSUPPORTED: agettexttest.pas
UNSUPPORTED: aregextest.pas
UNSUPPORTED: asmtest.pas
FAIL: aturbo3test.pas
	gpc403d1: Internal error: Cputime limit exceeded (program gpc1)
	Please submit a full bug report.
	See <URL:http://www.gnu-pascal.de/todo.html> for instructions.
	gpc1: gpc403d1 exited with status 1
	gpc1: gpc403d1 exited with status 1
	failed

Looks like the compiler hangs in an endless loop. I took a sample  
with the Mac OS X activity monitor.

	Analysis of sampling pid 2816 every 10.000000 milliseconds
	Call graph:
	    289 Thread_100f
	      289 start
	        289 _start
	          289 toplev_main
	            289 yyparse
	              289 cgraph_optimize
	                289 cgraph_expand_function
	                  289 tree_rest_of_compilation
	                    289 execute_pass_list
	                      289 rest_of_compilation
	                        289 dbxout_function_decl
	                          289 dbxout_block
	                            289 dbxout_block
	                              289 dbxout_syms
	                                289 dbxout_symbol
	                                  289 dbxout_symbol

	Total number in stack (recursive counted multiple, when >=5):

	Sort by top of stack, same collapsed (when >= 5):
	        dbxout_symbol        289
	Sample analysis of process 2816 written to file /dev/stdout
	Sampling process 2816 each 10 msecs 300 times

The same happened with another test program (but I didn't come very  
far yet). Adding -O2, -O1 or -O0 doesn't help. Same for -mdynamic-no- 
pic and --no-pic.


Interestingly, asmnames.pas now passes.

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="gpc403d1" PFLAGS=" --autobuild   -g -O3 -W -Wall -Wno-unused   
" PFLAGS_NO_PATHS="-g -O3 -W -Wall -Wno-unused  " SRCDIR="."  
TEST_MAKE_FLAG=test-make-flag "./test_run"  asmnames.pas | tee  
test_log | "./test_sum" -d
Test Run By adriaan on 2006-03-25 19:19:31
Native configuration is powerpc-apple-darwin8 (g5.local)

                 === gpc tests ===

Running target any
Running testsuite ...


                 === gpc Summary ===

# of tests                1
# of expected passes      1

gpc403d1 version 20060325, based on gcc-4.0.3

Regards,

Adriaan van Os



Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


Replies

Author Subject Date
Waldek Hebisch New (gpc-20060325) 25 Mar 2006, 20:02:17
Mirsad Todorovac New (gpc-20060325) 27 Mar 2006, 09:34:49
Adriaan van Os New (gpc-20060325) 27 Mar 2006, 10:24:07
Mirsad Todorovac New (gpc-20060325) 28 Mar 2006, 14:36:18
Adriaan van Os New (gpc-20060325) 28 Mar 2006, 15:20:50

In reply to

Author Subject Date
Waldek Hebisch New (gpc-20060325) 25 Mar 2006, 06:17:26

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).