[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: KDE3 debs on alpha-linux



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Donnerstag, 2. Januar 2003 21:55, Albrecht Gebhardt wrote:
> I'm in the process of building 3.0.5a debs for linux-alpha (on
> Debian/testing)
>
> From my earlier builds (3.0.2/3.0.4/3.0.5) I noticed, that the configure
> option "--enable-final" (which is on by default) does not work on the Alpha
> platform.
>
> With "--enable-final" the linking step combines all *.o files into a single
> big one. This leads to a large-sized symbol table, but on the alpha
> platform there is a size limit of 64k for the symbol table. Some discussion
> about this can be found e.g. on
> http://www.beowulf.org/pipermail/beowulf/1999-April/004115.html
> It is not a limitation of a special machine (shortage of RAM), it is a
> limitation by design, as I understand it.
>
> This fails e.g. for the kdelibs package:
>
> /usr/bin/ld: .libs/libkdeui_la.all_cpp.o: .got subsegment exceeds 64K (size
> 68184) /usr/bin/ld: failed to set dynamic section sizes: No such file or
> directory collect2: ld returned 1 exit status
> make[4]: *** [libkdeui.la.closure] Error 1
>
>
> For this reason I had to put something like
>
>   ifeq ($(DEB_BUILD_GNU_TYPE),alpha-linux)
>     NOFINAL=--disable-final
>   endif
>
> into the debian/rules files and then to append "$(NOFINAL)" to the
> ./configure calls in the debian/rules files. In most cases there are
> already "ifeq ($(DEB_BUILD_GNU_TYPE),alpha-linux)"-sections where I just
> had to add it. I decided to add it to all packages, surely it is not
> necessary for all of them.
Yes, I heard of that problem a month ago by someone at the RWTH Aachen who's 
building debs for KDE on alphas too.
>
> Could this make its way into the official KDE/debs ?
Yes. I've pointed this out to chris cheney already that --enable-final by 
default is a bad idea. I would move it to the section for enhancements.
>
> Other Problems are the same as reported for Debian/PowerPC (kcmlilo...) and
> a problem with imlib and kdegraphics (imlib was linked with png2 if I
> remember correctly).
Yes, if you use KDE-3.1. It's only needed for kuickshow which isn't part of 
KDE 3.0.x, so you need to backport imlib2 package from unstable if you're 
building woody debs.
>
> Patches below (against 3.0.5, not 3.0.5a, but this shouldn't matter I
> think).
>
>
> Albrecht
>
> PS:
>
> The packgages will be available at
>
> http://www-stat.uni-klu.ac.at/~agebhard/kde3-alpha/
>
> Currently there are still the 3.0.3 debs, I will not publish new debs
> before I finish 3.0.5a.
Ok. I'll mirror them to ftp.kde.org so they're all in one place there.

The powerpc builds for official versions can go there, too. Just drop me or 
one of the others (bab, calc, DannyS ) a note.

Ralf
>
>
>
>
>
> -- --- kdelibs-3.0.5.orig/debian/rules
> +++ kdelibs-3.0.5/debian/rules
> @@ -28,6 +28,7 @@
>  ifeq ($(DEB_BUILD_GNU_TYPE),alpha-linux)
>    export CFLAGS +=-O0 -mieee
>    export CXXFLAGS +=-O0 -mieee
> +  NOFINAL=--disable-final
>  endif
>
>  ifeq ($(DEB_BUILD_GNU_TYPE),i386-linux)
> @@ -73,7 +74,7 @@
>         ../configure $(configkde)
>         --with-distribution="$$version (`cat /etc/debian_version`)"
>         --enable-dnotify --enable-mitshm --with-alsa --with-ipv6-lookup=yes
> -       $(FAST_MALLOC) $(XINERAMA)
> +       $(FAST_MALLOC) $(XINERAMA) $(NOFINAL)
>
>         touch configure-stamp
>
> --- kde-i18n-3.0.5.orig/debian/rules
> +++ kde-i18n-3.0.5/debian/rules
> @@ -28,6 +28,7 @@
>  ifeq ($(DEB_BUILD_GNU_TYPE),alpha-linux)
>    export CFLAGS +=-O0 -mieee
>    export CXXFLAGS +=-O0 -mieee
> +  NOFINAL=--disable-final
>  endif
>
>  ifeq ($(DEB_BUILD_GNU_TYPE),i386-linux)
> @@ -69,7 +70,7 @@
>         # cd $(objdir) &&
>         #../configure $(configkde) --x-includes=/usr/X11R6/include
>         #$(XINERAMA)
> -       ./configure $(configkde) $(XINERAMA)
> +       ./configure $(configkde) $(XINERAMA) $(NOFINAL)
>
>         touch configure-stamp
>
> +++ kdeadmin-3.0.5/debian/rules
> @@ -28,6 +28,7 @@
>  ifeq ($(DEB_BUILD_GNU_TYPE),alpha-linux)
>    export CFLAGS +=-O0 -mieee
>    export CXXFLAGS +=-O0 -mieee
> +  NOFINAL=--disable-final
>  endif
>
>  ifeq ($(DEB_BUILD_GNU_TYPE),i386-linux)
> @@ -70,7 +71,7 @@
>         ../configure $(configkde)
>         --with-extra-includes=/usr/include/rpm
>         --with-pam=kde --with-shadow --with-nis --with-private-groups
> -       $(XINERAMA)
> +       $(XINERAMA) $(NOFINAL)
>
>         touch configure-stamp
>
> --- kdebase-3.0.5.orig/debian/rules
> +++ kdebase-3.0.5/debian/rules
> @@ -28,6 +28,7 @@
>  ifeq ($(DEB_BUILD_GNU_TYPE),alpha-linux)
>    export CFLAGS +=-O0 -mieee
>    export CXXFLAGS +=-O0 -mieee
> +  NOFINAL=--disable-final
>  endif
>
>  ifeq ($(DEB_BUILD_GNU_TYPE),i386-linux)
> @@ -70,7 +71,7 @@
>         ../configure $(configkde) --with-shadow
>         --with-kcp-pam=kcheckpass --with-kdm-pam=kdm
>         --with-kss-pam=kscreensaver
> -       --with-cdparanoia --with-vorbis $(XINERAMA)
> +       --with-cdparanoia --with-vorbis $(XINERAMA) $(NOFINAL)
>
>         touch configure-stamp
>
> --- kdegraphics-3.0.5.orig/debian/rules
> +++ kdegraphics-3.0.5/debian/rules
> @@ -28,6 +28,7 @@
>  ifeq ($(DEB_BUILD_GNU_TYPE),alpha-linux)
>    export CFLAGS +=-O0 -mieee
>    export CXXFLAGS +=-O0 -mieee
> +  NOFINAL=--disable-final
>  endif
>
>  ifeq ($(DEB_BUILD_GNU_TYPE),i386-linux)
> @@ -67,7 +68,7 @@
>
>         # run configure with build tree $(objdir)
>         cd $(objdir) &&
> -       ../configure $(configkde) $(XINERAMA)
> +       ../configure $(configkde) $(XINERAMA) $(NOFINAL)
>
>         touch configure-stamp
>
> --- kdemultimedia-3.0.5.orig/debian/rules
> +++ kdemultimedia-3.0.5/debian/rules
> @@ -28,6 +28,7 @@
>  ifeq ($(DEB_BUILD_GNU_TYPE),alpha-linux)
>    export CFLAGS +=-O0 -mieee
>    export CXXFLAGS +=-O0 -mieee
> +  NOFINAL=--disable-final
>  endif
>
>  ifeq ($(DEB_BUILD_GNU_TYPE),i386-linux)
> @@ -67,7 +68,7 @@
>
>         # run configure with build tree $(objdir)
>         cd $(objdir) &&
> -       ../configure $(configkde) --with-arts-alsa $(XINERAMA)
> +       ../configure $(configkde) --with-arts-alsa $(XINERAMA) $(NOFINAL)
>
>         touch configure-stamp
>
> --- kdenetwork-3.0.5.orig/debian/rules
> +++ kdenetwork-3.0.5/debian/rules
> @@ -28,6 +28,7 @@
>  ifeq ($(DEB_BUILD_GNU_TYPE),alpha-linux)
>    export CFLAGS +=-O0 -mieee
>    export CXXFLAGS +=-O0 -mieee
> +  NOFINAL=--disable-final
>  endif
>
>  ifeq ($(DEB_BUILD_GNU_TYPE),i386-linux)
> @@ -67,7 +68,7 @@
>
>         # run configure with build tree $(objdir)
>         cd $(objdir) &&
> -       ../configure $(configkde) --with-arts-alsa $(XINERAMA)
> +       ../configure $(configkde) --with-arts-alsa $(XINERAMA) $(NOFINAL)
>
>         touch configure-stamp
>
> --- kdepim-3.0.5.orig/debian/rules
> +++ kdepim-3.0.5/debian/rules
> @@ -28,6 +28,7 @@
>  ifeq ($(DEB_BUILD_GNU_TYPE),alpha-linux)
>    export CFLAGS +=-O0 -mieee
>    export CXXFLAGS +=-O0 -mieee
> +  NOFINAL=--disable-final
>  endif
>
>  ifeq ($(DEB_BUILD_GNU_TYPE),i386-linux)
> @@ -68,7 +69,7 @@
>         # run configure with build tree $(objdir)
>         cd $(objdir) &&
>         ../configure $(configkde)
> --with-extra-includes=/usr/include/libpisock -       $(XINERAMA)
> +       $(XINERAMA) $(NOFINAL)
>
>         touch configure-stamp
>
> --- kdesdk-3.0.5.orig/debian/rules
> +++ kdesdk-3.0.5/debian/rules
> @@ -23,6 +23,7 @@
>  ARCH = $(shell dpkg-architecture -qDEB_BUILD_ARCH)
>  ifeq ($(ARCH),alpha)
>    COMPILER_FLAGS=CFLAGS="-O0 -mieee" CXXFLAGS="-O0 -mieee"
> +  NOFINAL=--disable-final
>  else
>    COMPILER_FLAGS=CXX=g++ CC=gcc
>  endif
> @@ -39,7 +40,7 @@
>         if test ! -f configure; then
>           $(MAKE) -f admin/Makefile.common ;
>         fi
> -       $(COMPILER_FLAGS) ./configure $(configkde)
> +       $(COMPILER_FLAGS) ./configure $(configkde) $(NOFINAL)
>         $(MAKE)
>         $(MAKE) check
>         touch build-stamp
> --- kdetoys-3.0.5.orig/debian/rules
> +++ kdetoys-3.0.5/debian/rules
> @@ -15,6 +15,7 @@
>  ARCH = $(shell dpkg-architecture -qDEB_BUILD_ARCH)
>  ifeq ($(ARCH),alpha)
>    COMPILER_FLAGS=CFLAGS="-O0 -mieee" CXXFLAGS="-O0 -mieee"
> +  NOFINAL=--disable-final
>  else
>    COMPILER_FLAGS=CXX=g++ CC=gcc
>  endif
> @@ -31,7 +32,7 @@
>         if test ! -f configure; then
>           $(MAKE) -f admin/Makefile.common ;
>         fi
> -       $(COMPILER_FLAGS) ./configure $(configkde)
> +       $(COMPILER_FLAGS) ./configure $(configkde) $(NOFINAL)
>         $(MAKE)
>         touch build-stamp
>
> --- kdeutils-3.0.5.orig/debian/rules
> +++ kdeutils-3.0.5/debian/rules
> @@ -28,6 +28,7 @@
>  ifeq ($(DEB_BUILD_GNU_TYPE),alpha-linux)
>    export CFLAGS +=-O0 -mieee
>    export CXXFLAGS +=-O0 -mieee
> +  NOFINAL=--disable-final
>  endif
>
>  ifeq ($(DEB_BUILD_GNU_TYPE),i386-linux)
> @@ -67,7 +68,7 @@
>
>         # run configure with build tree $(objdir)
>         cd $(objdir) &&
> -       ../configure $(configkde) $(XINERAMA)
> +       ../configure $(configkde) $(XINERAMA) $(NOFINAL)
>
>         touch configure-stamp
>
> -- arts-1.0.5.orig/debian/rules
> +++ arts-1.0.5/debian/rules
> @@ -28,6 +28,7 @@
>  ifeq ($(DEB_BUILD_GNU_TYPE),alpha-linux)
>    export CFLAGS +=-O0 -mieee
>    export CXXFLAGS +=-O0 -mieee
> +  NOFINAL=--disable-final
>  endif
>
>  ifeq ($(DEB_BUILD_GNU_TYPE),i386-linux)
> @@ -75,7 +76,7 @@
>         cd $(objdir) &&
>         ../configure $(configkde)
>         --with-distribution="$$version (`cat /etc/debian_version`)"
> -       --with-alsa $(XINERAMA)
> +       --with-alsa $(XINERAMA) $(NOFINAL)
>
>         touch configure-stamp
>
>
> // Albrecht Gebhardt          Tel.: (++43 463) 2700/3118
> // Institut fuer Mathematik   Fax : (++43 463) 2700/3198
> // Universitaet Klagenfurt    mailto:agebhard@unixmail.uni-klu.ac.at
> // Universitaetsstr. 65       http://www-stat.uni-klu.ac.at/~agebhard
> // A-9020 Klagenfurt, Austria

- -- 
We're not a company, we just produce better code at less costs.
- --------------------------------------------------------------------
Ralf Nolden
nolden@kde.org

The K Desktop Environment       The KDevelop Project
http://www.kde.org              http://www.kdevelop.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+FKkEu0nKi+w1Ky8RAvh5AJ4n1drO9ha62IGTtIKlEHpt7lpOTQCeLNoz
InYspJcx3JXZ1g8HDP1muqM=
=hOev
-----END PGP SIGNATURE-----




Reply to: