[OpenAFS-devel] Re: 1.6. pre debian arm.
Andrew Deason
adeason@sinenomine.net
Mon, 10 Jan 2011 23:53:18 -0600
On Mon, 10 Jan 2011 21:29:57 -0500
omalleys@msu.edu wrote:
> root@sheevaplug-debian:~# echo '' | flex --version
> flex 2.5.35
> bash: echo: write error: Broken pipe
> root@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!
bash version? And does that actually affect the value of "$?" ?
> 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
The lack of a '#define MUSTALIGN' in conf-arm-linux.h suggests this is
not indicative of an actual problem, but I wouldn't know.
> >> > And im not sure why im checking pentium:
> >>
> >> > checking your AFS sysname... arm_linux26
> >> > checking if gcc accepts -march=pentium... yes
>[..]
> > 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.
The results of it only impact that, yes, but currently it is run for
everything linux.
--
Andrew Deason
adeason@sinenomine.net