

This is usually fixed by changing:younker wrote:VarArray.h: In member function `virtual void VarArray<T>::add(const T&)':
VarArray.h:56: error: there are no arguments to `value' that depend on a template parameter, so a declaration of `value' must be available
VarArray.h:56: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
Code: Select all
valueCode: Select all
this->valuejust have some sane compiler flags, say, likeyounker wrote:DDD 3.3.8 can't compile now:(
g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include -O3 -march=pentium4 -fomit-frame-pointer -pipe -DNDEBUG -O3 -Wall -W -march=pentium4 -fomit-frame-pointer -pipe -trigraphs -c -o uniquify.o `test -f 'uniquify.C' || echo './'`uniquify.C
In file included from StringA.h:37,
from uniquify.h:36,
from uniquify.C:36:
VarArray.h: In member function `virtual void VarArray<T>::add(const T&)':
VarArray.h:56: error: there are no arguments to `value' that depend on a template parameter, so a declaration of `value' must be available
VarArray.h:56: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
make[2]: *** [uniquify.o] error 1
make[2]: *** waiting for the uncomplete task....
make[2]: Leaving directory `/var/tmp/portage/ddd-3.3.8/work/ddd-3.3.8/ddd'
make[1]: *** [all] error 2
make[1]: Leaving directory `/var/tmp/portage/ddd-3.3.8/work/ddd-3.3.8/ddd'
make: *** [all-recursive] error 1
!!! ERROR: dev-util/ddd-3.3.8 failed.
!!! Function src_compile, Line 28, Exitcode 2
!!! (no error message)
Code: Select all
CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"

Eh?irf2003 wrote:just have some sane compiler flags, say, likeyounker wrote:DDD 3.3.8 can't compile now:(
g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include -O3 -march=pentium4 -fomit-frame-pointer -pipe -DNDEBUG -O3 -Wall -W -march=pentium4 -fomit-frame-pointer -pipe -trigraphs -c -o uniquify.o `test -f 'uniquify.C' || echo './'`uniquify.C
In file included from StringA.h:37,
from uniquify.h:36,
from uniquify.C:36:
VarArray.h: In member function `virtual void VarArray<T>::add(const T&)':
VarArray.h:56: error: there are no arguments to `value' that depend on a template parameter, so a declaration of `value' must be available
VarArray.h:56: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
make[2]: *** [uniquify.o] error 1
make[2]: *** waiting for the uncomplete task....
make[2]: Leaving directory `/var/tmp/portage/ddd-3.3.8/work/ddd-3.3.8/ddd'
make[1]: *** [all] error 2
make[1]: Leaving directory `/var/tmp/portage/ddd-3.3.8/work/ddd-3.3.8/ddd'
make: *** [all-recursive] error 1
!!! ERROR: dev-util/ddd-3.3.8 failed.
!!! Function src_compile, Line 28, Exitcode 2
!!! (no error message)hthCode: Select all
CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"

Code: Select all
media-gfx/sane-backends-1.0.13-r3
sys-libs/cracklib-2.7-r9Code: Select all
gentoo4 / # emerge info
Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.3_pre20040420-r0, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.10
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mfpmath=sse -msse2 -O2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -mfpmath=sse -msse2 -O2 -fomit-frame-pointer"
DISTDIR="/distfiles"
FEATURES="autoaddcvs buildpkg ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://134.68.220.73/gentoo-portage"
USE="X alsa arts avi berkdb cdr crypt cups dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 idea imlib ipv6 java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell ssl svga tcpd threads truetype x86 xml2 xmms xv zlib"
Code: Select all
gentoo4 / # emerge -ep world
These are the packages that I would merge, in order:
Calculating world dependencies ...done!
[ebuild N ] sys-devel/gnuconfig-20040214
[ebuild N ] sys-devel/patch-2.5.9
[ebuild N ] sys-devel/gettext-0.12.1-r1
[ebuild N ] sys-apps/sed-4.0.9
[ebuild N ] sys-libs/ncurses-5.4-r1
[ebuild N ] sys-apps/texinfo-4.6
[ebuild N ] sys-libs/zlib-1.2.1-r2
[ebuild N ] dev-python/python-fchksum-1.7.1
[ebuild N ] app-shells/bash-2.05b-r9
[ebuild N ] sys-libs/readline-4.3-r5
[ebuild N ] sys-devel/flex-2.5.4a-r5
[ebuild N ] app-arch/bzip2-1.0.2-r3
[ebuild N ] sys-devel/automake-1.8.3
[ebuild N ] dev-perl/Locale-gettext-1.01-r1
[ebuild N ] sys-apps/help2man-1.33.1
[ebuild N ] sys-devel/m4-1.4-r1
[ebuild N ] sys-apps/coreutils-5.2.0-r1
[ebuild N ] sys-apps/debianutils-1.16.7-r4
[ebuild N ] sys-apps/portage-2.0.50-r6
*** Please update portage to the above version before proceeding.
Failure to do so may result in failed or improper merges.
A simple 'emerge -u portage' is sufficient.
[ebuild N ] sys-devel/bc-1.06-r5
[ebuild N ] dev-libs/openssl-0.9.7d
[ebuild N ] sys-libs/db-1.85-r1
[ebuild N ] sys-libs/gdbm-1.8.0-r5
[ebuild N ] dev-libs/expat-1.95.7
[ebuild N ] dev-lang/python-2.3.3-r1
[ebuild N ] dev-java/java-config-1.2.6
[ebuild N ] dev-java/blackdown-jdk-1.4.1
[ebuild N ] sys-libs/db-4.1.25_p1-r3
[ebuild N ] sys-apps/groff-1.19
[ebuild N ] sys-devel/libperl-5.8.3
[ebuild N ] dev-lang/perl-5.8.3
[ebuild N ] sys-devel/autoconf-2.59-r3
[ebuild N ] sys-devel/libtool-1.5.2-r5
[ebuild N ] sys-devel/binutils-2.14.90.0.8-r1
[ebuild N ] sys-devel/bison-1.875
[ebuild N ] sys-devel/gcc-config-1.3.5
[ebuild N ] sys-devel/gcc-3.4.0
[ebuild N ] sys-apps/gawk-3.1.3-r1
[ebuild N ] sys-kernel/linux-headers-2.6.3-r1
[ebuild N ] app-crypt/hashalot-0.2.0
[ebuild N ] dev-libs/glib-1.2.10-r5
[ebuild N ] sys-apps/miscfiles-1.3-r1
[ebuild N ] sys-libs/cracklib-2.7-r9
[ebuild N ] sys-libs/pam-0.77-r1
[ebuild N ] sys-apps/shadow-4.0.4.1
[ebuild N ] sys-apps/pam-login-3.14
[ebuild N ] sys-apps/util-linux-2.12-r4
[ebuild N ] sys-apps/baselayout-1.8.12
[ebuild N ] sys-libs/glibc-2.3.3_pre20040420
[ebuild N ] sys-apps/cronbase-0.2.1-r3
[ebuild N ] sys-apps/man-1.5m
[ebuild N ] sys-apps/man-pages-1.66
[ebuild N ] sys-apps/grep-2.5.1-r1
[ebuild N ] sys-fs/devfsd-1.3.25-r8
[ebuild N ] sys-devel/bin86-0.16.13
[ebuild N ] sys-apps/net-tools-1.60-r8
[ebuild N ] sys-apps/kbd-1.12-r2
[ebuild N ] sys-apps/module-init-tools-3.0
[ebuild N ] sys-apps/setserial-2.17-r2
[ebuild N ] dev-util/dialog-0.9_beta20031207
[ebuild N ] app-portage/gentoolkit-0.2.0_pre8
[ebuild N ] media-libs/freetype-2.1.5-r1
[ebuild N ] media-libs/jpeg-6b-r3
[ebuild N ] media-libs/lcms-1.12
[ebuild N ] media-libs/libmng-1.0.5
[ebuild N ] media-gfx/bootsplash-0.6-r15
[ebuild N ] sys-kernel/genkernel-3.0.2a
[ebuild N ] app-arch/sharutils-4.2.1-r8
[ebuild N ] sys-fs/e2fsprogs-1.35
[ebuild N ] sys-apps/file-4.09
[ebuild N ] app-arch/gzip-1.3.3-r2
[ebuild N ] app-arch/ncompress-4.2.4
[ebuild N ] app-arch/tar-1.13.94
[ebuild N ] sys-apps/psmisc-21.4
[ebuild N ] dev-perl/DateManip-5.42a-r1
[ebuild N ] dev-perl/Time-Duration-1.02
[ebuild N ] app-portage/genlop-0.30.1
[ebuild N ] sys-apps/fbset-2.1
[ebuild N ] dev-libs/popt-1.7-r1
[ebuild N ] net-misc/rsync-2.6.0-r1
[ebuild N ] sys-apps/slocate-2.7-r5
[ebuild N ] sys-apps/procps-3.2.1
[ebuild N ] sys-devel/make-3.80
[ebuild N ] sys-libs/slang-1.4.9
[ebuild N ] app-editors/nano-1.3.2
[ebuild N ] net-misc/dhcpcd-1.3.22_p4-r5
[ebuild N ] dev-perl/XML-Parser-2.34
[ebuild N ] dev-util/intltool-0.30
[ebuild N ] dev-util/pkgconfig-0.15.0
[ebuild N ] gnome-base/gnome-mime-data-2.4.1
[ebuild N ] dev-libs/glib-2.4.0
[ebuild N ] gnome-base/libgtop-2.5.2
[ebuild N ] dev-libs/libxml2-2.6.9
[ebuild N ] app-text/opensp-1.5-r1
[ebuild N ] app-text/sgml-common-0.6.3-r4
[ebuild N ] app-text/openjade-1.3.2-r1
[ebuild N ] app-arch/unzip-5.50-r2
[ebuild N ] app-text/docbook-sgml-dtd-3.0-r1
[ebuild N ] app-text/docbook-sgml-dtd-3.1-r1
[ebuild N ] app-text/docbook-sgml-dtd-4.1-r1
[ebuild N ] dev-perl/SGMLSpm-1.03-r5
[ebuild N ] app-text/docbook-dsssl-stylesheets-1.77-r2
[ebuild N ] app-text/docbook-xml-simple-dtd-1.0
[ebuild N ] net-www/lynx-2.8.5
[ebuild N ] app-text/docbook-xml-simple-dtd-4.1.2.4
[ebuild N ] app-text/docbook-xsl-stylesheets-1.62.4
[ebuild N ] app-text/docbook-xml-dtd-4.2
[ebuild N ] app-text/docbook-sgml-dtd-4.0-r1
[ebuild N ] app-text/docbook-sgml-utils-0.6.12-r2
[ebuild N ] app-text/docbook-xml-dtd-4.1.2-r4
[ebuild N ] dev-libs/libxslt-1.1.6
[ebuild N ] app-text/scrollkeeper-0.3.14
[ebuild N ] media-libs/libpng-1.2.5-r4
[ebuild N ] x11-base/opengl-update-1.6
[ebuild N ] x11-misc/ttmkfdir-3.0.9-r1
[ebuild N ] sys-apps/ed-0.2-r3
[ebuild N ] media-libs/fontconfig-2.2.2
[ebuild N ] x11-base/xorg-x11-6.7.0
[ebuild N ] sys-apps/which-2.16
[ebuild N ] app-arch/cpio-2.5
[ebuild N ] app-arch/rpm2targz-9.0-r2
[ebuild N ] sys-apps/utempter-0.5.3.2-r1
[ebuild N ] x11-terms/xterm-184
[ebuild N ] dev-libs/atk-1.6.1
[ebuild N ] x11-libs/pango-1.4.0
[ebuild N ] x11-libs/gtk+-2.4.0-r1
[ebuild N ] x11-libs/startup-notification-0.6
[ebuild N ] x11-libs/libwnck-2.6.0.1
[ebuild N ] gnome-base/libglade-2.3.6
[ebuild N ] dev-util/indent-2.2.9
[ebuild N ] dev-libs/libIDL-0.8.3
[ebuild N ] gnome-base/ORBit2-2.10.1
[ebuild N ] gnome-base/gconf-2.6.1
[ebuild N ] gnome-base/libbonobo-2.6.0
[ebuild N ] media-libs/libart_lgpl-2.3.16
[ebuild N ] gnome-base/libgnomecanvas-2.6.0
[ebuild N ] media-libs/audiofile-0.2.6-r1
[ebuild N ] sys-apps/tcp-wrappers-7.6-r8
[ebuild N ] media-libs/alsa-lib-1.0.4
[ebuild N ] media-sound/esound-0.2.34
[ebuild N ] net-nds/portmap-5b-r8
[ebuild N ] app-admin/fam-2.7.0-r1
[ebuild N ] media-libs/tiff-3.6.1-r1
[ebuild N ] net-print/cups-1.1.20-r1
[ebuild N ] net-fs/samba-3.0.2a-r2
[ebuild N ] x11-misc/shared-mime-info-0.14
[ebuild N ] gnome-base/gnome-vfs-2.6.1.1
[ebuild N ] gnome-base/libgnome-2.6.0
[ebuild N ] gnome-base/libbonoboui-2.6.0
[ebuild N ] gnome-base/gnome-keyring-0.2.1
[ebuild N ] gnome-base/libgnomeui-2.6.0
[ebuild N ] gnome-extra/gnome-system-monitor-2.6.0
[ebuild N ] x11-themes/hicolor-icon-theme-0.4
[ebuild N ] x11-themes/gnome-icon-theme-1.2.1
[ebuild N ] x11-themes/gtk-engines-2.2.0
[ebuild N ] x11-themes/gnome-themes-2.6.1
[ebuild N ] gnome-base/libgnomeprint-2.6.1
[ebuild N ] gnome-base/gnome-desktop-2.6.1
[ebuild N ] gnome-base/gnome-panel-2.6.1
[ebuild N ] net-analyzer/gnome-netstatus-2.6.0.1
[ebuild N ] media-libs/libmad-0.15.1b
[ebuild N ] media-libs/libid3tag-0.15.1b
[ebuild N ] media-libs/gstreamer-0.8.1
[ebuild N ] media-libs/gst-plugins-0.8.1
[ebuild N ] media-plugins/gst-plugins-mad-0.8.1
[ebuild N ] media-plugins/gst-plugins-oss-0.8.1
[ebuild N ] media-plugins/gst-plugins-alsa-0.8.1
[ebuild N ] media-plugins/gst-plugins-esd-0.8.1
[ebuild N ] media-libs/libogg-1.1
[ebuild N ] media-libs/libvorbis-1.0.1-r2
[ebuild N ] media-plugins/gst-plugins-vorbis-0.8.1
[ebuild N ] media-plugins/gst-plugins-libpng-0.8.1
[ebuild N ] gnome-base/gail-1.6.2
[ebuild N ] gnome-base/eel-2.6.1
[ebuild N ] media-plugins/gst-plugins-ogg-0.8.1
[ebuild N ] media-plugins/gst-plugins-gnomevfs-0.8.1
[ebuild N ] net-print/libgnomecups-0.1.6
[ebuild N ] net-print/gnome-cups-manager-0.17
[ebuild N ] net-misc/curl-7.11.1
[ebuild N ] dev-libs/ucl-1.01-r1
[ebuild N ] sys-kernel/gentoo-dev-sources-2.6.5-r1
[ebuild N ] media-libs/libungif-4.1.0.1b
[ebuild N ] media-libs/giflib-4.1.0-r3
[ebuild N ] x11-libs/qt-3.3.2
[ebuild N ] kde-base/kde-env-3-r2
[ebuild N ] kde-base/arts-1.2.2
[ebuild N ] media-libs/libao-0.8.5
[ebuild N ] media-sound/vorbis-tools-1.0.1
[ebuild N ] sys-apps/eject-2.0.13
[ebuild N ] gnome-extra/libgsf-1.8.2
[ebuild N ] dev-libs/libcroco-0.5.0
[ebuild N ] gnome-base/librsvg-2.6.4
[ebuild N ] gnome-base/nautilus-2.6.1
[ebuild N ] gnome-extra/nautilus-media-0.8.0
[ebuild N ] gnome-base/gdm-2.4.4.7-r1
[ebuild N ] gnome-extra/libgtkhtml-2.6.0
[ebuild N ] gnome-extra/yelp-2.6.1
[ebuild N ] x11-libs/libxklavier-1.02
[ebuild N ] media-libs/libexif-0.5.12-r1
[ebuild N ] gnome-base/libgnomeprintui-2.6.1
[ebuild N ] media-gfx/eog-2.6.1
[ebuild N ] app-arch/file-roller-2.6.1
[ebuild N ] app-text/gpdf-0.131
[ebuild N ] gnome-base/gnome-session-2.6.1
[ebuild N ] gnome-extra/zenity-2.6.0
[ebuild N ] x11-wm/metacity-2.8.0
[ebuild N ] gnome-extra/gcalctool-4.3.51
[ebuild N ] sys-libs/gpm-1.20.1
[ebuild N ] app-text/aspell-0.50.5
[ebuild N ] app-dicts/aspell-en-0.51.0
[ebuild N ] x11-libs/gtksourceview-1.0.0
[ebuild N ] app-editors/gedit-2.6.0
[ebuild N ] gnome-extra/gnome-media-2.6.0
[ebuild N ] media-libs/glut-3.7.1
[ebuild N ] dev-python/PyOpenGL-2.0.0.44
[ebuild N ] x11-libs/gtkglarea-1.99.0
[ebuild N ] dev-python/pygtk-2.2.0
[ebuild N ] x11-libs/vte-0.11.10-r1
[ebuild N ] x11-terms/gnome-terminal-2.6.1
[ebuild N ] gnome-base/gnome-applets-2.6.0
[ebuild N ] gnome-extra/gnome-games-2.6.0.1
[ebuild N ] app-cdr/cdrtools-2.01_alpha27-r1
[ebuild N ] gnome-extra/nautilus-cd-burner-2.6.0
[ebuild N ] gnome-extra/gnome-utils-2.6.0
[ebuild N ] gnome-base/control-center-2.6.1
[ebuild N ] app-arch/zip-2.3-r2
[ebuild N ] media-gfx/xloadimage-4.1-r1
[ebuild N ] app-crypt/gnupg-1.2.4
[ebuild N ] net-www/mozilla-1.6-r1
[ebuild N ] net-www/epiphany-1.2.3
[ebuild N ] sys-devel/gdb-6.1
[ebuild N ] gnome-extra/bug-buddy-2.6.0
[ebuild N ] gnome-extra/gconf-editor-2.6.1
[ebuild N ] app-text/ghostscript-7.07.1-r2
[ebuild N ] app-text/ggv-2.6.0
[ebuild N ] gnome-extra/gucharmap-1.4.1
[ebuild N ] gnome-extra/gnome2-user-docs-2.6.0.1
[ebuild N ] gnome-base/gnome-2.6
[ebuild N ] dev-util/yacc-1.9.1-r2
[ebuild N ] net-misc/iputils-021109-r3
[ebuild N ] sys-apps/hdparm-5.5
[ebuild N ] media-sound/cdparanoia-3.9.8-r1
[ebuild N ] x11-libs/openmotif-2.1.30-r5
[ebuild N ] x11-libs/gtk+-1.2.10-r11
[ebuild N ] dev-lang/nasm-0.98.38
[ebuild N ] media-sound/lame-3.96
[ebuild N ] dev-libs/libpcre-4.4
[ebuild N ] kde-base/kdelibs-3.2.2
[ebuild N ] kde-base/kdebase-3.2.2
[ebuild N ] media-libs/musicbrainz-2.0.2-r2
[ebuild N ] media-libs/taglib-1.0
[ebuild N ] media-libs/svgalib-1.9.18-r1
[ebuild N ] media-libs/libsdl-1.2.7-r1
[ebuild N ] media-libs/libmikmod-3.1.11
[ebuild N ] media-sound/xmms-1.2.10-r2
[ebuild N ] media-libs/id3lib-3.8.3-r1
[ebuild N ] media-libs/flac-1.1.0-r1
[ebuild N ] media-libs/libdvdcss-1.2.8
[ebuild N ] sys-libs/lib-compat-1.3
[ebuild N ] media-libs/divx4linux-20030428-r1
[ebuild N ] media-libs/win32codecs-20031001
[ebuild N ] media-libs/xvid-1.0.0_rc4
[ebuild N ] media-libs/libfame-0.9.0-r1
[ebuild N ] media-libs/xine-lib-1_rc3-r3
[ebuild N ] kde-base/kdemultimedia-3.2.2-r1
[ebuild N ] dev-util/ccache-2.3
[ebuild N ] net-misc/openssh-3.8.1_p1
[ebuild N ] sys-apps/findutils-4.1.20-r1
[ebuild N ] media-video/nvidia-kernel-1.0.5336-r2
[ebuild N ] net-misc/wget-1.9.1-r2
[ebuild N ] xfce-base/libxfce4util-4.0.5
[ebuild N ] xfce-base/libxfcegui4-4.0.5
[ebuild N ] xfce-base/libxfce4mcs-4.0.5
[ebuild N ] xfce-base/xfce-mcs-manager-4.0.5
[ebuild N ] xfce-base/xfwm4-4.0.5
[ebuild N ] x11-themes/gtk-engines-xfce-2.1.9/gnome-cups-manager-gcc34.patch
[ebuild N ] dev-libs/dbh-1.0.18
[ebuild N ] xfce-base/xffm-4.0.5
[ebuild N ] app-text/psutils-1.17
[ebuild N ] dev-util/gperf-3.0.1
[ebuild N ] app-text/a2ps-4.13c
[ebuild N ] xfce-base/xfprint-4.0.5
[ebuild N ] xfce-base/xfce4-panel-4.0.5
[ebuild N ] xfce-base/xfce-utils-4.0.5
[ebuild N ] xfce-base/xfce-mcs-plugins-4.0.5
[ebuild N ] xfce-base/xfdesktop-4.0.5
[ebuild N ] xfce-base/xfce4-base-4.0.5
[ebuild N ] xfce-extra/xfcalendar-0.1.8
[ebuild N ] xfce-extra/xfce4-minicmd-0.2.0
[ebuild N ] xfce-extra/xfce4-systemload-0.3.4
[ebuild N ] xfce-extra/xfce4-systray-4.0.5
[ebuild N ] xfce-extra/xfce4-themes-4.0.5
[ebuild N ] xfce-extra/xfce4-trigger-launcher-4.0.5
[ebuild N ] xfce-extra/xfce4-mixer-4.0.5
[ebuild N ] xfce-extra/xfce4-battery-0.2.0
[ebuild N ] xfce-extra/xfce4-iconbox-4.0.5
[ebuild N ] xfce-extra/xfce4-showdesktop-0.3.0
[ebuild N ] xfce-extra/xfce4-netload-0.2.2
[ebuild N ] xfce-extra/xfce4-toys-4.0.5
[ebuild N ] xfce-extra/xfwm4-themes-4.0.5
[ebuild N ] xfce-extra/xffm-icons-4.0.5
[ebuild N ] xfce-base/xfce4-4.0.5
[ebuild N ] sys-devel/distcc-2.13-r1
[ebuild N ] dev-libs/fribidi-0.10.4
[ebuild N ] media-libs/t1lib-5.0.2
[ebuild N ] app-text/xpdf-3.00-r1
[ebuild N ] media-libs/imlib-1.9.14-r1
[ebuild N ] kde-base/kdegraphics-3.2.2
[ebuild N ] kde-base/kdeedu-3.2.2
[ebuild N ] kde-base/kdeutils-3.2.2
[ebuild N ] kde-base/kdetoys-3.2.2
[ebuild N ] kde-base/kdeaccessibility-3.2.2
[ebuild N ] app-crypt/gpgme-0.3.14
[ebuild N ] app-crypt/cryptplug-0.3.15
[ebuild N ] kde-base/kdenetwork-3.2.2
[ebuild N ] kde-base/kdepim-3.2.2
[ebuild N ] kde-base/kdeaddons-3.2.2
[ebuild N ] kde-base/kdeadmin-3.2.2
[ebuild N ] kde-base/kdegames-3.2.2
[ebuild N ] kde-base/kdeartwork-3.2.2
[ebuild N ] kde-base/kde-3.2.2
[ebuild N ] sys-apps/diffutils-2.8.4-r4
[ebuild N ] sys-apps/less-382
[ebuild N ] media-video/nvidia-glx-1.0.5336-r2
[ebuild N ] app-shells/sash-3.7
[ebuild N ] sys-libs/pwdb-0.62
Code: Select all
--- configure.old 2004-04-29 23:56:20.926581760 +0200
+++ configure 2004-04-30 00:04:54.743469720 +0200
@@ -732,21 +732,27 @@
# check that gcc supports our CPU, if not, fall back to earlier ones
# LGB: check -mcpu and -march swithing step by step with enabling
# to fall back till 386.
-
+# gcc >= 3.4.0 doesn't support -mcpu, we have to use -mtune instead
+if [ "$_cc_major" -gt 3 ] || ( [ "$_cc_major" = 3 ] && [ "$_cc_minor" -ge 4 ]) ; then
+ cpuopt=-mtune
+ else
+ cpuopt=-mcpu
+ fi
+
echocheck "GCC & CPU optimization abilities"
cat > $TMPC << EOF
int main(void) { return 0; }
EOF
if test "$_runtime_cpudetection" = no ; then
if test "$proc" = "athlon-xp" || test "$proc" = "athlon-4" || test "$proc" = "athlon-tbird"; then
- cc_check -march=$proc -mcpu=$proc || proc=athlon
+ cc_check -march=$proc $cpuopt=$proc || proc=athlon
fi
if test "$proc" = "k6-3" || test "$proc" = "k6-2"; then
- cc_check -march=$proc -mcpu=$proc || proc=k6
+ cc_check -march=$proc $cpuopt=$proc || proc=k6
fi
if test "$proc" = "k6"; then
- if not cc_check -march=$proc -mcpu=$proc; then
- if cc_check -march=i586 -mcpu=i686; then
+ if not cc_check -march=$proc $cpuopt=$proc; then
+ if cc_check -march=i586 $cpuopt=i686; then
proc=i586-i686
else
proc=i586
@@ -754,37 +760,37 @@
fi
fi
if test "$proc" = "pentium4" || test "$proc" = "pentium3" || test "$proc" = "pentium2" || test "$proc" = "athlon"; then
- cc_check -march=$proc -mcpu=$proc || proc=i686
+ cc_check -march=$proc $cpuopt=$proc || proc=i686
fi
if test "$proc" = "i686" || test "$proc" = "pentium-mmx"; then
- cc_check -march=$proc -mcpu=$proc || proc=i586
+ cc_check -march=$proc $cpuopt=$proc || proc=i586
fi
if test "$proc" = "i586" ; then
- cc_check -march=$proc -mcpu=$proc || proc=i486
+ cc_check -march=$proc $cpuopt=$proc || proc=i486
fi
if test "$proc" = "i486" ; then
- cc_check -march=$proc -mcpu=$proc || proc=i386
+ cc_check -march=$proc $cpuopt=$proc || proc=i386
fi
if test "$proc" = "i386" ; then
- cc_check -march=$proc -mcpu=$proc || proc=error
+ cc_check -march=$proc $cpuopt=$proc || proc=error
fi
if test "$proc" = "error" ; then
- echores "Your $_cc does not even support \"i386\" for '-march' and '-mcpu'."
+ echores "Your $_cc does not even support \"i386\" for '-march' and '$cpuopt'."
_mcpu=""
_march=""
_optimizing=""
elif test "$proc" = "i586-i686"; then
_march="-march=i586"
- _mcpu="-mcpu=i686"
+ _mcpu="$cpuopt=i686"
_optimizing="$proc"
else
_march="-march=$proc"
- _mcpu="-mcpu=$proc"
+ _mcpu="$cpuopt=$proc"
_optimizing="$proc"
fi
else
# i686 is probably the most common CPU - optimize for it
- _mcpu="-mcpu=i686"
+ _mcpu="$cpuopt=i686"
# at least i486 required, for bswap instruction
_march="-march=i486"
cc_check $_mcpu || _mcpu=""
@@ -797,10 +803,10 @@
# TODO: it may be a good idea to check GCC and fall back in all cases
if test "$host_arch" = "i586-i686"; then
_march="-march=i586"
- _mcpu="-mcpu=i686"
+ _mcpu="$cpuopt=i686"
else
_march="-march=$host_arch"
- _mcpu="-mcpu=$host_arch"
+ _mcpu="$cpuopt=$host_arch"
fi
proc="$host_arch"
Code: Select all
cd ${S}; epatch ${FILESDIR}/configure.gcc3.4.patch

No, it will segfault. I can promise you that too...PrakashKC wrote:Uhm, well according to the error message you can "fix" it via CFLAGS, but it is not a nice way.Fixing the code would be better.

External STLport 5.0 beta, not in portage yet. It didn't work. I'm going to have to drop back to 4.x, sadly.irf2003 wrote:robmoss2k,
now with regards to OOo(whatever flavor)
it is not clear what you have been doing, namely:
1) are u using external STLport? if so, STLport in portage
does not play with gcc-3.4
2) also having looked at your ebuild it does not seem to
be using 1), i may be wrong of course.
could you shed some light, as I am at a point were
i can attempt to play wiht OOo.
TIA
younker wrote:younker@HuaKe younker $ ldd /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.0/libstdc++.so.6.0.0
linux-gate.so.1 => (0xffffe000)
libm.so.6 => /lib/libm.so.6 (0x400eb000)
libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libgcc_s.so.1 (0x4010c000)
libc.so.6 => /lib/libc.so.6 (0x40115000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
Yup. Lose -mfpmath=sse, it doesn't perform better is most cases. Let GCC decide on that.taskara wrote:here goes:
gonna rebuild my p4 system with 2004.1 stage1 tarball
gcc 3.4, nptl (and 2.6.5 headers), reiser4
using
-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse
any suggestions before I begin?
cheers

Code: Select all
filter-flags -fforce-addr
Code: Select all
*** Fortran Compiler
checking for g77... no
checking for f77... no
checking for fort77... no
checking for f90... no
configure: WARNING: *** Could not find FORTRAN compiler. Either use
configure: WARNING: *** --with-fc to specify the FORTRAN compiler, or
configure: WARNING: *** --without-fc to specify no FORTRAN support
configure: error: Cannot continue current configuration without FORTRAN compiler
!!! ERROR: sys-cluster/lam-mpi-7.0.4 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failedCode: Select all
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
In file included from /usr/include/xmms/xmmsctrl.h:23,
from xmmssensor.cpp:13:
/usr/include/glib-1.2/glib.h:1308:23: warning: ISO C does not permit named variadic macros
/usr/include/glib-1.2/glib.h:1311:25: warning: ISO C does not permit named variadic macros
/usr/include/glib-1.2/glib.h:1314:26: warning: ISO C does not permit named variadic macros
/usr/include/glib-1.2/glib.h:1317:25: warning: ISO C does not permit named variadic macros
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
In file included from xmmssensor.cpp:13:
/usr/include/xmms/xmmsctrl.h:90: error: extra `;'
make[3]: *** [xmmssensor.o] Error 1
make[3]: *** Waiting for unfinished jobs....
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
make[3]: Leaving directory `/var/tmp/portage/karamba-0.17-r1/work/karamba-0.17/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/karamba-0.17-r1/work/karamba-0.17/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/karamba-0.17-r1/work/karamba-0.17'
make: *** [all] Error 2
!!! ERROR: x11-misc/karamba-0.17-r1 failed.
!!! Function kde_src_compile, Line 128, Exitcode 2
!!! died running emake, kde_src_compile:make
Already tried that and it still fails.stonent wrote:Open the ebuild and look for the filter flags section and add:
The same for the rc4 version.Code: Select all
filter-flags -fforce-addr

Code: Select all
server.c:3460: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -I. -I/var/tmp/portage/bitchx-1.1/work/BitchX/include -I../include -I. -I./include -O2 -march=k8 -pipe -mtune=k8 -Wall -c status.c
gcc -I. -I/var/tmp/portage/bitchx-1.1/work/BitchX/include -I../include -I. -I./include -O2 -march=k8 -pipe -mtune=k8 -Wall -c struct.c
gcc -I. -I/var/tmp/portage/bitchx-1.1/work/BitchX/include -I../include -I. -I./include -O2 -march=k8 -pipe -mtune=k8 -Wall -c tcl_public.c
gcc -I. -I/var/tmp/portage/bitchx-1.1/work/BitchX/include -I../include -I. -I./include -O2 -march=k8 -pipe -mtune=k8 -Wall -c ./term.c
gcc -I. -I/var/tmp/portage/bitchx-1.1/work/BitchX/include -I../include -I. -I./include -O2 -march=k8 -pipe -mtune=k8 -Wall -c timer.c
./term.c:95: error: conflicting types for 'tparm'
./term.c:95: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
/usr/include/ncurses.h:710: error: previous declaration of 'tparm' was here
./term.c:95: error: conflicting types for 'tparm'
./term.c:95: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
/usr/include/ncurses.h:710: error: previous declaration of 'tparm' was here
./term.c: In function `term_init':
./term.c:870: warning: passing arg 1 of `tigetnum' discards qualifiers from pointer target type
./term.c:875: warning: passing arg 1 of `tigetflag' discards qualifiers from pointer target type
./term.c:882: warning: passing arg 1 of `tigetstr' discards qualifiers from pointer target type
./term.c:880: warning: unused variable `tmp'
gmake[1]: *** [term.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
timer.c: In function `BX_delete_timer':
timer.c:371: warning: dereferencing type-punned pointer will break strict-aliasing rules
gmake[1]: Leaving directory `/var/tmp/portage/bitchx-1.1/work/BitchX/source'
make: *** [BitchX] Error 2
!!! ERROR: net-irc/bitchx-1.1 failed.
!!! Function src_compile, Line 87, Exitcode 2
!!! (no error message)
Code: Select all
names.c:1961: warning: dereferencing type-punned pointer will break strict-aliasing rules