[opensuse-ppc] grub2 configure tests fail on PPC Factory due to missing -lc.
В Fri, 15 Nov 2013 14:01:03 +0100 Marcus Meissner <meissner@suse.de> пишет:
On Fri, Nov 15, 2013 at 04:58:20PM +0400, Andrey Borzenkov wrote:
Current snapshot of grub2 fails to build on PPC; as explained on grub-devel, this is due to missing libgcc symbols. I compared with the latest factory build.
Factory:
[ 267s] checking for __bswapsi2... yes [ 267s] checking for __bswapdi2... yes [ 267s] checking for __ashldi3... yes [ 267s] checking for __ashrdi3... yes [ 267s] checking for __lshrdi3... yes [ 267s] checking for __ucmpdi2... yes [ 268s] checking for _restgpr_14_x... yes
Snapshot:
[ 119s] checking for __bswapsi2... no [ 119s] checking for __bswapdi2... no [ 119s] checking for __ashldi3... no [ 120s] checking for __ashrdi3... no [ 120s] checking for __lshrdi3... no [ 120s] checking for __ucmpdi2... no [ 120s] checking for _restgpr_14_x... no
Something has changed in either grub2 build system or in how compiler works on PPC.
I can resort to "set -x" but getting config.log would be really more helpful.
i would just do "cat config.log"
Hmm ... it failed due to missing -lc. Now grub2.spec forces LDFLAGS=-static. But this had been this way for a long time. Was libc.a somehow split recently? Adding glibc-static to build requires allows it to go past this error. -- To unsubscribe, e-mail: opensuse-ppc+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-ppc+owner@opensuse.org
Andrey Borzenkov <arvidjaar@gmail.com> writes:
Hmm ... it failed due to missing -lc. Now grub2.spec forces LDFLAGS=-static. But this had been this way for a long time. Was libc.a somehow split recently? Adding glibc-static to build requires allows it to go past this error.
glibc-static (aka glibc-devel-static) exists since 12.1. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-ppc+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-ppc+owner@opensuse.org
participants (2)
-
Andreas Schwab
-
Andrey Borzenkov