Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

GCC 3.4

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Locked
Advanced search
1814 posts
  • Page 24 of 73
    • Jump to page:
  • Previous
  • 1
  • …
  • 22
  • 23
  • 24
  • 25
  • 26
  • …
  • 73
  • Next
Author
Message
IntergalacticWalrus
Guru
Guru
User avatar
Posts: 513
Joined: Tue Jan 07, 2003 2:52 am
Location: Montreal QC (Canada)

Post by IntergalacticWalrus » Thu Apr 29, 2004 2:46 pm

Is it safe to emerge gcc 3.4.0 ?? I mean, you can switch between 3.3.x and 3.4.0 through gcc-config, right?
Top
younker
Apprentice
Apprentice
Posts: 281
Joined: Wed Feb 18, 2004 3:25 am
Location: China

Post by younker » Thu Apr 29, 2004 2:53 pm

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)
Top
robmoss
Retired Dev
Retired Dev
Posts: 2634
Joined: Tue May 27, 2003 4:42 pm
Location: Jesus College, Oxford
Contact:
Contact robmoss
Website

Post by robmoss » Thu Apr 29, 2004 3:07 pm

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)
This is usually fixed by changing:

Code: Select all

value
to:

Code: Select all

this->value
Reality is for those who can't face Science Fiction.

emerge -U will kill your Gentoo
ecatmur, Lord of Portage Bash Scripts
Top
irf2003
Veteran
Veteran
Posts: 1078
Joined: Wed Sep 10, 2003 12:57 pm

Post by irf2003 » Thu Apr 29, 2004 5:35 pm

younker 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)
just have some sane compiler flags, say, like

Code: Select all

CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"
hth
Top
robmoss
Retired Dev
Retired Dev
Posts: 2634
Joined: Tue May 27, 2003 4:42 pm
Location: Jesus College, Oxford
Contact:
Contact robmoss
Website

Post by robmoss » Thu Apr 29, 2004 5:50 pm

irf2003 wrote:
younker 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)
just have some sane compiler flags, say, like

Code: Select all

CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"
hth
Eh?

No. No chance, it's broken code, pure and simple, and it needs fixing. There are no two ways about it. You could try CFLAGS="" CXXFLAGS="" emerge ddd and I guarantee that this error means that under any circumstances the code is broken. And I should know, I've seen it about 50 times so far. CFLAGS are almost never an issue with GCC 3.4, and I know what the problem flags are. This isn't the problem here.
Reality is for those who can't face Science Fiction.

emerge -U will kill your Gentoo
ecatmur, Lord of Portage Bash Scripts
Top
PrakashP
Veteran
Veteran
User avatar
Posts: 1249
Joined: Mon Oct 27, 2003 4:10 pm
Location: C.C.A.A., Germania

Post by PrakashP » Thu Apr 29, 2004 7:51 pm

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. :)
Top
thundersteele
Apprentice
Apprentice
Posts: 219
Joined: Sat Aug 30, 2003 12:30 pm

Post by thundersteele » Thu Apr 29, 2004 8:49 pm

So, a little summary of my experiences:

qt-3.3.2 compiled without problems, so did arts, kdelibs, kdebase
arts keeps crashing, so does kcminit (part of kdebase), this could be because of new qt, new gcc, glibc or whatever.
some video codecs seem to be broken, don't know exactly which ones.

someone else having problems with kde?

gcc-3.4.0
glibc--2.3.3_pre20040420
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"

Programs that failed to compile until now:

Code: Select all

media-gfx/sane-backends-1.0.13-r3
sys-libs/cracklib-2.7-r9
Didn't try mplayer and some other yet.
Top
irf2003
Veteran
Veteran
Posts: 1078
Joined: Wed Sep 10, 2003 12:57 pm

Post by irf2003 » Thu Apr 29, 2004 8:51 pm

first of all, please forgive me if this is long.
just built a rather bloated gentoo system, in a chrooted environment
based on pure gcc-3.4 , and here are my findings:-
using snapshot: portage-20040428.tar.bz2
the emerge info

Code: 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"
the world

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
gcc-3.4.0 Issues:
1) kde-base/kdeaddons-3.2.2 - gcc-34 patch not yet in portage
2) media-libs/libsdl-1.2.7-r1 - gcc-34 patch not yet in portage
3) media-libs/xine-lib-1_rc3-r3 - ebuild should "append-flags -mno-sse2" on x86 say "use x86 && append-flags -mno-sse2"
4) net-print/gnome-cups-manager-0.17 - gnome-cups-manager-gcc34.patch no yet in portage
note:- to mitigate 1)-4) PORTDIR_OVERLAY has been used, otherwise all is is as per the portage tree at the snapshot
mentioned above

hth
Last edited by irf2003 on Thu Apr 29, 2004 9:45 pm, edited 2 times in total.
Top
irf2003
Veteran
Veteran
Posts: 1078
Joined: Wed Sep 10, 2003 12:57 pm

Post by irf2003 » Thu Apr 29, 2004 9:00 pm

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
Top
ares
Apprentice
Apprentice
User avatar
Posts: 280
Joined: Mon Oct 13, 2003 6:06 pm
Location: Savigliano (CN)
Contact:
Contact ares
Website

Post by ares » Thu Apr 29, 2004 10:10 pm

Patch mplayer-1.0_pre4.ebuild for deprecated -mcpu
configure.gcc3.4.patch

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"
edit mplayer-1.0_pre4.ebuild

Code: Select all

cd ${S}; epatch ${FILESDIR}/configure.gcc3.4.patch
My portage and homepage
Top
ares
Apprentice
Apprentice
User avatar
Posts: 280
Joined: Mon Oct 13, 2003 6:06 pm
Location: Savigliano (CN)
Contact:
Contact ares
Website

Post by ares » Thu Apr 29, 2004 10:17 pm

EXPERIMENTAL
download this is patch for screenshoot in mplayer
http://mplayerhq.hu/pipermail/mplayer-d ... 24116.html
My portage and homepage
Top
younker
Apprentice
Apprentice
Posts: 281
Joined: Wed Feb 18, 2004 3:25 am
Location: China

why libstdc++ from gcc 3.4.0 depend libgcc_s.so from gcc 3.3

Post by younker » Thu Apr 29, 2004 11:06 pm

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)
Top
robmoss
Retired Dev
Retired Dev
Posts: 2634
Joined: Tue May 27, 2003 4:42 pm
Location: Jesus College, Oxford
Contact:
Contact robmoss
Website

Post by robmoss » Fri Apr 30, 2004 1:11 am

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. :)
No, it will segfault. I can promise you that too...
Reality is for those who can't face Science Fiction.

emerge -U will kill your Gentoo
ecatmur, Lord of Portage Bash Scripts
Top
robmoss
Retired Dev
Retired Dev
Posts: 2634
Joined: Tue May 27, 2003 4:42 pm
Location: Jesus College, Oxford
Contact:
Contact robmoss
Website

Post by robmoss » Fri Apr 30, 2004 1:15 am

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
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.

Also - my ebuild isn't actually really what I'm using. It's the beginnings of a work in process - the rest was manual! So, I suggest that if you're keen, you should probably start again, and separately, so that we at least have our own ideas. Feel free to e-mail me if you get stuck on something particular though. Personally, I've moved to Abiword-2.1.2 anyway, as it's what I was looking for in the first place when I was after a decent word processor, so the desperation to get it working has dropped off somewhat...
Reality is for those who can't face Science Fiction.

emerge -U will kill your Gentoo
ecatmur, Lord of Portage Bash Scripts
Top
taskara
Advocate
Advocate
Posts: 3762
Joined: Wed Apr 10, 2002 11:38 pm
Location: Australia

Post by taskara » Fri Apr 30, 2004 2:10 am

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
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Top
younker
Apprentice
Apprentice
Posts: 281
Joined: Wed Feb 18, 2004 3:25 am
Location: China

Re: why libstdc++ from gcc 3.4.0 depend libgcc_s.so from gcc

Post by younker » Fri Apr 30, 2004 3:29 am

solved, remove /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3 from /etc/ld.so.conf
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)
Top
moocha
Watchman
Watchman
Posts: 5722
Joined: Tue Oct 21, 2003 6:45 pm

Post by moocha » Fri Apr 30, 2004 3:32 am

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
Yup. Lose -mfpmath=sse, it doesn't perform better is most cases. Let GCC decide on that.
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Top
taskara
Advocate
Advocate
Posts: 3762
Joined: Wed Apr 10, 2002 11:38 pm
Location: Australia

Post by taskara » Fri Apr 30, 2004 3:59 am

cheers moocha.. I never actually use that, but this time thought maybe I should.

thanks for the heads up!
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Top
MG-Cloud
Apprentice
Apprentice
Posts: 200
Joined: Tue Oct 28, 2003 1:21 am

Post by MG-Cloud » Fri Apr 30, 2004 4:12 am

XMMS apparently doesn't work. I've tried reemerging it with differnet cflags as well as faad2. Here's the error I get:

/usr/lib/libmp4v2.so.0: undefined symbol: _ZN11MP4Property7GetTypeEPKc
Inconsistency detected by ld.so: ../sysdeps/generic/dl-tls.c: 72: _dl_next_tls_modid: Assertion `result <= _rtld_local._dl_tls_max_dtv_idx' failed!

libmp4v2.so.0 is owned by faad2, which compiles fine but is apparently broken. Is anyone else having this problem?
Top
stonent
Veteran
Veteran
User avatar
Posts: 1139
Joined: Thu Aug 07, 2003 2:05 am
Location: Texas
Contact:
Contact stonent
Website

Post by stonent » Fri Apr 30, 2004 4:25 am

I just emerged a fresh new copy of XMMS today. No problems.
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Top
forceflow2
Guru
Guru
User avatar
Posts: 464
Joined: Wed Apr 16, 2003 2:38 pm
Location: South Carolina
Contact:
Contact forceflow2
Website

Post by forceflow2 » Fri Apr 30, 2004 5:55 am

xine-lib_1-rc3-r3 still doesn't wanna emerge, always stops on same error no matter the cflags used. Dunno what else to try. :(
That rank under my username doesn't mean I know everything, it just means I ask a lot of questions.
Top
stonent
Veteran
Veteran
User avatar
Posts: 1139
Joined: Thu Aug 07, 2003 2:05 am
Location: Texas
Contact:
Contact stonent
Website

Post by stonent » Fri Apr 30, 2004 6:35 am

Open the ebuild and look for the filter flags section and add:

Code: Select all

filter-flags -fforce-addr
The same for the rc4 version.
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Top
Master_Of_Disaster
l33t
l33t
User avatar
Posts: 610
Joined: Fri Feb 28, 2003 7:57 pm
Location: 15.05072° East, 48.13747° North (aka Mauer), Austria
Contact:
Contact Master_Of_Disaster
Website

Post by Master_Of_Disaster » Fri Apr 30, 2004 8:25 am

Just completed emerge -eD world. The packages that wouldn't compile (minus the ones already listed above) are:
sys-cluster/lam-mpi (complains about missing Fortran compiler)

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 failed
x11-misc/karamba

Code: 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
*edit* added error messages.
*edit2* silly me, lam-mpi works after USE="f77" emerge gcc *grrr*
Last edited by Master_Of_Disaster on Fri Apr 30, 2004 8:42 am, edited 2 times in total.
post tenebras lux, post fenestras tux
Registered Linux User Nr. 312509
Adopt an unanswered post today!
Top
forceflow2
Guru
Guru
User avatar
Posts: 464
Joined: Wed Apr 16, 2003 2:38 pm
Location: South Carolina
Contact:
Contact forceflow2
Website

Post by forceflow2 » Fri Apr 30, 2004 8:34 am

stonent wrote:Open the ebuild and look for the filter flags section and add:

Code: Select all

filter-flags -fforce-addr
The same for the rc4 version.
Already tried that and it still fails.
That rank under my username doesn't mean I know everything, it just means I ask a lot of questions.
Top
jimbojetset
n00b
n00b
User avatar
Posts: 67
Joined: Sun Feb 01, 2004 2:28 pm
Location: UK

Post by jimbojetset » Fri Apr 30, 2004 9:38 am

bitchx-1.1 not compiling:

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)
Getting these types of warning throughout

Code: Select all

names.c:1961: warning: dereferencing type-punned pointer will break strict-aliasing rules
Tried with conservative and more extreme CFLAGS but makes no difference.
Top
Locked

1814 posts
  • Page 24 of 73
    • Jump to page:
  • Previous
  • 1
  • …
  • 22
  • 23
  • 24
  • 25
  • 26
  • …
  • 73
  • Next

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic