Comment 14 for bug 1486931

Revision history for this message
Chris J Arges (arges) wrote :

This fails to build on powerpc (not ppc64el):

/bin/bash ../libtool --silent --tag=CC --mode=link gcc -g -O2 -fno-strict-aliasing -Wreturn-type -I /lib/modules/3.13.0-65-powerpc64-smp/build/include -o ipmitool ipmitool.o ipmishell.o ../lib/libipmitool.la plugins/libintf.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto
plugins/.libs/libintf.a(lt3-hpm2.o): In function `hpm2_get_capabilities':
/«PKGBUILDDIR»/lib/hpm2.c:125: undefined reference to `BSWAP_16'
plugins/.libs/libintf.a(lt3-hpm2.o): In function `hpm2_get_lan_channel_capabilities':
/«PKGBUILDDIR»/lib/hpm2.c:246: undefined reference to `BSWAP_16'
/«PKGBUILDDIR»/lib/hpm2.c:247: undefined reference to `BSWAP_16'
collect2: error: ld returned 1 exit status

https://launchpad.net/ubuntu/+source/ipmitool/1.8.13-1ubuntu0.4/+build/8028707

Is __builtin_bswap16 not available for powerpc gcc4.8?