You are not logged in.
Pages: 1
I've been recompiling my entire system with the ABS packages, and while almost all packages compiled well under gcc4.3, some packages had trouble with it.
So I've discovered the 'bugs' and made some patches. I would like to share them with the community. (I don't' know if this is the right place, but I guess it is)
Nautilus (2.22.5) had problems with one include:
--- libnautilus-private/nautilus-file.h 2008-06-30 06:26:39.000000000 -0700
+++ libnautilus-private/nautilus-file.h2 2008-09-28 14:03:13.000000000 -0700
@@ -27,6 +27,7 @@
#include <gtk/gtkobject.h>
#include <gio/gio.h>
+#include <sys/stat.h>
#include <libnautilus-private/nautilus-file-attributes.h>
#include <libnautilus-private/nautilus-icon-info.h>So as libnl (1.1)
--- include/netlink-local.h 2008-01-14 07:48:45.000000000 -0800
+++ include/netlink-local.h2 2008-09-25 22:40:53.000000000 -0700
@@ -26,6 +26,7 @@
#include <sys/socket.h>
#include <inttypes.h>
#include <assert.h>
+#include <limits.h>
#include <arpa/inet.h>
#include <netdb.h>And xgl (0.7.8):
--- xserver/configure.ac 2008-04-07 02:53:00.000000000 -0700
+++ xserver/configure.ac2 2008-09-28 02:00:26.000000000 -0700
@@ -1602,7 +1602,10 @@
DIX_CFLAGS="-DHAVE_DIX_CONFIG_H"
AC_SUBST([DIX_CFLAGS])
-AC_SUBST([libdir exec_prefix prefix])
+AC_SUBST([libdir])
+AC_SUBST([exec_prefix])
+AC_SUBST([prefix])
+
# Man page sections - used in config utils & generating man pages
XORG_MANPAGE_SECTIONSI have other paches, but I couldn't find them. When I do, I'll post the rest
Last edited by thisab (2008-09-28 17:27:18)
Offline
If you want to recompile the entire system, check out this thread: http://bbs.archlinux.org/viewtopic.php?id=48957
Love, and do what thou wilt - St. Augustine of Hippo
Offline
Seems to be a nice tool.
I'll try it, thanks.
Offline
How did you recompile whole system? is there a performance increase?
"god@heaven$ emerge world"
~ Genesis on Gentoo
Offline
I'm using the /var/abs PKGBUILD's and copying them to my home directory. Then I compile with makepkg.
It's a hard work, since I was doing it one by one, starting from the core packages and up. Some of them are giving me some headaches, like Xgl. Xgl seems to miss headers from Xorg 7.0.2 (arch uses 7.0.3). With these problematic packages I had to search for a patch or a new version. With the Xgl I didnt find a solution yet. I wanted those compiz-fusion effects.. ![]()
Also worth to note, some PKGBUILD files have options like --without-sse that may hinder speed.:/
Aswering your question, I could notice a considerable increase in speed. Some apps open quite faster. And I'm using conservative CFLAGS (-march=core2 -fomit-frame-pointer -O2).
How did you recompile whole system? is there a performance increase?
Offline
I think it would be a good idea to open bugs for these packages and attach your patch
Offline
More :
These next fixes I found on Gentoo for compiling against gcc4.3:
Indilib 0.5
http://bugs.gentoo.org/attachment.cgi?id=155867
And musicbrainz 2.1.4
http://bugs.gentoo.org/attachment.cgi?id=138623
I'll report the bugs, I just don't know the severity. I'm setting to medium..
Last edited by thisab (2008-09-29 02:51:46)
Offline
Be careful with PacBuilder. I used it once and then at a later date I used a pacman command to remove orphaned packages ("pacman -Rs $(pacman -Qtdq", see wiki) and it started removing EVERYTHING.
![]()
Offline
Pages: 1