Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-tommi13 i686) ================================================================= System uname: 2.6.17-tommi13 i686 Genuine Intel(R) CPU T2400 @ 1.83GHz Gentoo Base System version 1.12.5 Last Sync: Sun, 08 Oct 2006 09:30:01 +0000 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -msse3 -pipe -fomit-frame-pointer -fforce-addr" 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/X11/xkb /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/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=prescott -msse3 -pipe -fomit-frame-pointer -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="it_IT.ISO-8859-15" LC_ALL="it_IT.ISO-8859-15" LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s" LINGUAS="it" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib acpi alsa apache2 asf audiofile avahi avi bash_completion berkdb bitmap-fonts bluetooth bonjour buttons bzip2 cairo caps cdda cddb cdparanoia cdr cli cpudetection crypt ctype cups custom-cflags dba dbus divx4linux dlloader dri dv dvd dvdr dvdread dvi eds elibc_glibc emacs emboss encode esd ethereal exif expat fam fastbuild fat ffmpeg firefox flac flash font-server foomaticdb force-cgi-redirect fortran ftp gcj gd gdbm gif gimp gimpprint glitz glut gmp gnome gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile hal howl hpn idn imlib input_devices_keyboard input_devices_mouse input_devices_synaptics irda isdnlog jack java javascript jpeg jpeg2k kernel_linux lame lcms ldap libg++ libwww linguas_it live lm_sensors mad matroska memlimit mikmod mjpeg mmap mmx mmxext mng mono mozilla mp3 mpeg mplayer msn musepack nautilus ncurses nls nogecko-sdk nptl nptlonly nsplugin nvidia ogg openal opengl optimisememory pcre pdf pdflib perl pmu png posix ppds pppd pthreads python quicktime rar readline real reflection samba sdl sensord session simplexml skins slang smp soap sockets spell spl sse sse2 ssl startup-notification stream svg svga tcltk tcpd tetex theora threads tiff tokenizer toolbar truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vcd video_cards_nv video_cards_nvidia vidix vorbis wifi win32codecs wireshark wxwindows x86 xfs xml xml2 xmms xorg xosd xsl xv xvid xvmc zeroconf zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY sci-electronics/systemc-2.0.1 and sci-electronics/systemc-2.0.1-r1 aren't gcc4 compliant. The INSTALL file included in the systemc-2.0.1.tgz tarball shows: To build, install, and use SystemC on UNIX platforms, you need the following tools: 1. GNU C++ compiler version gcc-2.95.2: gcc version 2.95.2 19991024 (release) or GNU C++ compiler version gcc-2.95.3: gcc version 2.95.3 20010315 (release) or Sun C++ compiler version SC 6.1: CC: Sun WorkShop 6 update 1 C++ 5.2 Patch 109508-02 2001/03/04 or Sun C++ compiler version SC6.2: CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-04 2001/12/13 or HP C++ compiler version A.03.15: aCC: HP ANSI C++ B3910B A.03.15 or HP C++ compiler version A.03.33: aCC: HP ANSI C++ B3910B A.03.33 The INSTALL file in the systemc-2.1.v1.tgz tarball (which is not available in portage, but can be downloaded from www.systemc.org) shows: To build, install, and use SystemC on UNIX platforms, you need the following tools: 1. GNU C++ compiler version gcc-2.95.3: gcc version 2.95.3 20010315 (release) or GNU C++ compiler version gcc-3.2.2: gcc version 3.2.2 20030222 (release) or GNU C++ compiler version gcc-3.2.3: or GNU C++ compiler version gcc-3.1 for MacOS X: gcc version 3.1 20020420 (prerelease) or GNU C++ compiler version gcc-3.3 for MacOS X: gcc version 3.3 20030304 (Apple Computer, Inc. build 1495) or Sun C++ compiler version Forte 8 or HP C++ compiler version A.03.63: aCC: HP ANSI C++ A.03.63 Compiling both versions returns strange errors, I think they were about syntax or similar stuff. The version of the package currently in beta (2.2.05jun06) seems to support gcc4, instead, as the INSTALL file shows: To build, install, and use SystemC on UNIX platforms, you need the following tools: 1. GNU C++ compiler version gcc-2.95.3: gcc version 2.95.3 20010315 (release) or GNU C++ compiler version gcc-3.2.2: gcc version 3.2.2 20030222 (release) or GNU C++ compiler version gcc-3.2.3: or GNU C++ compiler version gcc-3.4.5: or GNU C++ compiler version gcc-4.1.0: or GNU C++ compiler version gcc-3.1 for MacOS X: gcc version 3.1 20020420 (prerelease) or GNU C++ compiler version gcc-3.3 for MacOS X: gcc version 3.3 20030304 (Apple Computer, Inc. build 1495) or Sun C++ compiler version SC 6.1: CC: Sun WorkShop 6 update 1 C++ 5.2 Patch 109508-07 2001/12/13 or Sun C++ compiler version SC6.2: CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-05 2002/02/03 or Sun C++ compiler version Forte 7: CC: Forte Developer 7 C++ 5.4 Patch 111715-05 2003/02/09 or HP C++ compiler version A.03.39: aCC: HP ANSI C++ B3910B A.03.39 The compilation runs fine, I cannot tell if it really works as I'm still learning system C.
Sorry, the summary should have been "systemc 2.0 and 2.1 incompatible with gcc4", maybe it was too long.
OK, I'll check that.
I have committed the latest beta release of systemc-2.2. It compiles with the latest gcc, and I have checked that it does work correctly. I will now make the necessary checks and fix or remove older releases. Sorry for the delay, but I was away from Gentoo for a few months due to real life issues. Denis.
systemc-2.2_beta20060605 is now stable. Closing this. Thank you for the bug report. Denis.