I tried to compile sci-electronics/ghdl-0.26. The compilation failed. These are the last lines: gnatgcc -c -I./ -I../../.././gcc/vhdl/grt -gnatec../../.././gcc/vhdl/grt/grt.adc -O2 -march=pentium-m -pipe -I- /var/tmp/portage/sci-electronics/ghdl-0.26/work/ gcc-4.1.2/gcc/vhdl/grt/grt-lib.adb gnatgcc -c -I./ -I../../.././gcc/vhdl/grt -gnatec../../.././gcc/vhdl/grt/grt.adc -O2 -march=pentium-m -pipe -I- /var/tmp/portage/sci-electronics/ghdl-0.26/work/ gcc-4.1.2/gcc/vhdl/grt/grt-modules.adb grt-vcd.ads:24:09: tagged types not allowed in no run time mode gnatmake: "/var/tmp/portage/sci-electronics/ghdl-0.26/work/gcc-4.1.2/gcc/vhdl/grt/grt-modules.adb" compilation error make[3]: *** [run-bind.adb] Error 4 make[3]: Leaving directory `/var/tmp/portage/sci-electronics/ghdl-0.26/work/gcc-4.1.2/host-i686-pc-linux-gnu/gcc/vhdl' make[2]: *** [ghdllib] Error 2 make[2]: Leaving directory `/var/tmp/portage/sci-electronics/ghdl-0.26/work/gcc-4.1.2/host-i686-pc-linux-gnu/gcc' make[1]: *** [all-gcc] Error 2 make[1]: Leaving directory `/var/tmp/portage/sci-electronics/ghdl-0.26/work/gcc-4.1.2' make: *** [all] Error 2 * * ERROR: sci-electronics/ghdl-0.26 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 680: Called die * The specific snippet of code: * emake || die "Compilation failed" * The die message: * Compilation failed Reproducible: Always Steps to Reproduce: 1. emerge ghdl emerge --info output: Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r8 i686) ================================================================= System uname: 2.6.25-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.50GHz Timestamp of tree: Tue, 04 Nov 2008 10:15:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.4.6-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirror.mcs.anl.gov/pub/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en de it zh zh_TW" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="7zip X a52 aac aalib accessibility acl acpi aiglx alsa amr apache2 arts audiofile bash-completion bcmath berkdb blas bluetooth bzip2 cairo calendar cdparanoia cdr cjk cli cracklib crypt cups curl dbus dga dio doc dri dts dv dvb dvd dvdr dvdread emacs encode exif expat ffmpeg fftw firefox flac flash foomaticdb fortran ftp gd gdbm gif glut gmp gnutls gpm gtk gtk2 gtkhtml hal iconv icq ieee1394 imagemagick imap imlib immqt-bc ipv6 isdnlog jabber jadetex java javascript jpeg jpeg2k kde kqemu ladspa lash ldap leim lesstif libcaca libwww lzo mad maildir matroska mbox mcal midi mikmod mime ming mmap mmx mng motif mozdevelop mp3 mpeg msn mudflap mysql ncurses nls nptl nptlonly nsplugin ntfs offensive ogg openal opengl openmp osc oscar oss pam pcmcia pcntl pcre pda pdf perl php plotutils png pop portaudio posix ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session sharedmem shorten slang sndfile sockets socks5 sound sox speex spell spl sqlite sse sse2 ssl startup-notification svg symlink sysfs sysvipc tcl tcpd theora threads tidy tiff tk tokenizer truetype unicode usb v4l vcd videos vim-syntax vim-with-x vorbis wifi win32codecs wmf wxwindows x264 x86 xcomposite xface xine xinerama xinetd xml xmlrpc xorg xosd xpm xprint xscreensaver xsl xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de it zh zh_TW" USERLAND="GNU" VIDEO_CARDS="dummy fbdev intel vesa vga v4l" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 170716 [details] Build log Build log for ghdl-0.26
I had a similar problem. My solution was to use eselect to pick a different gnat package. Specifically I used "eselect gnat list" and found that I was using some gnat-gpl package. I had two gnat-gcc packages for some reason, by selecting the 4.2 gnat-gcc package I was able to successfully install ghdl.
Thanks guys. It's fixed now. Please reopen if symptoms persit. Denis.