Package Details: ghdl 0.34-3

Git Clone URL: https://aur.archlinux.org/ghdl.git (read-only)
Package Base: ghdl
Description: VHDL simulator
Upstream URL: https://github.com/tgingold/ghdl
Licenses: GPLv2
Submitter: xyproto
Maintainer: vicencb
Last Packager: vicencb
Votes: 20
Popularity: 0.977682
First Submitted: 2011-12-14 17:03
Last Updated: 2017-08-15 20:59

Latest Comments

smallAndSimple commented on 2017-08-17 09:41

Changing the tag name to the commit hash works, but that is even weirder.

smallAndSimple commented on 2017-08-17 09:32

I think this version is broken. It gives me the following error on normal install:

==> Extracting sources...
-> Creating working copy of ghdl git repo...
Cloning into 'ghdl'...
done.
fatal: 'GHDL-0.34' is not a commit and a branch 'makepkg' cannot be created from it
==> ERROR: Failure while creating working copy of ghdl git repo
Aborting...
==> ERROR: Makepkg was unable to build ghdl.

thasti commented on 2017-07-23 14:39

Thank you very much for the quick response - works like a charm again!

vicencb commented on 2017-07-20 17:37

This time the issue is "having up-to-date packages" :)
Just last week, in gcc-7.1.1-4, Archlinux enforces PIE.
https://bugs.archlinux.org/task/54886

Now should work.
Thanks for testing and reporting.

thasti commented on 2017-07-20 11:09

Thank you for updating. It now compiles and installs fine, but I have problems with elaborating designs that worked before the update and I guess something in the build process is at fault:

While -a (analysis) works fine, for -e (elaborate) I get a lot of error messages in the form of:

...
/usr/bin/ld: /usr/lib/ghdl/v08/ieee/fixed_generic_pkg-body.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ghdl/v08/ieee/fixed_pkg.o: relocation R_X86_64_32 against symbol `ieee__fixed_pkg__fixed_pkg' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: pi_filter.o: relocation R_X86_64_32 against symbol `work__pi_filter__clk__RTI' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status

Can you reproduce this issue?

There seems to be a relevant (althogh fixed) issue on the github repository: https://github.com/tgingold/ghdl/issues/213

Elaborating with "ghdl -e -Wl,-no-pie" works for me as well, but I would consider this a workaround, as this flag should not be necessary with a functioning build.

vicencb commented on 2017-07-19 17:09

It has been updated to latest pre-release.
This is not as stable as a proper release, but at least builds.

thasti commented on 2017-07-19 12:22

With up-to-date packages (gcc-Version 7.1.1 20170630 (GCC)) the build of this package fails.

The build of libgcc with gcc-4.9.3 (as downloaded by the AUR) fails with

checking for suffix of object files... configure: error: in `/home/user/aur/ghdl/src/gcc-build/x86_64-unknown-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile

The corresponding error in config.log (for libgcc) is:

configure:3580: checking for suffix of object files
configure:3602: /home/user/aur/ghdl/src/gcc-build/./gcc/xgcc -B/home/user/aur/ghdl/src/gcc-build/./gcc/ -B/usr/x86_64-unknown-linux-gnu/bin/ -B/usr/x86_64-unknown-linux-gnu/lib/ -isystem /usr/x86_64-unknown-linux-gnu/include -isystem /usr/x86_64-unknown-linux-gnu/sys-include -c -g -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -fno-plt conftest.c >&5
xgcc: error: unrecognized command line option '-fno-plt'

So it seems ./configure wants to use the -fno-plt-Flag with xgcc-4.9.3, which is not recongnized. I am at a loss at finding out why it tries to in the first place. Build failure was confirmed on two independent machines with up-to-date packages and gcc-multilib/gcc-ada-multilib. I hope you can help.

vicencb commented on 2016-04-30 00:37

The web site http://isl.gforge.inria.fr is not responding...
It may be a temporary problem, but, the gcc prerequisites page
https://gcc.gnu.org/install/prerequisites.html
suggests downloading it from
ftp://gcc.gnu.org/pub/gcc/infrastructure/
So, I've updated the links.

Thanks for reporting.

David-UPCT commented on 2016-04-29 19:33

It could be a temporary problem, but the installation fails as it can't download isl:

makepkg -i -s :(
==> Making package: ghdl 0.33-2 (Fri Apr 29 21:22:37 CEST 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating ghdl git repo...
Fetching origin
-> Found gcc-4.9.3.tar.bz2
-> Downloading isl-0.12.2.tar.bz2...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:01:04 --:--:-- 0
curl: (56) Recv failure: Connection reset by peer
==> ERROR: Failure while downloading http://isl.gforge.inria.fr/isl-0.12.2.tar.bz2
Aborting...

Edit: manually downloaded from http://ftp.vim.org/languages/gcc/infrastructure/isl-0.12.2.tar.bz2 and copied to the PKGBUILD folder, and everything worked

marzoul commented on 2015-06-28 20:45

If it can be of any help, at least for me the latest GHDL source code compiles with the stock gcc-5.1 compiler. It's the package ghdl-hg (AUR4 link: https://aur4.archlinux.org/packages/ghdl-hg/), which is almost identical to the present ghdl package in terms of compilation commands.

All comments