GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
This page in English

Mail #13463

Zurück zur Archiv-Hauptseite

Vorige Mail   Nächste Mail   Unformatiert/Volle Header
Übersicht  10 Tage   Betreff   Datum   Thread   Autor  

Von: Adriaan van Os
Betreff: New (gpc-20060325)
Datum: 25.3.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



Vorige Mail   Nächste Mail   Unformatiert/Volle Header
Übersicht  10 Tage   Betreff   Datum   Thread   Autor  


Antworten auf diese Mail

Autor Betreff Datum
Waldek Hebisch New (gpc-20060325) 25.3.2006, 20:02:17
Mirsad Todorovac New (gpc-20060325) 27.3.2006, 09:34:49
Adriaan van Os New (gpc-20060325) 27.3.2006, 10:24:07
Mirsad Todorovac New (gpc-20060325) 28.3.2006, 14:36:18
Adriaan van Os New (gpc-20060325) 28.3.2006, 15:20:50

Antwort auf

Autor Betreff Datum
Waldek Hebisch New (gpc-20060325) 25.3.2006, 06:17:26

Zurück zur Archiv-Hauptseite


Hinweis: Diese Seite enthält Informationen, die nicht vom Betreiber dieser Website, sondern von den Autoren der archivierten Mails stammen. Der Betreiber dieser Website ist nicht für den Inhalt dieser Informationen verantwortlich. Die weitere Verwendung dieser Informationen bedarf des Einverständnisses des jeweiligen Autors.

Sofern WWW-Adressen (URLs) in den archivierten Mails als Hyperlinks hervorgehoben werden, so geschieht dies ausschließlich zur Annehmlichkeit für den Leser. Der Inhalt der auf diese Weise angelinkten Webseiten spiegelt nicht notwendigerweise die Meinung des Betreibers dieser Webseite oder der Autoren der archivierten Mails wider. Der Betreiber dieser Webseite ist nicht für den Inhalt solcher Webseiten verantwortlich. Diese Seiten sind ausdrücklich nicht als Teil des Inhalts dieser Seite zu betrachten, sondern lediglich als Referenzen.


Diese Seite wurde erzeugt von Crystal 0.999 (Linux 2.4.27/i686).