Package Details: ghdl-gcc-git 1.0dev.r4725.g89826463-1

Git Clone URL: (read-only, click to copy)
Package Base: ghdl-gcc-git
Description: VHDL simulator - GCC back-end
Upstream URL:
Licenses: GPLv2
Conflicts: ghdl, ghdl-llvm-git, ghdl-mcode-git
Provides: ghdl=1.0dev.r4725.g89826463, ghdl-git=1.0dev.r4725.g89826463
Submitter: marzoul
Maintainer: marzoul
Last Packager: marzoul
Votes: 4
Popularity: 0.192357
First Submitted: 2015-12-02 22:51
Last Updated: 2020-03-23 22:58

Dependencies (2)

Required by (9)

Sources (3)

Latest Comments

1 2 Next › Last »

marzoul commented on 2019-12-02 23:27

Nice attention to detail, thank you :-) Changes pushed.

xiretza commented on 2019-12-02 21:35

Cheers for changing the pkgver() formatting! I've found one other thing that would be nice to have though: if the provides= for ghdl is changed to be versioned (provides=("ghdl=$pkgver")), then other packages (such as ghdlsynth-beta, which I would then be able to upload) can depend on ghdl>0.36, which can be fulfilled by this package right now and the main package after the next release. Additionally, providing ghdl-git from all the different -git packages would probably make sense.

marzoul commented on 2019-09-24 06:08

One must never skip testing especially when in a hurry... install is fixed, thanks for reporting.

xiretza commented on 2019-09-23 21:01

@marzoul: are you sure libiberty files should be kept (which is the opposite of what ak-fau's patch suggested)? Right now I can't install the built package because /usr/include/libiberty/* and /usr/lib/libiberty.a conflict with gcc.

marzoul commented on 2019-08-11 14:25

Hi ak-fau, thank you for the suggestion. It is now in the package.

ak-fau commented on 2019-08-07 13:09

Hello marzoul.

Would you please consider the following patch in order to keep VPI library and its header file in the package.

Thank you,


diff --git a/PKGBUILD b/PKGBUILD
index 2e51661..07eabf1 100644
@@ -146,9 +146,11 @@ package() {

    # Remove gcc-specific files, keep only what is related to ghdl
    cd "${pkgdir}"
-   rm -rf "usr/"{include,share/{locale,man}}
+   rm -rf "usr/share/"{locale,man}
+   rm -rf "usr/include/libiberty"
    find "usr/lib" \
        -maxdepth 1 -mindepth 1 -not -name 'gcc' -not -name 'ghdl' \
+       -not -name '' \
        -exec rm -rf {} +
    find "usr/lib/gcc/${_machine}/${_version}" \
        -maxdepth 1 -mindepth 1 -not -name 'ghdl*' \  

marzoul commented on 2016-11-27 21:40

Should be fixed with my latest hacks.
But it's rather fragile, so I'll contact the developers because what we need could be allowed in a generic way.

marzoul commented on 2016-11-19 10:19

Thanks for reporting! Indeed compilation of libs has changed.
However as-is your fix requires that a version of GHDL with std lib is already installed in the system. I'm investigating...

swolix commented on 2016-11-18 21:51

Hi, vhdl libraries are not installed (anymore?), I made the following changes to the PKGBUILD (although I'm not entirely sure this is the proper way);

diff --git a/PKGBUILD b/PKGBUILD
index 5018274..3e773a2 100644
@@ -37,8 +37,8 @@ md5sums=(
pkgver() {
cd "${srcdir}/ghdl"

- # GHDL version (extracted from
- _distver=`sed -n -e 's/.*GHDL \([0-9.a-z]*\) (.*/\1/p' src/`
+ # GHDL version (extracted from
+ _distver=`sed -n -e 's/.*GHDL \([0-9.a-z]*\) (.*/\1/p' src/`
# Date of the last git commit
_gitver=`git log -n 1 --date=short | sed -n -e 's/.*Date:\s*\([0-9-]*\).*/\1/p' | tr -d -`

@@ -106,18 +106,27 @@ build() {
#--without-cloog --without-isl

+ # Build libraries
+ cd ${srcdir}/ghdl
+ make ghdllib

package() {
+ # Install toolchain
cd "${srcdir}/gcc-build"
- # Make a full install
make DESTDIR="${pkgdir}" install

+ # Install libraries
+ cd ${srcdir}/ghdl
+ make DESTDIR="${pkgdir}" install
+ cd "${srcdir}/gcc-build"
# Remove gcc-specific files, keep only what is related to ghdl
rm -rf "${pkgdir}"/usr/{share/{locale,gcc-${_gccver},man/man7},include}
find "${pkgdir}"/usr/lib \
- -maxdepth 1 -mindepth 1 -not -name 'gcc' \
+ -maxdepth 1 -mindepth 1 -not -name 'gcc' -and -not -name ghdl \
-exec rm -rf '{}' +
find "${pkgdir}"/usr/lib/gcc/$(./gcc/xgcc -dumpmachine)/${_gccver} \
-maxdepth 1 -mindepth 1 -not -name 'vhdl' -not -name 'ghdl1' \

marzoul commented on 2016-10-30 19:35

Thanks for the comment. I'll push the updates when test compilation is finished.