From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-July/017484.html | 154 +++++++++++++++++++++++++++++++ 1 file changed, 154 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-July/017484.html (limited to 'zarb-ml/mageia-dev/2012-July/017484.html') diff --git a/zarb-ml/mageia-dev/2012-July/017484.html b/zarb-ml/mageia-dev/2012-July/017484.html new file mode 100644 index 000000000..68540693e --- /dev/null +++ b/zarb-ml/mageia-dev/2012-July/017484.html @@ -0,0 +1,154 @@ + + + + [Mageia-dev] [usrmove] Help building some unbuildable packages: db51 & grub + + + + + + + + + +

[Mageia-dev] [usrmove] Help building some unbuildable packages: db51 & grub

+ Shlomi Fish + shlomif at shlomifish.org +
+ Thu Jul 19 14:20:31 CEST 2012 +

+
+ +
On Thu, 19 Jul 2012 15:00:43 +0300
+Shlomi Fish <shlomif at shlomifish.org> wrote:
+
+> On Thu, 19 Jul 2012 14:53:43 +0300
+> Shlomi Fish <shlomif at shlomifish.org> wrote:
+> 
+> > Hi,
+> > 
+> > On Thu, 19 Jul 2012 14:33:52 +0300
+> > Shlomi Fish <shlomif at shlomifish.org> wrote:
+> > 
+> > > Hi Colin,
+> > > 
+> > > On Thu, 19 Jul 2012 11:09:10 +0100
+> > > Colin Guthrie <mageia at colin.guthr.ie> wrote:
+> > > 
+> > > > Hi,
+> > > > 
+> > > > As part of the usrmove, I need to rebuild both db51 and grub. Neither of
+> > > > them build just now.
+> > > > 
+> > > > I added one patch to db51 which gets over an initial error, but another
+> > > > relating to asm shows up.
+> > > > 
+> > > > Please can someone have a look at these? I just need them to build, I
+> > > > don't specifically need them submitted, but feel free to do so.
+> > > 
+> > > Just a note on my finding: unpacking the db-5.1.29 sources and doing 
+> > > 
+> > > cd build_unix
+> > > ../dist/configure
+> > > make
+> > > 
+> > > Is successful here. So it could be a patch or a configure option that causes it
+> > > to fail. I'll investigate further.
+> > > 
+> > 
+> > The plot thickens. Apparently in the bm -l -p source, this command (which as
+> > far as I can tell is what rpmbuild is running) is successful:
+> > 
+> > ../dist/configure --build=x86_64-mageia-linux-gnu --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib64 --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --x-includes=/usr/include --x-libraries=/usr/lib64 --includedir=/usr/include/db51 --enable-shared --enable-static --enable-dbm --enable-systemtap --enable-o_direct --enable-sql --enable-compat185 --enable-dump185 --enable-tcl --with-tcl=/usr/lib64 --enable-test --enable-cxx --enable-java --enable-posixmutexes --with-mutex=POSIX/pthreads/library
+> > 
+> > (Followed by make).
+> > 
+> 
+> OK, if I first do:
+> 
+> export CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-pre -fno-tree-pta'
+> 
+> Then I am able to reproduce this bug outside rpm. So I am going to gradually
+> eliminate compile flags until I find the culprit.
+> 
+
+Now it seems everything builds fine if I only remove the
+"-fno-tree-dominator-opts" flag. However, I see in the SPEC this:
+
+[Q]
+# -fno-tree-ccp -fno-tree-dominator-opts to avoid breakage in src/bt_dup.c
+# -fno-tree-pre -fno-tree-pta to avoid breakage in src/hash_page.c
+CFLAGS="$RPM_OPT_FLAGS -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-pre -fno-tree-pta"
+%ifarch ppc
+CFLAGS="$CFLAGS -D_GNU_SOURCE -D_REENTRANT"
+%endif
+export CFLAGS
+[/Q]
+
+So can I safely remove that flag? /me is scared of the consequences.
+
+Regards,
+
+	Shlomi Fish
+
+-- 
+-----------------------------------------------------------------
+Shlomi Fish       http://www.shlomifish.org/
+Why I Love Perl - http://shlom.in/joy-of-perl
+
+Tcl is Lisp on drugs. Using strings instead of S‐expressions for closures is
+Evil with one of those gigantic E’s you can find at the beginning of chapters.
+
+Please reply to list if it's a mailing list post - http://shlom.in/reply .
+
+ + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1