1======================================== 2Known problems in GPRBUILD version 1.5.1 3======================================== 4 5Copyright (C) 2010-2011, AdaCore 6 7The following is a listing of known problems in release 1.5.1. Except where 8specifically noted, all these problems have been corrected in the development 9tree of the 1.6 technology. This means they are corrected in any 1.6.0w 10wavefront issued subsequent to the date specified (in ISO format YYYY-MM-DD) in 11the status line. This can be used to determine if a given wavefront has the fix 12identified in the entry. 13 14KP-151-K309-002 Multi-unit file on command line should compile all units 15 16 Problem: If you specify a multi-unit source file on the command line, 17 only one of the units within that file is compiled. 18 19 Status: This was fixed in 1.6.0 on 2011-03-09 20 21 Workaround: Use the switch -eI.. to specify each of the units to compile. 22 23KP-151-K228-036 Builder'Switches ("Ada") not taken into account 24 25 Problem: If the name of the language is not in lower case in 26 Builder'Switches ("<language>"), the attribute is not taken 27 into account. 28 29 Status: This was fixed in 1.6.0 on 2011-02-28 30 31 Workaround: Use language names in lower case. 32 33KP-151-K223-005 Bad handling of pragmas Linker_Options and Link_With 34 35 Problem: On Windows, the stack for executables with tasking is incorrectly 36 specified to the linker. 37 38 Status: This was fixed in 1.6.0 on 2011-02-24 39 40 Workaround: Use gnatmake instead of gprbuild for linking. 41 42KP-151-K209-050 Crash when main is an excluded file 43 44 Problem: When one of the main is also an excluded source file, gprbuild 45 crashes when attempting to check if the main needs to be 46 compiled. 47 48 Status: This was fixed in 1.6.0 on 2011-02-10 49 50 Workaround: Remove the main from the list of excluded source files. 51 52KP-151-K125-041 No binding of locally removed sources 53 54 Problem: When the main is not in Ada and there are no Roots specified, 55 an attempt is made to bind locally removed Ada sources, resulting 56 in a gprbuild crash. 57 58 Status: This was fixed in 1.5.2 on 2011-02-02 59 60 Workaround: Remove the sources instead of declaring them locally removed. 61 62KP-151-JC23-006 Link time error on big projects with powerpc-elf 63 64 Problem: When linking projects with a sufficiently big number of units the 65 link phase fails with missing symbol errors. This is a command 66 line limitation error when gprbuild calls the linker. 67 68 Status: This was fixed in 1.6.0 on 2011-03-16 69 70 Workaround: force the use of a response file by using the following 71 attributes in package Linker: 72 for Max_Command_Line_Length use "8000"; 73 for Response_File_Format use "GNU"; 74