On alpha-linux-gnu, gnatmake enters an infinite loop consuming 100% CPU while parsing this project file:
project GNADE_Common_Build is Soversion := External ("soversion"); type Lib_Type is ("static", "dynamic"); Libtype : Lib_Type := external ("LIBTYPE"); for Languages use ("Ada"); -- At install time, Source_Dirs must reflect the build source -- directories for Source_Dirs use ("../support"); -- Library_Dir must be a single directory containing all the -- library files (*.ali, *.a, *.so) for all of the gnade packages. for Library_Dir use "tmp"; -- Object_Dir is only used at build time; it must be distinct from -- the other package object directories, and from the library -- directory. for Object_Dir use "tmp/common-" & Libtype; for Library_Name use "gnadecommon"; for Library_Kind use Libtype; -- Library_Version is not used when Library_Kind is "static" for Library_Version use "libgnadecommon.so." & Soversion; package Compiler is for Default_Switches ("Ada") use ("-g", "-O2", "-gnat05", "-gnatfno", "-gnatwa", "-gnatVa", "-fstack-check"); end Compiler; end GNADE_Common_Build; Steps to reproduce: $ gnatmake -p -j1 -vP2 -Pdebian/gnade_common_build -XLIBTYPE=static -Xsoversion=1 -v GPR_PROJECT_PATH=".:/usr/share/ada/adainclude/" Project_Path_Name_Of ("debian/gnade_common_build", "/home/lbrenta/gnade-1.6.2/"); Trying /home/lbrenta/gnade-1.6.2//debian/gnade_common_build.gpr Project_Name_From ("/home/lbrenta/gnade-1.6.2/debian/gnade_common_build.gpr") (infinite loop) gnatmake works with the same project file on all architectures I tried: {amd64,hppa,i386,ia64,mips,mipsel,powerpc,s390,sparc}-linux-gnu, so this looks like a code generation bug that affects gnatmake. I have access to an alpha-linux-gnu machine, please tell me if I can help narrow this problem down. -- Summary: Infinite loop when parsing a project file, alpha only Product: gcc Version: 4.4.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ludovic at ludovic-brenta dot org GCC build triplet: alpha-linux-gnu GCC host triplet: alpha-linux-gnu GCC target triplet: alpha-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42073