Package: gprbuild / 2015-6
Metadata
Package | Version | Patches format |
---|---|---|
gprbuild | 2015-6 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
link library as needed z defs.diff | (download) |
src/gprlib.adb |
4 2 + 2 - 0 ! |
gprlib: move -lgnat-x from options to library_options Linking a dynamic library with Leading_Library_Options containing -Wl,--as-needed and -Wl,-z,defs fails because -lgnat-5 comes before any object requiring it. A reproducer is in debian/tests/link-library-as-needed-z-defs. . This patches moves -lgna[t|rl]-X later in the command line, as already done for libgna[t|rl].a. . Forwarded via upstream contact form on 2016/01/29, acknowledged by mail. |
projects_lookup_path.diff | (download) |
src/gprbuild-main.adb |
3 3 + 0 - 0 ! |
search projects in /usr/share/ada/adainclude debian path The hardcoded /usr/share/gpr makes sense, and we should probably drop this patch once all packaged libraries have been updated. |
use_ada_packaged_libraries.diff | (download) |
src/gpr_version.adb |
2 0 + 2 - 0 ! |
avoid using the code shared with gnat. Use libgnatprj and libgnatvsn instead. . The Gnatvsn.Build_Type enumerated type does not, and will probably never, include the Gnat_Pro value in GCC. |
gprconfig.patch | (download) |
share/gprconfig/c.xml |
6 5 + 1 - 0 ! |
share/gprconfig/*.xml fixes for debian Add gnatgcc to the knowledge base. EXEC seems more general than ${PREFIX}gcc, gcc-${VERSION} or similar. . In compilers.xml, select X (>= 5) instead of X.Y (<= 4.9) as Ada version. This affects Toolchain_Version in gnat.xml, then -lgnatX linker arguments. . Prefer gnatgcc to gcc for Ada. This requires a work-around in gprlib, because it does strong assertions about the compiler name. . We put gprbind and gprlib in /lib/gprbuild, not /libexec/gprbuild. We don't put them in /usr/lib/${DEB_HOST_MULTIARCH}/gprbuild, because the multiarch conventions do not yet address executables. Moreover, their path must be written in the arch-indep /usr/share/gprconfig/*.xml. |
hurd i386.patch | (download) |
share/gprconfig/linker.xml |
3 2 + 1 - 0 ! |
add support for hurd-i386. |
no_stderr_in_example.diff | (download) |
examples/Makefile |
2 1 + 1 - 0 ! |
make the tests usable as basic tests. We want a status report when we run the examples as tests, but not when we clean without gprclean. . Autopkg-test considers that a test fails if it emits on stderr. |
gnat 6 warning.diff | (download) |
src/gprbuild-main.adb |
2 1 + 1 - 0 ! |
silent a gnat-6 style warning. |
add targets for gnat s_osconf.diff | (download) |
share/gprconfig/targetset.xml |
176 176 + 0 - 0 ! |
add target normalization rules to detect default compilers. This fixes new occurrences of #760006, hopefully more definitely. The default gprconfig target is taken from System.OS_Constants.Target_Name and contains the vendor id. It is compared to the output of GCC -dumpmachine which does not. The added added regular expressions should tell gprbuild to accept such |