When I try to emerge freehdl, i get this error: rm -f .libs/vaulgens-chunk.lo g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"freehdl\" -DVERSION=\"0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1 -DHAVE_EXECINFO_H=1 -DSIZEOF_INT=4 -DHAVE_VASPRINTF=1 -I. -I. -I.. -I.. -O2 -march=athlon-xp -MT vaulgens-chunk.lo -MD -MP -MF .deps/vaulgens-chunk.Tpo -c vaulgens-chunk.cc -fPIC -DPIC -o .libs/vaulgens-chunk.lo vaulgens-chunk.cc:3156: internal compiler error: in tree_low_cst, at tree.c: 3253 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /var/tmp/portage/freehdl-20040113/temp/ccXO2HZp.out file, please attach this to your bugreport. make[2]: *** [vaulgens-chunk.lo] Fehler 1 make[2]: *** Warte auf noch nicht beendete Prozesse... g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"freehdl\" -DVERSION=\"0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1 -DHAVE_EXECINFO_H=1 -DSIZEOF_INT=4 -DHAVE_VASPRINTF=1 -I. -I. -I.. -I.. -O2 -march=athlon-xp -MT vaul-chunk.lo -MD -MP -MF .deps/vaul-chunk.Tpo -c vaul-chunk.cc -o vaul-chunk.o >/dev/null 2>&1 mv -f .libs/vaul-chunk.lo vaul-chunk.lo make[2]: Leaving directory `/var/tmp/portage/freehdl-20040113/work/freehdl-20040113/vaul' make[1]: *** [all] Fehler 2 make[1]: Leaving directory `/var/tmp/portage/freehdl-20040113/work/freehdl-20040113/vaul' make: *** [all-recursive] Fehler 1 !!! ERROR: sci-electronics/freehdl-20040113 failed. !!! Function src_compile, Line 556, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. emerge freehdl 2. 3. Actual Results: gcc fails to compile because of an "internal error" Expected Results: compile and merge Normally, I use "-O2 -march=athlon-xp -frename-registers -ftracer -fomit-frame-pointer -mmmx -m3dnow -pipe" as CFLAGS, but I also tried more harmless ones as shown below. Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.5-r1, 2.6.12.5 i686) ================================================================= System uname: 2.6.12.5 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.du.se/pub/os/gentoo http://ftp.easynet.nl/mirror/gentoo/" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 16bit 3dnow 3dnowext X aac acpi aim alsa apm atk audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 c++ cdda cdio cdparanoia cdr crypt css cups curl dedicated divx4linux dpms dts dv dvd dvdr dvdread eds emboss encode exif fam fame fat ffmpeg flac foomaticdb fortran fpx freetype ftp gcj gd gdbm gif gimp gimpprint glibc-omitfp gnome gnustep gpm gs gstreamer gtk gtk2 guile gzip hfs hpn icq id3 ieee1394 image imagemagick imlib ipv6 jabber java javacomm jbig jce jfs jp2 jpeg junit lcms libg++ libwww live lm_sensors lzw mad mikmod mime mjpeg mmx mmxext mng mod motif mozilla mp3 mpeg mplayer msn mythtv mzscheme nas ncurses network nls nocd nptl nsplugin ntfs nvidia objc ogg oggvorbis on-the-fly-crypt openal opengl oss pam pdflib perl physfs png python quicktime rar readline real reiserfs rrdtool samba screen sdl sensord serial slang slp sndfile snmp sockets spell ssl stream subtitles svg svga tcpd tetex tga theora tiff truetype truetype-fonts type1-fonts unicode usb utf8 v4l v4l2 vcd videos vim-with-x vlm vorbis win32codecs wmf xanim xface xfs xinerama xml xml2 xmms xpm xv xvid xvmc yahoo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Created attachment 66746 [details] /var/tmp/portage/freehdl-20040113/temp/ccXO2HZp.out The file mentoined in the error text
I remember something with an internal compiler error when compiling with gcc 3.4.3 - could you please try gcc 3.4.4?
No, sorry, I prefer using stable packages and installing a new gcc (and perhaps switching back to 3.3) sounds like much tricky work to me. But if it is hard to fix: The package is not that essential for me.
By the way: The latest snapshot from http://www.freehdl.seul.org/ is "20050510", but it fails to compile, too: g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"freehdl\" -DVERSION=\"0.0\" -DSTDC_HEA DERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UN ISTD_H=1 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1 -DHAVE_FLEXLEXER_H=1 -DHAVE_EXECINFO_H=1 -DSIZEOF_INT=4 -DHAVE_VASPRINTF=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_SOCKET= 1 -I. -I. -I.. -I.. -O2 -march=athlon-xp -pipe -MT lexer.lo -MD -MP -MF .deps/lexer.Tpo -c lexer.cc -fPIC -DPIC -o .libs/lexer.o lexer.cc: In member function `int vaul_lexer::lex(vaul_yystype*, vaul_yyltype*) ': lexer.cc:790: error: `yy_buffer_stack' undeclared (first use this function) lexer.cc:790: error: (Each undeclared identifier is reported only once for each function it appears in.) lexer.cc:790: error: `yy_buffer_stack_top' undeclared (first use this function) lexer.cc:791: error: `yyensure_buffer_stack' undeclared (first use this function) lexer.cc: In constructor `vaul_FlexLexer::vaul_FlexLexer(std::istream*, std::ostream*)': lexer.cc:1242: error: `yy_buffer_stack_max' undeclared (first use this function) lexer.cc: At global scope: lexer.cc:1767: error: no `void vaul_FlexLexer::yypush_buffer_state(yy_buffer_state*)' member function declared in class `vaul_FlexLexer' lexer.cc:1797: error: no `void vaul_FlexLexer::yypop_buffer_state()' member function declared in class `vaul_FlexLexer' lexer.cc:1816: error: no `void vaul_FlexLexer::yyensure_buffer_stack()' member function declared in class `vaul_FlexLexer' lexer.ll:322: confused by earlier errors, bailing out make[2]: *** [lexer.lo] Fehler 1 make[2]: Leaving directory `/home/bla/temp/freehdl-20050510/vaul' make[1]: *** [all] Fehler 2 make[1]: Leaving directory `/home/bla/temp/freehdl-20050510/vaul' make: *** [all-recursive] Fehler 1 Just FYI
Thanks for the hint. Fixing the problem you noticed was easy, but now the new version has some trouble with the sandbox (no access violation, see bug #104122).
Just committed a fix for the problem. If you dare, try 20050510 :-)