View previous topic :: View next topic |
Author |
Message |
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Sun Jun 08, 2003 1:36 pm Post subject: |
|
|
What's the error that you're getting? Watersb appears to be using the CVS sources, which fix an error in fsys_reiserfs.c. I think that the following patch fixes this (apply it to your grub sources once unpacked):
Code: | --- grub-0.92/stage2/fsys_reiserfs.c-original 2003-03-10 01:09:25.000000000
-0500
+++ grub-0.92/stage2/fsys_reiserfs.c 2003-03-10 01:09:47.000000000 -0500
@@ -112,7 +112,7 @@
/* offset in the log of where to start replay after a crash */
__u32 j_first_unflushed_offset;
/* mount id to detect very old transactions */
- __u32 long j_mount_id;
+ unsigned long int j_mount_id;
};
/* magic string to find desc blocks in the journal */ |
Note that this is for grub-0.92-r1. I haven't tried it with any version of grub-0.93; as far as I'm aware, that's still broken.
Let us know how you get on... |
|
Back to top |
|
|
Niko_K Guru
Joined: 19 Sep 2002 Posts: 484 Location: Rietz/Tirol
|
Posted: Sun Jun 08, 2003 5:19 pm Post subject: Hm |
|
|
Sorry, but I'm not a good "ebuild patcher"!
I did the following:
Code: | ebuild /usr/portage/x11-base/xfree/xfree-4.3.0-r2 unpack
....apply the patch....
ebuild /usr/portage/x11-base/xfree/xfree-4.3.0-r2 compile preinst install postinst clean |
(Of course with grub 0.92), but there are quite a few problems with the install.
First of all: There is no /boot/grub after the ebuild finished. There are also a lot of warnings during process and at the end there is something wrong with cp!
Is there an other way to patch an ebuild?
Niko _________________ Meine Homepage
Last edited by Niko_K on Sun Jun 08, 2003 8:09 pm; edited 1 time in total |
|
Back to top |
|
|
fca Guru
Joined: 22 Feb 2003 Posts: 346 Location: Netherlands
|
Posted: Sun Jun 08, 2003 5:47 pm Post subject: Re: Hm |
|
|
Niko_K wrote: | Soory, but I'm not a good "ebuild patcher"!
I did the following:
Code: | ebuild /usr/portage/x11-base/xfree/xfree-4.3.0-r2 unpack
....apply the patch....
ebuild /usr/portage/x11-base/xfree/xfree-4.3.0-r2 compile preinst install postinst clean |
(Of course with grub 0.92), but there are quite a few problems with the install.
First of all: There is no /boot/grub after the ebuild finished. There are also a lot of warnings during process and at the end there is something wrong with cp!
Is there an other way to patch an ebuild?
Niko |
Put an epatch line in your ebuild.
Just look at some other ebuilds (xfree ebuild uses a fair amount of these) to see exactly what it does. After that, you can just emerge the ebuild. |
|
Back to top |
|
|
Niko_K Guru
Joined: 19 Sep 2002 Posts: 484 Location: Rietz/Tirol
|
Posted: Sun Jun 08, 2003 6:28 pm Post subject: Won't work |
|
|
I tried to build a patch file manually and I copied xout file above, saved it in "/usr/portage/sys-apps/grub/files/grub-0.92/grub-0.92-gcc3.3.patch", edited the file name (no c-original anymore) and added the epatch line in the enuild of grub-0.92-r1.
After the emerge started, it crashes when applying the patch and in the logfile there is something like:
Code: | patch: **** malformed patch at line 9: }; |
What is wrong?
Please help me, I've got no working system at the moment,
Niko _________________ Meine Homepage |
|
Back to top |
|
|
Niko_K Guru
Joined: 19 Sep 2002 Posts: 484 Location: Rietz/Tirol
|
Posted: Sun Jun 08, 2003 8:36 pm Post subject: Okay |
|
|
I'd really like to see this problem "fixed", but I changed to Lilo so far!
The latest version of grub won't work with gcc3.3 (and for me also Version 0.92-r1 won't work)
I'm sure that this "bug" will be fixed soon, so I just have to wait!
Niko _________________ Meine Homepage |
|
Back to top |
|
|
watersb Apprentice
Joined: 04 Sep 2002 Posts: 297 Location: take a left turn in Tesuque
|
Posted: Sun Jun 08, 2003 10:41 pm Post subject: |
|
|
I will try to take a look at the GRUB patch for 0.92, to create an new ebuild, but for now 0.93 CVS is working for me.
Also see this patch:
https://bugs.gentoo.org/show_bug.cgi?id=22447 |
|
Back to top |
|
|
Niko_K Guru
Joined: 19 Sep 2002 Posts: 484 Location: Rietz/Tirol
|
Posted: Mon Jun 09, 2003 6:13 am Post subject: Okay |
|
|
This patch worked for gcc3.3 and grub-0.92!
Thanks a lot.
I'm sure that there will be a patch for grub 0.93, so all I have to do is wait.
Thanks,
Niko _________________ Meine Homepage |
|
Back to top |
|
|
nathan_ekstrom n00b
Joined: 23 Jan 2003 Posts: 11
|
Posted: Mon Jun 09, 2003 8:14 pm Post subject: problems with kde... |
|
|
Ok so I emerged the masked glibc and gcc but now when I try to recompile anything in kde it gives me
checking for dlopen in -ldl... (cached) yes
checking for shl_unload in -ldld... no
checking for vsnprintf... yes
checking for snprintf... yes
checking if Qt compiles without flags... no
checking if STL implementation is SGI like... no
checking if STL implementation is HP like... no
configure: error: "no known STL type found - did you forget to install libstdc++-devel ?"
!!! ERROR: kde-base/arts-1.1.2 failed.
!!! Function kde_src_compile, Line 118, Exitcode 1
!!! died running ./configure, kde_src_compile:configure
Any hints? |
|
Back to top |
|
|
watersb Apprentice
Joined: 04 Sep 2002 Posts: 297 Location: take a left turn in Tesuque
|
Posted: Tue Jun 10, 2003 8:32 pm Post subject: The story so far... |
|
|
As promised, here is my report of a GCC 3.3-bootstrapped Gentoo system:
Errors like this:
Code: |
hidden symbol `__bb_init_func' in /usr/i686-pc-linux-gnu/gcc-bin/3.3.
3.3.1/libgcc.a(_bb.oS) is referenced by DSO
|
are associated with using -fprofile-arcs.
Aspell and mozilla fall prey to this; glib and postgresql will compile with -fprofile-arcs...
Flags like -ftracer will crash the compiler in gcc-3.3 (release) -- this problem seems to be less likely in gcc-3.3.1 (from CVS).
The -fweb flag is not supported by gcc-3.3.1 (CVS).
[rant]
Folks, after four intense days of hacking I don't see how anyone could use GCC 3.3. and actually get things working...
OK, OK... so I'm typing this on a Gentoo box built from the ground up on GCC 3.3 with glibc-2.3.2-r2 and kernel 2.5.70-mm5 and NPTL... so yes I am a nut job.
But I find it hard to believe that folks are running full-up mozilla, GNOME... I notice that such ppl are using Athlon. I am using Pentium3.
[/rant]
|
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Tue Jun 10, 2003 11:06 pm Post subject: |
|
|
Ladies and gents...
I did it!!!
I've managed to compile an entire system from scratch using absolutely nothing but GCC 3.3. There's only four things I've had to sacrifice. Two are gnome-pilot and gnome-pilot-conduits. However, they don't really count as I've never managed to get those working when they were in there in the first place. The other two are jpeg-mmx and mjpegtools. I've got things working without using mjpegtools; that wasn't such a strain. However, I am slightly annoyed that I'm using a binary version of jpeg-mmx. This is my one gripe!
FYI, I have done everything without the hammer patch applied. Many things break when using the hammer patch. MANY things. That kinda needs fixing at some point, methinks. Despite not using this patch, a few things (such as pam-login) still require the use of -O2 rather than -O3 as function inlining is broken on these packages.
By the way, as far as grub goes, there's only three files (actually you can get away with just two) that actually need patching - fsys_jfs.c and fsys_reiserfs.c (these are the essentials). It helps to patch configure, too, changing things from -malign-*=1 to -falign-*=1, which results in a smaller and faster grub.
Code: | Portage 2.0.48-r1 (default-x86-1.4, gcc-3.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) XP 1600+
GENTOO_MIRRORS="ftp://mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://ftp.gentoo.skynet.be/pub/gentoo/ ftp://ftp.gentoo.skynet.be/pub/gentoo/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm arts avi crypt cups encode gif jpeg libg++ libwww mikmod mmx motif mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gtkhtml gdbm berkdb slang readline nas bonobo svga ggi guile sdl gpm tcpd pam ssl perl python esd imlib oggvorbis qt opengl cdr X gtk gnome -alsa aalib dga dvd ethereal imap ipv6 -java ldap moznocompose moznoirc moznomail mysql samba sse tiff usb vim-with-x wavelan Xaw3d -kde"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -mfpmath=sse,387 -msse -mmmx -m3dnow -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=64 -falign-jumps=4 -falign-loops=4 -pipe"
CXXFLAGS="-O3 -march=athlon-xp -mfpmath=sse,387 -msse -mmmx -m3dnow -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=64 -falign-jumps=4 -falign-loops=4 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache fixpackages" |
Also, here's what I've managed to get working. If you want a hand in getting any of these to compile with GCC 3.3, I'd be quite happy to help you out:
Code: | sys-devel/gettext-0.11.5-r1
sys-apps/gawk-3.1.2-r3
sys-libs/zlib-1.1.4-r1
dev-python/python-fchksum-1.6.1-r1
sys-apps/bzip2-1.0.2-r2
sys-apps/debianutils-1.16.7-r2
sys-libs/ncurses-5.3-r1
app-shells/bash-2.05b-r5
sys-libs/readline-4.3-r4
sys-devel/libtool-1.4.3-r1
sys-devel/m4-1.4
sys-libs/db-1.85-r1
sys-libs/db-3.2.9-r5
dev-libs/expat-1.95.6-r1
dev-lang/python-2.2.3
sys-apps/fileutils-4.1.11
sys-apps/portage-2.0.48-r1
sys-kernel/linux-headers-2.4.19
sys-apps/baselayout-1.8.6.8-r1
sys-libs/gdbm-1.8.0-r5
sys-apps/texinfo-4.5
sys-apps/groff-1.18.1-r2
sys-devel/libperl-5.8.0
dev-lang/perl-5.8.0-r10
dev-perl/ExtUtils-MakeMaker-6.05-r5
dev-perl/Safe-2.09
sys-devel/patch-2.5.4-r5
sys-devel/binutils-2.14.90.0.2
sys-devel/gcc-config-1.3.3-r1
sys-devel/gcc-3.3
sys-libs/glibc-2.3.2-r1
sys-apps/sed-4.0.7
sys-apps/cronbase-0.2.1-r2
sys-apps/man-1.5l-r6
sys-apps/man-pages-1.56
sys-apps/grep-2.5.1-r1
sys-apps/tcp-wrappers-7.6-r4
media-libs/audiofile-0.2.3-r1
media-sound/esound-0.2.29-r1
x11-base/opengl-update-1.5
sys-devel/make-3.80
app-admin/addpatches-0.2
sys-apps/modutils-2.4.25
sys-kernel/gentoo-sources-2.4.20-r5
media-video/nvidia-kernel-1.0.4363-r2
media-libs/libpng-1.2.5-r4
sys-devel/flex-2.5.4a-r5
media-libs/freetype-2.1.4
x11-misc/ttmkfdir-3.0.9
sys-devel/autoconf-2.57-r1
sys-apps/miscfiles-1.3-r1
sys-libs/cracklib-2.7-r7
dev-libs/glib-1.2.10-r5
sys-libs/pwdb-0.61-r4
sys-devel/automake-1.7.2
sys-libs/pam-0.75-r11
sys-apps/ed-0.2-r3
media-libs/fontconfig-2.2.0-r2
app-arch/unzip-5.50-r1
app-arch/cabextract-0.6
x11-base/xfree-4.3.0-r3
media-video/nvidia-glx-1.0.4363
media-libs/libogg-1.0
media-libs/libvorbis-1.0-r2
dev-util/intltool-0.26
x11-libs/gtk+-1.2.10-r10
dev-lang/nasm-0.98.36
media-libs/jpeg-6b-r3
media-libs/libmpeg3-1.5-r1
media-libs/giflib-4.1.0-r3
dev-libs/DirectFB-0.9.17
gnome-base/ORBit-0.5.17
media-libs/tiff-3.5.7-r1
media-libs/imlib-1.9.14-r1
gnome-base/gnome-libs-1.4.2
media-libs/gdk-pixbuf-0.22.0
dev-libs/libxml-1.8.17-r2
dev-util/indent-2.2.9
dev-libs/popt-1.7-r1
gnome-base/oaf-0.6.10
dev-perl/Text-Balanced-1.95
dev-perl/Parse-RecDescent-1.94
dev-perl/File-Spec-0.82
dev-perl/Test-Harness-2.28
dev-perl/Data-Dumper-2.101
dev-perl/Digest-MD5-2.24
dev-perl/Inline-0.44
dev-perl/Filter-1.29
dev-perl/ExtUtils-F77-1.14-r1
dev-perl/PDL-2.3.4
media-libs/mpeg-lib-1.3.1-r1
sys-libs/gpm-1.20.1
sys-libs/slang-1.4.9
media-libs/aalib-1.4_rc4-r2
dev-perl/XML-Writer-0.4-r2
dev-perl/XML-Parser-2.31-r1
dev-perl/gtk-perl-0.7008-r9
media-gfx/gimp-1.2.4
dev-libs/openssl-0.9.6j
net-misc/wget-1.8.2-r2
net-ftp/curl-7.10.4
net-nds/openldap-2.0.27-r4
sys-apps/pciutils-2.1.10-r1
sys-apps/usbutils-0.11-r1
sys-apps/hotplug-20030501-r1
net-print/cups-1.1.18-r5
net-fs/samba-2.2.8a
dev-libs/libxml2-2.5.7
net-print/foomatic-2.0.2
media-gfx/gimp-print-4.2.5-r1
app-text/ghostscript-7.05.6-r1
gnome-base/gnome-print-0.35-r3
gnome-base/bonobo-1.0.22
gnome-base/libglade-0.17-r6
app-text/sgml-common-0.6.3-r4
app-text/opensp-1.5-r1
app-text/openjade-1.3.2-r1
app-text/docbook-sgml-dtd-3.0-r1
app-text/docbook-xml-simple-dtd-4.1.2.4
app-text/docbook-sgml-dtd-3.1-r1
app-text/docbook-sgml-dtd-4.1-r1
dev-perl/SGMLSpm-1.03-r4
app-text/docbook-xsl-stylesheets-1.60.1
app-text/docbook-xml-dtd-4.2
app-text/docbook-dsssl-stylesheets-1.77-r2
app-text/docbook-sgml-dtd-4.0-r1
app-text/docbook-sgml-utils-0.6.12
dev-libs/libxslt-1.0.30
app-text/docbook-xml-dtd-4.1.2-r3
app-text/scrollkeeper-0.3.12
dev-util/pkgconfig-0.15.0
gnome-base/gnome-mime-data-2.2.1
dev-libs/glib-2.2.2
gnome-base/gnome-common-1.2.4-r3
dev-util/guile-1.6.4
gnome-base/gconf-1.0.8-r4
gnome-base/gnome-vfs-1.0.5-r3
gnome-base/control-center-1.4.0.5-r1
gnome-base/gnome-panel-1.4.2-r2
media-libs/libmikmod-3.1.10-r1
media-sound/xmms-1.2.7-r20
x11-libs/pango-1.2.3
dev-libs/atk-1.2.4
x11-libs/gtk+-2.2.2
dev-libs/libIDL-0.8.2
net-libs/linc-1.0.2
gnome-base/ORBit2-2.6.2
gnome-base/gconf-2.2.1
sys-libs/lib-compat-1.2
net-www/netscape-flash-6.0.79
sys-apps/gzip-1.3.3-r2
app-arch/ncompress-4.2.4
sys-apps/tar-1.13.25-r3
app-shells/bash-completion-20030505-r1
x11-libs/startup-notification-0.5
dev-python/PyXML-0.8.2
gnome-base/libglade-2.0.1
x11-libs/gtkglarea-1.99.0
dev-python/pygtk-1.99.16
x11-libs/vte-0.10.29
gnome-base/bonobo-activation-2.2.2
gnome-base/libbonobo-2.2.2
media-libs/libart_lgpl-2.3.12
gnome-base/libgnomecanvas-2.2.1
net-nds/portmap-5b-r7
app-admin/fam-oss-2.6.10
gnome-base/gnome-vfs-2.2.5
gnome-base/libgnome-2.2.2
gnome-base/libbonoboui-2.2.2
gnome-base/libgnomeui-2.2.1
x11-terms/gnome-terminal-2.2.2
x11-themes/gnome-icon-theme-1.0.5
x11-themes/gtk-engines-metal-2.2.0
x11-themes/gtk-engines-thinice-2.0.2
x11-themes/gtk-engines-redmond95-2.2.0
x11-themes/gtk-engines-pixbuf-2.2.0
x11-themes/gnome-themes-2.2.2
sys-apps/eject-2.0.12-r1
dev-perl/MIME-Base64-2.20
dev-perl/URI-1.23
dev-perl/libnet-1.13
dev-perl/HTML-Tagset-3.03-r2
dev-perl/HTML-Parser-3.28
dev-perl/libwww-perl-5.69
media-video/realone-1
gnome-base/gail-1.2.2
gnome-extra/at-spi-1.1.8
net-mail/mailbase-0.00-r5
net-mail/ssmtp-2.60.3
sys-apps/vcron-3.0.1-r1
app-cdr/cdrtools-2.01_alpha14
app-cdr/xcdroast-0.98_alpha13
sys-apps/grub-0.93.20030118
dev-libs/librep-0.16.2
x11-libs/rep-gtk-0.17-r1
app-arch/zip-2.3-r1
gnome-base/eel-2.2.4
dev-perl/TermReadKey-2.21
gnome-base/libgtop-2.0.2-r1
gnome-extra/gnome2-user-docs-2.0.6
sys-apps/procps-3.1.9
sys-apps/shadow-4.0.3-r6
net-misc/openssh-3.6.1_p2
sys-apps/help2man-1.29
gnome-extra/libgail-gnome-1.0.2
dev-java/java-config-0.2.8
dev-java/blackdown-jdk-1.4.1
gnome-extra/libgsf-1.8.1
gnome-base/librsvg-2.2.5
sys-apps/e2fsprogs-1.33
sys-apps/which-2.14
gnome-extra/gnome-games-2.2.0
dev-util/cscope-15.3
app-editors/vim-core-6.2
app-editors/gvim-6.2
gnome-extra/bonobo-conf-0.16
dev-libs/libunicode-0.4-r1
gnome-extra/gal-0.24
gnome-base/libghttp-1.0.9-r3
gnome-extra/gtkhtml-1.1.10
net-libs/soup-0.7.11
dev-util/gob-1.0.12
app-text/aspell-0.50.3
app-dicts/aspell-en-0.51.0
app-text/gnome-spell-0.5
net-mail/evolution-1.2.4
gnome-base/libgnomeprint-2.2.1.2
net-libs/libsoup-1.99.23
gnome-base/libgnomeprintui-2.2.1.2
gnome-extra/gal-1.99.7
gnome-extra/libgtkhtml-3.0.5
x11-libs/libwnck-2.2.2
gnome-base/gnome-desktop-2.2.2
gnome-base/gnome-panel-2.2.2
gnome-extra/gnome-utils-2.2.3
app-shells/sash-3.4-r5
app-editors/gedit-2.2.1
media-sound/mpg123-0.59r-r2
app-text/acroread-5.06-r3
app-sci/setiathome-3.08-r1
media-libs/lcms-1.09
media-libs/libmng-1.0.4
net-www/mozilla-firebird-0.6-r5
sys-devel/bc-1.06-r5
gnome-extra/gconf-editor-0.4.1
media-libs/libao-0.8.3-r1
media-sound/vorbis-tools-1.0-r1
gnome-base/nautilus-2.2.4
net-libs/libpcap-0.7.2
sys-devel/bison-1.35
net-analyzer/ethereal-0.9.12-r1
sys-apps/psmisc-21.2-r2
app-office/openoffice-bin-1.1_beta-r1
x11-wm/metacity-2.4.55
media-libs/libungif-4.1.0.1b
media-libs/svgalib-1.9.17-r1
media-libs/nas-1.6
media-libs/libgii-0.8.1
media-libs/libggi-2.0.1-r1
dev-util/dialog-0.9_beta20030308-r1
app-admin/gentoolkit-0.1.26-r1
dev-db/mysql-4.0.13-r1
x11-libs/qt-3.1.2-r3
dev-perl/Test-Simple-0.47
dev-perl/Storable-2.07
dev-perl/Net-Daemon-0.36-r1
dev-perl/PlRPC-0.2016-r1
dev-perl/DBI-1.37
dev-perl/DBD-mysql-2.1027
media-sound/mad-0.14.2b-r2
kde-base/kde-env-3-r2
kde-base/arts-1.1.2
media-libs/libsdl-1.2.5-r2
media-sound/cdparanoia-3.9.8
media-libs/divx4linux-20020418-r2
media-sound/lame-3.93.1-r1
media-libs/libdv-0.99
media-libs/win32codecs-0.90.1-r2
media-libs/libsndfile-1.0.5
media-libs/faad2-1.1
media-libs/xvid-0.9.1
media-video/mplayer-0.90-r1
media-video/ffmpeg-0.4.6-r1
gnome-base/control-center-2.2.2
net-misc/dhcpcd-1.3.22_p4
app-arch/file-roller-2.2.4
app-text/ggv-2.0.1
media-libs/openquicktime-1.0-r1
media-libs/libdvdcss-1.2.6
media-libs/libdvdread-0.9.4
media-libs/libmpeg2-0.3.1
media-libs/libdvdnav-0.1.9
media-libs/gstreamer-0.6.2
media-libs/hermes-1.3.2-r2
media-libs/gst-plugins-0.6.2
gnome-extra/libgtkhtml-2.2.4
gnome-extra/yelp-2.2.2
gnome-base/gnome-session-2.2.2
gnome-extra/gnome-media-2.2.1.1
gnome-extra/gnome-system-monitor-2.0.4-r1
gnome-base/gdm-2.4.1.4
gnome-base/gnome-applets-2.2.2
gnome-extra/acme-2.0.4
gnome-extra/bug-buddy-2.2.106
gnome-extra/nautilus-media-0.2.2
media-gfx/eog-2.2.1
gnome-base/gnome-2.2.1
x11-wm/sawfish-1.3
x11-themes/sawfish-themes-0.0.1-r3
sys-apps/sh-utils-2.0.15
app-editors/nano-1.2.1
sys-apps/pam-login-3.11
sys-apps/util-linux-2.11z-r4
dev-perl/perl-tk-800.024-r2
x11-misc/msetimon-2.07
sys-apps/less-381
sys-apps/fbset-2.1
sys-apps/devfsd-1.3.25-r3
sys-apps/netkit-base-0.17-r7
sys-apps/reiserfsprogs-3.6.8
sys-apps/kbd-1.06-r1
media-libs/a52dec-0.7.4
sys-devel/bin86-0.16.11
sys-apps/file-4.02
app-editors/vim-6.2
media-libs/id3lib-3.8.3-r1
media-sound/grip-3.0.7
media-libs/jpeg-mmx-1.1.2-r1
media-libs/libmovtar-0.1.3-r1
net-ftp/ftp-0.17-r2
sys-apps/memtest86-3.0-r1
sys-apps/sharutils-4.2.1-r6
net-www/lynx-2.8.4.1d
sys-apps/setserial-2.17-r2
media-libs/quicktime4linux-1.5.5-r1
sys-apps/diffutils-2.8.4-r3
sys-apps/findutils-4.1.7-r4
sys-devel/gdb-5.3
app-text/gtkspell-2.0.4
net-im/gaim-0.63-r1
app-admin/ufed-0.32
x11-base/xfree-drm-4.3.0-r2
media-video/avifile-0.7.37.20030522
sys-apps/net-tools-1.60-r7
sys-apps/cpio-2.5
net-misc/rsync-2.5.6-r2
sys-apps/slocate-2.7-r2
sys-apps/textutils-2.1
app-admin/gentoo-stats-0.4
dev-libs/libpcre-4.2-r1
sys-apps/hdparm-5.3-r2
app-admin/metalog-0.6-r10
app-games/fortune-mod-9708-r1 |
|
|
Back to top |
|
|
Exner Tux's lil' helper
Joined: 08 Apr 2003 Posts: 128 Location: Melbourne, Australia
|
Posted: Wed Jun 11, 2003 2:19 am Post subject: wxGTK |
|
|
I have had a problem with x11-libs/wxGTK. The unicode version of the libs normally generated during compile, are not generated when compiling with gcc-3.3 from portage. _________________ - Exner (Antony Suter) |
|
Back to top |
|
|
OneOfOne Guru
Joined: 28 May 2003 Posts: 368
|
Posted: Wed Jun 11, 2003 8:02 pm Post subject: |
|
|
hi guys.. i just wanted to say i have a 100% pure gcc-3.3 gentoo box
i only ran into 2 problems:
1)grub but a cvs checkout and the -minline-all-stringops hack fixed it
2)speechd (festival wont compile)
other than that everything else works
here's my world file :
Quote: | app-admin/dosfstools
app-admin/gentoolkit
app-admin/gkrellm
app-admin/kportage
app-admin/mirrorselect
app-admin/webmin
app-cdr/k3b
app-editors/hexedit
app-editors/quanta
app-emulation/wine
app-emulation/zsnes
app-games/lbreakout2
app-misc/linux_logo
app-text/aspell
dev-db/mysql
dev-db/phpmyadmin
dev-java/blackdown-jre
dev-libs/glib
dev-libs/openssl
dev-perl/mod_perl
dev-php/mod_php
dev-php/php
dev-util/cvs
dev-util/kdevelop
dev-util/lincvs
dev-util/valgrind
dev-util/yacc
kde-base/arts
kde-base/kde
media-gfx/xv
media-libs/fontconfig
media-libs/libogg
media-libs/libvorbis
media-libs/pdflib
media-libs/xine-lib
media-plugins/xmms-arts
media-video/ati-gatos
media-video/kmplayer
media-video/mplayer
media-video/xine-ui
net-analyzer/traceroute
net-dialup/ppp
net-dialup/pppconfig
net-firewall/iptables
net-firewall/kmyfirewall
net-im/gaim
net-irc/xchat
net-misc/netkit-telnetd
net-p2p/bittorrent
net-p2p/kmldonkey
net-p2p/mldonkey
net-p2p/qtella
net-www/apache
net-www/mozilla-firebird
net-www/phpBB
net-www/prozilla
sys-apps/hwsetup
sys-apps/lilo
sys-apps/lm-sensors
sys-apps/module-init-tools
sys-apps/reiserfsprogs
sys-apps/smartmontools
sys-devel/prelink
sys-kernel/ac-sources
sys-kernel/gentoo-sources
sys-kernel/mm-sources
sys-libs/gpm
x11-base/xfree
x11-base/xfree-drm
x11-misc/bbkeys
x11-misc/bbrun
x11-misc/fluxter
x11-plugins/gkrellm-hddtemp
x11-plugins/gkrellmms
x11-terms/aterm
x11-themes/gentoo-artwork
x11-themes/xmms-themes
|
(before today) CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -m3dnow -fforce-addr -ftracer -mfpmath=sse -falign-functions=4 -fprefetch-loop-arrays"
(today+) CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer -m3dnow -fforce-addr -fno-unit-at-a-time -fno-unroll-loops -ftracer -mfpmath=sse -falign-functions=4 -fprefetch-loop-arrays"
kernels:2.4.20-gentoo-r5, ac, 2.5.70-mm8
peace |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Thu Jun 12, 2003 2:50 pm Post subject: Re: wxGTK |
|
|
Exner wrote: | I have had a problem with x11-libs/wxGTK. The unicode version of the libs normally generated during compile, are not generated when compiling with gcc-3.3 from portage. |
This compiled and merged fine for me. I'm using GCC 3.3 without the Hammer patch, though, so that might be your problem. |
|
Back to top |
|
|
Niko_K Guru
Joined: 19 Sep 2002 Posts: 484 Location: Rietz/Tirol
|
Posted: Thu Jun 12, 2003 5:59 pm Post subject: ttmkfdir |
|
|
Hi,
so finally I succeeded in compiling a "ready-to-work" gentoo with gcc3.3.
"Ready-to-work" means that I can boot and at least use a console to work.
However, there is a big problem!
Ttmkfdir won't compile and so I am not able to use xfree!
I installed the ebuild and also the hammer patch, but I don't use an Athlon, I use a P4, so I don't think that this is a problem!
I also don't think that this is a problem related to USE and/or CFLAGS, I tried quite some combinations!
Does anybody else has problems with ttmkfdir?
Niko
EDIT: I finally suceeded in compiling!
It helped to change the CFLAGS and delete "-O3" (didn't help to change it to -O2 or -O1, just left it blank) _________________ Meine Homepage |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Thu Jun 12, 2003 11:21 pm Post subject: Re: ttmkfdir |
|
|
Niko_K wrote: | I installed the ebuild and also the hammer patch, but I don't use an Athlon, I use a P4, so I don't think that this is a problem! |
I'm fairly sure that your problem is related to the Hammer patch. The problem is not with Athlon processors; it's with non-Hammer processors. So an Athlon XP has a problem - but so does a P4.
Re-emerging GCC 3.3 WITHOUT the Hammer patch solved almost every CFLAGS problem I had - all I'm still without are jpeg-mmx, mjpegtools, gnome-pilot and gnome-pilot-conduits - and these don't compile even if I leave CFLAGS and CXXFLAGS blank, it's just due to broken code.
I would strongly suggest removing the Hammer patch until it's suitably fixed. |
|
Back to top |
|
|
watersb Apprentice
Joined: 04 Sep 2002 Posts: 297 Location: take a left turn in Tesuque
|
Posted: Fri Jun 13, 2003 3:46 am Post subject: |
|
|
I am using GCC 3.3.1 (CVS) -- that is, WITHOUT the Hammer patch, just "pure" Gcc from CVS HEAD.
I've now got a system running mm-sources-r5, xfree, mozilla-cvs (1.5a), postgresql. Bootstrapped from a GCC 3.3. system via glibc 2.3.2-r2. (Also installed mozilla-firebird-cvs, but using mozilla-cvs now in order to have mail)
My hard-won CFLAGS collection:
Code: |
-fprofile-arcs -ftracer -march=pentium3 -finline-functions -frename-registers -fforce-addr -Os -pipe
|
Most common problem is baffling linker errors with -fprofile-arcs, I wish I knew more... anyway, I simply inherit flag-o-matic and filter-flags the profiling for some packages (like all Mozilla-based things).
Not clear that this is worth all the work, but it certainly seems snappier than running Windows XP on the same hardware. Not a troll -- but recently some of my favorite "big" OSS lilke Mozilla and OpenOffice have seemed much more solid on the Windows side of things. With this setup it seems better on Linux.
(I dual-boot a Dell Inspiron I8K 700MHz/1Ghz PIII with 512 MB RAM.) |
|
Back to top |
|
|
Niko_K Guru
Joined: 19 Sep 2002 Posts: 484 Location: Rietz/Tirol
|
Posted: Fri Jun 13, 2003 6:26 am Post subject: Re: ttmkfdir |
|
|
robmoss2k wrote: | Niko_K wrote: | I installed the ebuild and also the hammer patch, but I don't use an Athlon, I use a P4, so I don't think that this is a problem! |
I'm fairly sure that your problem is related to the Hammer patch. The problem is not with Athlon processors; it's with non-Hammer processors. So an Athlon XP has a problem - but so does a P4.
Re-emerging GCC 3.3 WITHOUT the Hammer patch solved almost every CFLAGS problem I had - all I'm still without are jpeg-mmx, mjpegtools, gnome-pilot and gnome-pilot-conduits - and these don't compile even if I leave CFLAGS and CXXFLAGS blank, it's just due to broken code.
I would strongly suggest removing the Hammer patch until it's suitably fixed. |
Sorry, I thought it is the other way round!
I should keep that in mind if there is another problem!
Niko _________________ Meine Homepage |
|
Back to top |
|
|
klette n00b
Joined: 30 Apr 2003 Posts: 34 Location: Norway
|
Posted: Fri Jun 13, 2003 7:01 am Post subject: |
|
|
I can compile almost eveything exept ncurses-5.3-r2 , *box'es and pam-login ( latest )
Any tips? _________________ Never read the manual... It can betray you... |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Fri Jun 13, 2003 7:41 am Post subject: |
|
|
klette wrote: | I can compile almost eveything exept ncurses-5.3-r2 , *box'es and pam-login ( latest )
Any tips? |
Yes. ncurses and pam-login both need -O2 as -finline-functions (part of -O3) break them with the GCC 3.3 Hammer patch. |
|
Back to top |
|
|
klette n00b
Joined: 30 Apr 2003 Posts: 34 Location: Norway
|
Posted: Fri Jun 13, 2003 8:30 am Post subject: |
|
|
Thanx...
Now its just my boxes ...
i need them..... _________________ Never read the manual... It can betray you... |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Fri Jun 13, 2003 12:52 pm Post subject: |
|
|
klette wrote: | Now its just my boxes ... |
Which "boxes" do you refer to? Any chance of a few specific package names? |
|
Back to top |
|
|
Niko_K Guru
Joined: 19 Sep 2002 Posts: 484 Location: Rietz/Tirol
|
|
Back to top |
|
|
Niko_K Guru
Joined: 19 Sep 2002 Posts: 484 Location: Rietz/Tirol
|
Posted: Sat Jun 14, 2003 1:15 pm Post subject: |
|
|
Matje wrote: | https://bugs.gentoo.org/show_bug.cgi?id=21471
There ya go
Instant-java
Download the tarball and extract it in your portage-overlay, then emerge it. Should work out of the box, if any problems, report them here or in the bug report
Now let's take on openoffice
P.S.: Really really make sure you have enough free HD space, 2 GB didn't suffice for me, make sure you have at least 2.5 - 3 GB free... |
I found this thread, ...
Which jdk are you using? I can't compile sun-jdk and I'd like to use sun-jdk! Just look at the link above and you'll see some error messages, ...
Niko _________________ Meine Homepage |
|
Back to top |
|
|
scrill n00b
Joined: 14 Jun 2003 Posts: 2
|
Posted: Sat Jun 14, 2003 6:54 pm Post subject: qt-3.1.2-r3 |
|
|
Hello
Thanks to many of the informative posts in this topic, I was successfully able to bootstap a gcc3.3 system from scratch. I ran into the common issues much like everyone else....having to compile grub from cvs, applying patches to ncurses/pam-login, etc. Thanks to your expertise, I was able to get past those problems. However, I have come up against an issue which I have noticed that no one else seems to be having, so I thought I'd ask for help.
When building the dependencies for an "emerge kde", I got a compile error when emerging qt-3.1.2-r3.
Code: |
XRender enabled.
Xft auto-detection... (-L/usr/lib/mysql -I/usr/include/mysql)
Found libXft.a in /usr/X11R6/lib
Found libXft.so in /usr/lib
Found X11/Xft/Xft.h in /usr/X11R6/include
Found X11/Xft/Xft.h in /usr/include
head: `-1' option is obsolete; use `-n 1'
Try `head --help' for more information.
grep: write error: Broken pipe
head: `-1' option is obsolete; use `-n 1'
Try `head --help' for more information.
Found Xft version .
Could not find X11/Xft/XftFreetype.h anywhere in /usr/include/mysql /usr/X11R6/include /usr/include /include
Xft disabled.
Xft support cannot be enabled due to functionality tests!
Turn on verbose messaging (-v) to ./configure to see the final report.
If you believe this message is in error you may use the continue
switch (-continue) to ./configure to continue.
!!! ERROR: x11-libs/qt-3.1.2-r3 failed.
!!! Function src_compile, Line 113, Exitcode 101
!!! (no error message)
|
I manually searched my entire filesystem and could not find a trace of XftFreetype.h. I then re-emerged xft hoping that would solve the problem, which it did not. I haven't been able to find anyone with a similar issue and don't know how to proceed. Any help would be greatly appreciated.
Code: |
# xft-config --version
2.0.0
|
Code: |
# emerge info
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.3, glibc-2.3.2-r2)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
GENTOO_MIRRORS="<your_mirror_here> http://gentoo.mirrors.pair.com http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm arts crypt encode gpm libg++ mikmod mpeg ncurses nls pdflib quicktime sdl spell svga xml2 xmms xv zlib gdbm slang readline esd imlib oggvorbis motif opengl freetype truetype xft avi berkdb cups gif gnome gd gtk -java jpeg kde mozilla libwww ssl mmx mysql oci8 odbc perl png qt python sse X tcpd samba pam"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mmmx -msse -msse2 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium4 -mmmx -msse -msse2 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
|
|
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Sun Jun 15, 2003 1:48 am Post subject: Re: qt-3.1.2-r3 |
|
|
scrill wrote: | When building the dependencies for an "emerge kde", I got a compile error when emerging qt-3.1.2-r3. |
I seem to remember being unable to compile qt-3.1* with GCC 3.3 with the Hammer patch, but being able to compile it with GCC 3.3 without the Hammer patch. Are you using it? If so, you might perhaps want to try recompiling it (and possibly also its dependencies, emerge -e qt) without the Hammer patch?
Just a thought. |
|
Back to top |
|
|
|