diff options
| author | Yann E. MORIN <yann.morin.1998@free.fr> | 2012-12-27 13:20:36 +0000 | 
|---|---|---|
| committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-12-28 10:06:06 +0100 | 
| commit | 20e0926f4469a3486629cfd6fa7f449f2b659aa8 (patch) | |
| tree | 2a2ada69ec6ff76cf1345e1fe6e8680666bc2886 /docs/manual/getting.txt | |
| parent | fc0d1be16b6ee1a24eeb3498b98034aa37cf4cca (diff) | |
| download | buildroot-novena-20e0926f4469a3486629cfd6fa7f449f2b659aa8.tar.gz buildroot-novena-20e0926f4469a3486629cfd6fa7f449f2b659aa8.zip  | |
package/keyutils: disable on avr32 & microblaze
keyutils builds on neither avr32, nor microblaze (probably because
the toolchains used for those archictectures are way too old), with:
    ..../microblazeel-unknown-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
    -D_FILE_OFFSET_BITS=64 -I. -DPKGBUILD="\"2012-12-27\"" -DPKGVERSION="\"keyutils-1.5.5\""
    -DAPIVERSION="\"libkeyutils-1.4\"" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
    -D_FILE_OFFSET_BITS=64  -pipe -Os  -g -Wall -Werror -UNO_GLIBC_KEYERR -o keyutils.o -c keyutils.c
    cc1: warnings being treated as errors
    key.dns_resolver.c: In function 'main':
    key.dns_resolver.c:690: warning: dereferencing type-punned pointer will break strict-aliasing rules
Fixing with -fno-strict-aliasing only partially solves the issue for these
two archs, since the C library does not export the resolver symbols so the
link fails down the road...
  - on microblaze, glibc-2.3.6 is tool old and does not set these symbols
    as GLOBALs;
  - on avr32, uClibc does not have these symbols.
It is much more easy to just disable keyutils for avr32 and microblaze.
Fixes both (avr2, microblaze):
    http://autobuild.buildroot.net/results/aa86f6a68f5d0ea4914ab259ed270615bc9d6a99/
    http://autobuild.buildroot.net/results/70ae127a6e353fd5c64c0c3b4e19a2e93d54ce52/
Merry X-Mas!
PS. Thanks Richard for the help understanding those issues.
Cc: Richard Braun <rbraun@sceen.net>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'docs/manual/getting.txt')
0 files changed, 0 insertions, 0 deletions
