diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-July/017484.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-July/017484.html | 154 |
1 files changed, 154 insertions, 0 deletions
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 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] [usrmove] Help building some unbuildable packages: db51 & grub + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Busrmove%5D%20Help%20building%20some%20unbuildable%20packages%3A%0A%20db51%20%26%20grub&In-Reply-To=%3C20120719152031.38605e2b%40lap.shlomifish.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="017478.html"> + <LINK REL="Next" HREF="017486.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] [usrmove] Help building some unbuildable packages: db51 & grub</H1> + <B>Shlomi Fish</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Busrmove%5D%20Help%20building%20some%20unbuildable%20packages%3A%0A%20db51%20%26%20grub&In-Reply-To=%3C20120719152031.38605e2b%40lap.shlomifish.org%3E" + TITLE="[Mageia-dev] [usrmove] Help building some unbuildable packages: db51 & grub">shlomif at shlomifish.org + </A><BR> + <I>Thu Jul 19 14:20:31 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="017478.html">[Mageia-dev] [changelog] [RPM] cauldron core/release adf-gillius-fonts-1.008-4.mga3 +</A></li> + <LI>Next message: <A HREF="017486.html">[Mageia-dev] [usrmove] Help building some unbuildable packages: db51 & grub +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#17484">[ date ]</a> + <a href="thread.html#17484">[ thread ]</a> + <a href="subject.html#17484">[ subject ]</a> + <a href="author.html#17484">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Thu, 19 Jul 2012 15:00:43 +0300 +Shlomi Fish <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">shlomif at shlomifish.org</A>> wrote: + +><i> On Thu, 19 Jul 2012 14:53:43 +0300 +</I>><i> Shlomi Fish <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">shlomif at shlomifish.org</A>> wrote: +</I>><i> +</I>><i> > Hi, +</I>><i> > +</I>><i> > On Thu, 19 Jul 2012 14:33:52 +0300 +</I>><i> > Shlomi Fish <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">shlomif at shlomifish.org</A>> wrote: +</I>><i> > +</I>><i> > > Hi Colin, +</I>><i> > > +</I>><i> > > On Thu, 19 Jul 2012 11:09:10 +0100 +</I>><i> > > Colin Guthrie <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>> wrote: +</I>><i> > > +</I>><i> > > > Hi, +</I>><i> > > > +</I>><i> > > > As part of the usrmove, I need to rebuild both db51 and grub. Neither of +</I>><i> > > > them build just now. +</I>><i> > > > +</I>><i> > > > I added one patch to db51 which gets over an initial error, but another +</I>><i> > > > relating to asm shows up. +</I>><i> > > > +</I>><i> > > > Please can someone have a look at these? I just need them to build, I +</I>><i> > > > don't specifically need them submitted, but feel free to do so. +</I>><i> > > +</I>><i> > > Just a note on my finding: unpacking the db-5.1.29 sources and doing +</I>><i> > > +</I>><i> > > cd build_unix +</I>><i> > > ../dist/configure +</I>><i> > > make +</I>><i> > > +</I>><i> > > Is successful here. So it could be a patch or a configure option that causes it +</I>><i> > > to fail. I'll investigate further. +</I>><i> > > +</I>><i> > +</I>><i> > The plot thickens. Apparently in the bm -l -p source, this command (which as +</I>><i> > far as I can tell is what rpmbuild is running) is successful: +</I>><i> > +</I>><i> > ../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 +</I>><i> > +</I>><i> > (Followed by make). +</I>><i> > +</I>><i> +</I>><i> OK, if I first do: +</I>><i> +</I>><i> 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' +</I>><i> +</I>><i> Then I am able to reproduce this bug outside rpm. So I am going to gradually +</I>><i> eliminate compile flags until I find the culprit. +</I>><i> +</I> +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 <A HREF="http://www.shlomifish.org/">http://www.shlomifish.org/</A> +Why I Love Perl - <A HREF="http://shlom.in/joy-of-perl">http://shlom.in/joy-of-perl</A> + +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 - <A HREF="http://shlom.in/reply">http://shlom.in/reply</A> . +</PRE> + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="017478.html">[Mageia-dev] [changelog] [RPM] cauldron core/release adf-gillius-fonts-1.008-4.mga3 +</A></li> + <LI>Next message: <A HREF="017486.html">[Mageia-dev] [usrmove] Help building some unbuildable packages: db51 & grub +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#17484">[ date ]</a> + <a href="thread.html#17484">[ thread ]</a> + <a href="subject.html#17484">[ subject ]</a> + <a href="author.html#17484">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |