Package Details: ghdl-gcc-git 5.0.0dev.r9531.gc49b2038b-1

Git Clone URL: https://aur.archlinux.org/ghdl-gcc-git.git (read-only, click to copy)
Package Base: ghdl-gcc-git
Description: VHDL simulator - GCC back-end
Upstream URL: https://github.com/ghdl/ghdl
Licenses: GPL2
Conflicts: ghdl, ghdl-llvm-git, ghdl-mcode-git
Provides: ghdl, ghdl-git
Submitter: marzoul
Maintainer: marzoul (xiretza)
Last Packager: xiretza
Votes: 7
Popularity: 0.007563
First Submitted: 2015-12-02 22:51 (UTC)
Last Updated: 2024-08-30 16:19 (UTC)

Dependencies (2)

Required by (9)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

xiretza commented on 2022-05-14 10:37 (UTC)

Should be fixed by upstream PR 2057.

lawq commented on 2022-05-13 20:36 (UTC)

This is broken for me atm

netlists-disp_dot.ads:19:06: warning: unnecessary with of ancestor [-gnatwr]
gnatmake: "/home/rootabega/.cache/paru/clone/ghdl-gcc-git/src/ghdl/src/synth/netlists-disp_dot.adb" compilation error
make: *** [Makefile:440: lib/libghdl-3_0_0_dev.so] Error 4
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'ghdl-gcc-git-3.0.0dev.r7048.g7028d03e5-1':
error: packages failed to build: ghdl-gcc-git-3.0.0dev.r7048.g7028d03e5-1

marzoul commented on 2021-12-01 13:57 (UTC)

Thank you for reporting. I have changed the URL of sources. But I followed official gcc instructions at https://gcc.gnu.org/install/prerequisites.html. This should be more robust.

KEKE_046 commented on 2021-12-01 11:34 (UTC)

The isl.gforge.inria.fr mirror appears to be down, preventing the downloading of isl. ISL site seems to be https://libisl.sourceforge.io/ now.

marzoul commented on 2021-07-06 21:47 (UTC) (edited on 2021-07-06 21:49 (UTC) by marzoul)

Thank you Shinmen and runecaster for your help. Indeed I had forgotten about an edited makepkg.conf, and your solution works. I have pushed the change.

runecaster commented on 2021-07-06 19:11 (UTC) (edited on 2021-07-06 19:13 (UTC) by runecaster)

Shinmen, here is a workaround for this problem: Temporarily remove "-Wformat Werror=format-security \" from your /etc/makepkg.conf and rebuild it.

Same compiler flags appear to be the problem when building arm-linux-gnueabi-gcc (See comment from LyuFiFi).

marzou, initially I got the same errors as Shinmen, so please check your makepkg.conf if you have altered it.

marzoul commented on 2021-05-24 12:11 (UTC)

Hi Shinmen, I tried and it compiles on my side. I also tested from scratch (removed previous src/) and with fresh system update, it also compiles fine. Maybe your system has outdated gcc version, or you need to remove your old src/ ?

Shinmen commented on 2021-05-24 00:21 (UTC)

Whem i try to install has a erro on build,

''' /home/shinmen/.cache/yay/ghdl-gcc-git/src/gcc-10.3.0/libcpp/expr.c: In function ‘unsigned int cpp_classify_number(cpp_reader, const cpp_token, const char, location_t)’: /home/shinmen/.cache/yay/ghdl-gcc-git/src/gcc-10.3.0/libcpp/expr.c:801:35: error: format not a string literal and no format arguments [-Werror=format-security] 801 | cpp_warning_with_line (pfile, CPP_W_LONG_LONG, virtual_location, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 802 | 0, message); | ~~~~~~~~~~~ /home/shinmen/.cache/yay/ghdl-gcc-git/src/gcc-10.3.0/libcpp/expr.c:804:38: error: format not a string literal and no format arguments [-Werror=format-security] 804 | cpp_pedwarning_with_line (pfile, CPP_W_LONG_LONG, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 805 | virtual_location, 0, message); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: some warnings being treated as errors make[2]: [Makefile:224: expr.o] Error 1 make[2]: Leaving directory '/home/shinmen/.cache/yay/ghdl-gcc-git/src/gcc-build/build-x86_64-pc-linux-gnu/libcpp' make[1]: [Makefile:2854: all-build-libcpp] Error 2 make[1]: Leaving directory '/home/shinmen/.cache/yay/ghdl-gcc-git/src/gcc-build' make: * [Makefile:942: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... error making: ghdl-gcc-git '''

xiretza commented on 2021-03-02 19:19 (UTC)

Hi, libghdl links against libgnat, so it depends on gcc-ada (see also the packages in the repos).