Package: ghdl / 5.0.1+dfsg-1

Metadata

Package Version Patches format
ghdl 5.0.1+dfsg-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
modify install paths | (download)

Makefile.in | 12 6 + 6 - 0 !
configure | 11 8 + 3 - 0 !
default_paths.ads.in | 2 2 + 0 - 0 !
scripts/gcc/Make-lang.in.in | 6 4 + 2 - 0 !
src/ghdldrv/ghdllib.adb | 2 1 + 1 - 0 !
5 files changed, 21 insertions(+), 12 deletions(-)

 patch installation paths for debian packaging
adjust compile flags | (download)

Makefile.in | 11 6 + 5 - 0 !
1 file changed, 6 insertions(+), 5 deletions(-)

 apply compile flags as required by debian
 Upstream has independently changed things so that this patch does not need to
 be upstreamed.
extend ghdl manpage | (download)

doc/ghdl.1 | 22 21 + 1 - 0 !
1 file changed, 21 insertions(+), 1 deletion(-)

 extend ghdl.1 manpage
 Add the Debian specific ghdl wrapper information to the manpage.
skip unsupported tests | (download)

testsuite/gna/issue1875/testsuite.sh | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 skip tests for features not built in debian
 VITAL is not included in the Debian build and so the test attempting to
 include it must be disabled so that they won't count as a failure.
testsuite pass parameters | (download)

testsuite/testsuite.sh | 5 3 + 2 - 0 !
1 file changed, 3 insertions(+), 2 deletions(-)

 pass testsuite.sh command line parameters to suite_driver.sh
fix testsuite stderr output | (download)

testsuite/suite_driver.sh | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix stderr output of testsuite/suite_driver.sh
 The testsuite driver script prints an informational message about the number
 of test workers it is running on stderr. However, any output on stderr during
 the test run is considered a failure by autopkgtest which causes the testsuite
 to never complete successfully. This patch changes it to simply print to
 stdout instead.
gcc distro specs | (download)

scripts/gcc/lang-specs.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 add gcc-distro-specs patch to add %(distro_defaults) like in gcc specs
 The Debian packages for gcc add %(distro_defaults) to the specs, so add the
 same to the @vhdl spec line calling ghdl1 in the gcc backend.
allow non linux mcode | (download)

configure | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 allow non-linux x86 architectures for mcode backend
 A check in configure would make builds on hurd and kfreebsd fail as mcode
 would activated due to being on x86, but the part selecting build flags would
 not recognize the architecture string. Add recognition of *-gnu with the same
 flags as the Linux builds.
sparc memmodel include | (download)

src/ortho/gcc/ortho-lang-9.c | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 add memmodel.h include to gcc ortho-lang-9.c
 On a SPARC build some includes use a type definition from memmodel.h and will
 fail to build if it isn't included.
avoid have backtrace | (download)

src/grt/config/jumps.c | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 disable use of backtrace(3)
 The use of backtrace(3) causes segfaults in grt_save_backtrace() for some
 reason. Some tests in the testsuite are affected by this, causing the testsuite
 to fail. Disable the detection in src/grt/config/jumps.c for now.
collect gcc options | (download)

configure | 1 1 + 0 - 0 !
default_paths.ads.in | 2 2 + 0 - 0 !
scripts/gcc/Make-lang.in.in | 2 2 + 0 - 0 !
src/ghdldrv/ghdldrv.adb | 30 30 + 0 - 0 !
4 files changed, 35 insertions(+)

 collect and inject standard options for gcc backend
 The gcc backend of GHDL does not set any of the standard options for machine
 architecture, ABI, etc. when calling the backend compiler unlike other GCC
 frontends. This will break on some architectures, when object files are
 incompatible with the setup of the linked executable and possibly cause other
 subtle problems even if linking succeeds.
 .
 This patch adds some kludgy code to allow presetting the default options at
 compile time and code to add them to the command line for the backend call.
 The other half is code in debian/rules to collect the default options from the
 C compiler and pass them to the configure script.