Quoting Andrew Deason <[email protected]>:

On Mon, 10 Jan 2011 14:12:13 -0800
Russ Allbery <[email protected]> wrote:

[email protected] writes:

> Im not sure this is going to make any difference but.

> With
> ./configure  --enable-transarc-paths --enable-supergroups
> --enable-warnings  --disable-strip-binaries --enable-debug

> checking for bison... bison -y
> checking if lex is flex... ./configure: line 6368: echo: write error:
> Broken pipe

For what it's worth, 1.6.0pre1 built fine on Debian's armel
autobuilder, so it isn't something fundamentally broken with build
support on arm.

And it's just "echo '' | $LEX --version". You could try running it
manually and see what happens, for any lex-like thing you can find on
the machine.

r...@sheevaplug-debian:~# echo '' | flex --version
flex 2.5.35
bash: echo: write error: Broken pipe
r...@sheevaplug-debian:~#

It looks like a bug in bash on arm. It worked with zsh and it worked with bash an i586. :P It doesnt appear to be an alignment error! Unlike:

gcc -fPIC -g -O -I/mnta/openafs-pre1.6.0/openafs-1.6.0pre1/src/config -I/mnta/openafs-pre1.6.0/openafs-1.6.0pre1/include -I. -I. -D_LARGEFILE64_SOURCE -Wall -Wcast-align -Wstrict-prototypes -Wold-style-definition -Wpointer-arith -Wall -Wstrict-prototypes -Wold-style-definition -Werror -fdiagnostics-show-option -Wpointer-arith -c cbc_encrypt.c
cc1: warnings being treated as errors
cbc_encrypt.c: In function ?des_cbc_encrypt?:
cbc_encrypt.c:67: error: cast increases required alignment of target type [-Wcast-align]
make[3]: *** [cbc_encrypt.o] Error 1
make[3]: Leaving directory `/mnta/openafs-pre1.6.0/openafs-1.6.0pre1/src/des'
make[2]: *** [des] Error 2


> And im not sure why im checking pentium:

> checking your AFS sysname... arm_linux26
> checking if gcc accepts -march=pentium... yes

It didn't do this in the Debian autobuilder.  Maybe because the Debian
package specifies the sysname directly?

It should for the kernel module configure (isn't that a separate build
for Debian packages?). This is OPENAFS_GCC_SUPPORTS_MARCH.

It looks like OPENAFS_GCC_SUPPORTS_MARCH is for i386/pentium only.

I don't see any ppc, alpha, mips, sparc or anything else along those lines in the ac files.

_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to