[oe] [meta-networking][PATCH] freeradius: mark as incompatible with armv5

Adrian Bunk bunk at stusta.de
Fri Oct 4 19:05:28 UTC 2019


On Fri, Oct 04, 2019 at 11:20:18AM -0400, Trevor Gamblin wrote:
> From: Trevor Gamblin <trevor.gamblin at windriver.com>
> 
> Freeradius fails to build for armv5:
> 
> | *** Warning: Linking the executable build/bin/local/radeapclient against the loadable module
> | *** libfreeradius-server.so is not portable!
> |
> | *** Warning: Linking the executable build/bin/local/radeapclient against the loadable module
> | *** libfreeradius-eap.so is not portable!
> path -Wl,/yow-lpggp31/tgamblin/freeradius.build/tmp-glibc/work/armv5e-oe-linux-gnueabi/freeradius/3.0.19-r0/git/build/lib/local//.libs
> /arm-oe-linux-gnueabi/9.2.0/ld: build/lib/local/.libs/libfreeradius-radius.so: undefined reference to `__atomic_compare_exchange_8'
> /arm-oe-linux-gnueabi/9.2.0/ld: build/lib/local/.libs/libfreeradius-radius.so: undefined reference to `__atomic_load_8'
> /arm-oe-linux-gnueabi/9.2.0/ld: build/lib/local/.libs/libfreeradius-radius.so: undefined reference to `__atomic_store_8'
> | collect2: error: ld returned 1 exit status
> | scripts/boiler.mk:630: recipe for target 'build/bin/local/radeapclient' failed
> 
> gcc does not supply 64-bit atomic operations,

This is not true.

> so freeradius cannot be built. Marking as incompatible for armv5.
>...

What is needed is linking with -latomic, as is already done for other 
architectures.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the Openembedded-devel mailing list