В 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