Problem building master

Stef Walter stefw at collabora.co.uk
Sat May 28 23:18:30 CEST 2011


On 05/28/2011 04:29 PM, Nikos Mavrogiannopoulos wrote:
> On 05/27/2011 11:08 AM, Stef Walter wrote:
> 
>> I get the following error when building master. It's not clear to me
>> how to fix it: aes-x86.c: In function 'check_optimized_aes': 
>> aes-x86.c:153:3: error: can't find a register in class 'BREG' while 
>> reloading 'asm'
> 
> Hello Stef,
>  This quite strange. Which compiler and which CPU do you build for? 

Here it is:

stef at stef-laptop:~$ gcc --version
gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

> A
> work-around would be to configure with --disable-hardware-acceleration.

Thanks, that did the trick.

In addition I needed to apply the attached patch in order to get gnutls
to build.

And lastly, some very strange behavior occurred when building the
documentation. It would just get stuck in a make loop and keep building
the man pages over and over. I've included the output below.

Thanks,

Stef


---------- 8< ------------- 8< ----------- 8< --------------

<snip>
...
  CC     ex-client-psk.o
  CCLD   ex-client-psk
  CC     ex-serv-psk.o
  CCLD   ex-serv-psk
  CC     ex-client-srp.o
  CCLD   ex-client-srp
  CC     ex-serv-srp.o
  CCLD   ex-serv-srp
make[4]: Leaving directory `/data/projects/gnutls/doc/examples'
Making all in cyclo
make[4]: Entering directory `/data/projects/gnutls/doc/cyclo'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/data/projects/gnutls/doc/cyclo'
Making all in scripts
make[4]: Entering directory `/data/projects/gnutls/doc/scripts'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/data/projects/gnutls/doc/scripts'
Making all in manpages
make[4]: Entering directory `/data/projects/gnutls/doc/manpages'
make update-makefile
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
FUNCS=`../../doc/scripts/gdoc -listfunc \
		../../{lib,libextra,lib/x509,lib/openpgp}/*.c`; \
	MANS=""; \
	SRPMANS=""; \
	for i in $FUNCS; do \
		if echo $i | grep gnutls_srp_ > /dev/null; then \
			SRPMANS="$SRPMANS\nSRPMANS += $i.3"; \
		else \
			MANS="$MANS\nAPIMANS += $i.3"; \
		fi \
	done; \
	grep -v -e '^APIMANS += ' -e '^SRPMANS += ' Makefile.am | \
		perl -p -e "s/^APIMANS =/APIMANS =$MANS/" | \
		perl -p -e "s/^SRPMANS =/SRPMANS =$SRPMANS/" > foo; \
	mv foo Makefile.am
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make Makefile
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
 cd ../.. && /bin/bash /data/projects/gnutls/build-aux/missing --run
automake-1.11 --gnu doc/manpages/Makefile
 cd ../.. && /bin/bash ./config.status doc/manpages/Makefile
config.status: creating doc/manpages/Makefile
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
make[5]: `Makefile' is up to date.
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make doit
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
Creating man pages for
lib/..................................................................................................................................................................................................................................................................................................................
Creating man pages for libextra/...
Creating man pages for
lib/x509/................................................................................................................................................................................................................
Creating man pages for lib/x509/ (pkcs12)......................
Creating man pages for
lib/openpgp/.......................................................................
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make update-makefile
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
FUNCS=`../../doc/scripts/gdoc -listfunc \
		../../{lib,libextra,lib/x509,lib/openpgp}/*.c`; \
	MANS=""; \
	SRPMANS=""; \
	for i in $FUNCS; do \
		if echo $i | grep gnutls_srp_ > /dev/null; then \
			SRPMANS="$SRPMANS\nSRPMANS += $i.3"; \
		else \
			MANS="$MANS\nAPIMANS += $i.3"; \
		fi \
	done; \
	grep -v -e '^APIMANS += ' -e '^SRPMANS += ' Makefile.am | \
		perl -p -e "s/^APIMANS =/APIMANS =$MANS/" | \
		perl -p -e "s/^SRPMANS =/SRPMANS =$SRPMANS/" > foo; \
	mv foo Makefile.am
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make Makefile
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
 cd ../.. && /bin/bash /data/projects/gnutls/build-aux/missing --run
automake-1.11 --gnu doc/manpages/Makefile
 cd ../.. && /bin/bash ./config.status doc/manpages/Makefile
config.status: creating doc/manpages/Makefile
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
make[5]: `Makefile' is up to date.
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make doit
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
Creating man pages for
lib/..................................................................................................................................................................................................................................................................................................................
Creating man pages for libextra/...
Creating man pages for
lib/x509/................................................................................................................................................................................................................
Creating man pages for lib/x509/ (pkcs12)......................
Creating man pages for
lib/openpgp/.......................................................................
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make update-makefile
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
FUNCS=`../../doc/scripts/gdoc -listfunc \
		../../{lib,libextra,lib/x509,lib/openpgp}/*.c`; \
	MANS=""; \
	SRPMANS=""; \
	for i in $FUNCS; do \
		if echo $i | grep gnutls_srp_ > /dev/null; then \
			SRPMANS="$SRPMANS\nSRPMANS += $i.3"; \
		else \
			MANS="$MANS\nAPIMANS += $i.3"; \
		fi \
	done; \
	grep -v -e '^APIMANS += ' -e '^SRPMANS += ' Makefile.am | \
		perl -p -e "s/^APIMANS =/APIMANS =$MANS/" | \
		perl -p -e "s/^SRPMANS =/SRPMANS =$SRPMANS/" > foo; \
	mv foo Makefile.am
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make Makefile
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
 cd ../.. && /bin/bash /data/projects/gnutls/build-aux/missing --run
automake-1.11 --gnu doc/manpages/Makefile
 cd ../.. && /bin/bash ./config.status doc/manpages/Makefile
config.status: creating doc/manpages/Makefile
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
make[5]: `Makefile' is up to date.
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make doit
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
Creating man pages for
lib/..................................................................................................................................................................................................................................................................................................................
Creating man pages for libextra/...
Creating man pages for
lib/x509/................................................................................................................................................................................................................
Creating man pages for lib/x509/ (pkcs12)......................
Creating man pages for
lib/openpgp/.......................................................................
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make update-makefile
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
FUNCS=`../../doc/scripts/gdoc -listfunc \
		../../{lib,libextra,lib/x509,lib/openpgp}/*.c`; \
	MANS=""; \
	SRPMANS=""; \
	for i in $FUNCS; do \
		if echo $i | grep gnutls_srp_ > /dev/null; then \
			SRPMANS="$SRPMANS\nSRPMANS += $i.3"; \
		else \
			MANS="$MANS\nAPIMANS += $i.3"; \
		fi \
	done; \
	grep -v -e '^APIMANS += ' -e '^SRPMANS += ' Makefile.am | \
		perl -p -e "s/^APIMANS =/APIMANS =$MANS/" | \
		perl -p -e "s/^SRPMANS =/SRPMANS =$SRPMANS/" > foo; \
	mv foo Makefile.am
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make Makefile
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
 cd ../.. && /bin/bash /data/projects/gnutls/build-aux/missing --run
automake-1.11 --gnu doc/manpages/Makefile
 cd ../.. && /bin/bash ./config.status doc/manpages/Makefile
config.status: creating doc/manpages/Makefile
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
make[5]: `Makefile' is up to date.
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make doit
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
Creating man pages for
lib/..................................................................................................................................................................................................................................................................................................................
Creating man pages for libextra/...
Creating man pages for
lib/x509/................................................................................................................................................................................................................
Creating man pages for lib/x509/ (pkcs12)......................
Creating man pages for
lib/openpgp/.......................................................................
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make update-makefile
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
FUNCS=`../../doc/scripts/gdoc -listfunc \
		../../{lib,libextra,lib/x509,lib/openpgp}/*.c`; \
	MANS=""; \
	SRPMANS=""; \
	for i in $FUNCS; do \
		if echo $i | grep gnutls_srp_ > /dev/null; then \
			SRPMANS="$SRPMANS\nSRPMANS += $i.3"; \
		else \
			MANS="$MANS\nAPIMANS += $i.3"; \
		fi \
	done; \
	grep -v -e '^APIMANS += ' -e '^SRPMANS += ' Makefile.am | \
		perl -p -e "s/^APIMANS =/APIMANS =$MANS/" | \
		perl -p -e "s/^SRPMANS =/SRPMANS =$SRPMANS/" > foo; \
	mv foo Makefile.am
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make Makefile
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
 cd ../.. && /bin/bash /data/projects/gnutls/build-aux/missing --run
automake-1.11 --gnu doc/manpages/Makefile
 cd ../.. && /bin/bash ./config.status doc/manpages/Makefile
config.status: creating doc/manpages/Makefile
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
make[5]: `Makefile' is up to date.
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make doit
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
Creating man pages for
lib/..................................................................................................................................................................................................................................................................................................................
Creating man pages for libextra/...
Creating man pages for
lib/x509/................................................................................................................................................................................................................
Creating man pages for lib/x509/ (pkcs12)......................
Creating man pages for
lib/openpgp/.......................................................................
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make update-makefile
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
FUNCS=`../../doc/scripts/gdoc -listfunc \
		../../{lib,libextra,lib/x509,lib/openpgp}/*.c`; \
	MANS=""; \
	SRPMANS=""; \
	for i in $FUNCS; do \
		if echo $i | grep gnutls_srp_ > /dev/null; then \
			SRPMANS="$SRPMANS\nSRPMANS += $i.3"; \
		else \
			MANS="$MANS\nAPIMANS += $i.3"; \
		fi \
	done; \
	grep -v -e '^APIMANS += ' -e '^SRPMANS += ' Makefile.am | \
		perl -p -e "s/^APIMANS =/APIMANS =$MANS/" | \
		perl -p -e "s/^SRPMANS =/SRPMANS =$SRPMANS/" > foo; \
	mv foo Makefile.am
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make Makefile
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
 cd ../.. && /bin/bash /data/projects/gnutls/build-aux/missing --run
automake-1.11 --gnu doc/manpages/Makefile
 cd ../.. && /bin/bash ./config.status doc/manpages/Makefile
config.status: creating doc/manpages/Makefile
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
make[5]: `Makefile' is up to date.
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make doit
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
Creating man pages for
lib/..................................................................................................................................................................................................................................................................................................................
Creating man pages for libextra/...
Creating man pages for
lib/x509/................................................................................................................................................................................................................
Creating man pages for lib/x509/ (pkcs12)......................
Creating man pages for
lib/openpgp/.......................................................................
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make update-makefile
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
FUNCS=`../../doc/scripts/gdoc -listfunc \
		../../{lib,libextra,lib/x509,lib/openpgp}/*.c`; \
	MANS=""; \
	SRPMANS=""; \
	for i in $FUNCS; do \
		if echo $i | grep gnutls_srp_ > /dev/null; then \
			SRPMANS="$SRPMANS\nSRPMANS += $i.3"; \
		else \
			MANS="$MANS\nAPIMANS += $i.3"; \
		fi \
	done; \
	grep -v -e '^APIMANS += ' -e '^SRPMANS += ' Makefile.am | \
		perl -p -e "s/^APIMANS =/APIMANS =$MANS/" | \
		perl -p -e "s/^SRPMANS =/SRPMANS =$SRPMANS/" > foo; \
	mv foo Makefile.am
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make Makefile
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
 cd ../.. && /bin/bash /data/projects/gnutls/build-aux/missing --run
automake-1.11 --gnu doc/manpages/Makefile
 cd ../.. && /bin/bash ./config.status doc/manpages/Makefile
config.status: creating doc/manpages/Makefile
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
make[5]: `Makefile' is up to date.
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make doit
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
Creating man pages for
lib/..................................................................................................................................................................................................................................................................................................................
Creating man pages for libextra/...
Creating man pages for
lib/x509/................................................................................................................................................................................................................
Creating man pages for lib/x509/ (pkcs12)......................
Creating man pages for
lib/openpgp/.......................................................................
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make update-makefile
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
FUNCS=`../../doc/scripts/gdoc -listfunc \
		../../{lib,libextra,lib/x509,lib/openpgp}/*.c`; \
	MANS=""; \
	SRPMANS=""; \
	for i in $FUNCS; do \
		if echo $i | grep gnutls_srp_ > /dev/null; then \
			SRPMANS="$SRPMANS\nSRPMANS += $i.3"; \
		else \
			MANS="$MANS\nAPIMANS += $i.3"; \
		fi \
	done; \
	grep -v -e '^APIMANS += ' -e '^SRPMANS += ' Makefile.am | \
		perl -p -e "s/^APIMANS =/APIMANS =$MANS/" | \
		perl -p -e "s/^SRPMANS =/SRPMANS =$SRPMANS/" > foo; \
	mv foo Makefile.am
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make Makefile
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
 cd ../.. && /bin/bash /data/projects/gnutls/build-aux/missing --run
automake-1.11 --gnu doc/manpages/Makefile
 cd ../.. && /bin/bash ./config.status doc/manpages/Makefile
config.status: creating doc/manpages/Makefile
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
make[5]: `Makefile' is up to date.
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make doit
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
Creating man pages for
lib/..................................................................................................................................................................................................................................................................................................................
Creating man pages for libextra/...
Creating man pages for
lib/x509/................................................................................................................................................................................................................
Creating man pages for lib/x509/ (pkcs12)......................
Creating man pages for
lib/openpgp/.......................................................................
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make update-makefile
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
FUNCS=`../../doc/scripts/gdoc -listfunc \
		../../{lib,libextra,lib/x509,lib/openpgp}/*.c`; \
	MANS=""; \
	SRPMANS=""; \
	for i in $FUNCS; do \
		if echo $i | grep gnutls_srp_ > /dev/null; then \
			SRPMANS="$SRPMANS\nSRPMANS += $i.3"; \
		else \
			MANS="$MANS\nAPIMANS += $i.3"; \
		fi \
	done; \
	grep -v -e '^APIMANS += ' -e '^SRPMANS += ' Makefile.am | \
		perl -p -e "s/^APIMANS =/APIMANS =$MANS/" | \
		perl -p -e "s/^SRPMANS =/SRPMANS =$SRPMANS/" > foo; \
	mv foo Makefile.am
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make Makefile
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
 cd ../.. && /bin/bash /data/projects/gnutls/build-aux/missing --run
automake-1.11 --gnu doc/manpages/Makefile
 cd ../.. && /bin/bash ./config.status doc/manpages/Makefile
config.status: creating doc/manpages/Makefile
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
make[5]: `Makefile' is up to date.
make[5]: Leaving directory `/data/projects/gnutls/doc/manpages'
make doit
make[5]: Entering directory `/data/projects/gnutls/doc/manpages'
Creating man pages for
lib/.............................................................................................................................................................................................................................................................^Z
[1]+  Stopped                 make
JHBUILD stef at stef-laptop:~/projects/gnutls$

... and so on ...


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-warnings-with-GCC-4.5.2.patch
Type: text/x-patch
Size: 1120 bytes
Desc: not available
URL: </pipermail/attachments/20110528/e927f0de/attachment.bin>


More information about the Gnutls-devel mailing list