Package: gprbuild / 2018-6
Metadata
Package | Version | Patches format |
---|---|---|
gprbuild | 2018-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) |
gpr/src/gpr-conf.adb |
5 5 + 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. |
gprconfig.patch | (download) |
share/gprconfig/c.xml |
5 4 + 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. |
allow pie overriden for libs.diff | (download) |
src/gprbuild-compile.adb |
34 17 + 17 - 0 ! |
put pic options late on the command line for libraries. This option is mandatory, and should override incompatible options like PIE. A use case is described at https://lists.debian.org/debian-devel/2016/05/msg00302.html. |
add targets for gnat s_osconf.diff | (download) |
share/gprconfig/targetset.xml |
187 187 + 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 regular expressions should tell gprbuild to accept such |
ada lib info source date epoch.diff | (download) |
gpr/src/gpr-osint.adb |
14 14 + 0 - 0 ! |
handle ali timestamps generated from source_date_epoch When the SOURCE_DATE_EPOCH environment variable is set, gcc replaces timestamps more recent than its value with its value when writing Ada Library Information (ALI) files. This allow reproducible builds from generated or patched Ada sources. https://reproducible-builds.org/specs/source-date-epoch/ . Let gprbuild recognize this situation instead of always detecting the file as obsolete. . The patch should be kept in sync with the gcc-BV patch with the same name (hence Getenv instead of Ada.Environment_Variable.Value). |
do not strip minor soversion.diff | (download) |
gpr/src/gpr-util.adb |
51 1 + 50 - 0 ! |
when linking libraries, do not strip minor version numbers Use the exact Library_Version provided, if any, as the soname of libraries (PR ada/40025). . |
typos.diff | (download) |
gpr/src/gpr-compilation-protocol.ads |
2 1 + 1 - 0 ! |
various typos spotted by lintian. Authors: Nicolas Boulenguez <nicolas@debian.org> |
archive builder.diff | (download) |
share/gprconfig/linker.xml |
450 6 + 444 - 0 ! |
fix and simplify build of static libraries gprconfig was generating no Archive_Builder attribute for mips-linux-gnu, powerpc64le-linux-gnu and many other architectures, because the regular expressions defining specific architectures and the fallback were not covering all cases. . Simplify by prefixing with the target whether the build is native or cross, and with a substitution instead of handwritten copies. |