[oe-commits] [meta-openembedded] branch master-next updated: freeradius: add -latomic for armv5

git at git.openembedded.org git at git.openembedded.org
Tue Oct 8 19:54:42 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

The following commit(s) were added to refs/heads/master-next by this push:
     new 5d23c63  freeradius: add -latomic for armv5
5d23c63 is described below

commit 5d23c6329ebaef39bd8892365a5867d609fd47cf
Author: Trevor Gamblin <trevor.gamblin at windriver.com>
AuthorDate: Tue Oct 8 08:43:41 2019 -0500

    freeradius: add -latomic for armv5
    
    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
    
    Explicitly link libatomic to fix the issue.
    
    Signed-off-by: Trevor Gamblin <trevor.gamblin at windriver.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-networking/recipes-connectivity/freeradius/freeradius_3.0.19.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-networking/recipes-connectivity/freeradius/freeradius_3.0.19.bb b/meta-networking/recipes-connectivity/freeradius/freeradius_3.0.19.bb
index ded1a67..9da15e0 100644
--- a/meta-networking/recipes-connectivity/freeradius/freeradius_3.0.19.bb
+++ b/meta-networking/recipes-connectivity/freeradius/freeradius_3.0.19.bb
@@ -38,6 +38,7 @@ S = "${WORKDIR}/git"
 
 LDFLAGS_append_powerpc = " -latomic"
 LDFLAGS_append_mipsarch = " -latomic"
+LDFLAGS_append_armv5 = " -latomic"
 
 EXTRA_OECONF = " --enable-strict-dependencies \
         --with-docdir=${docdir}/freeradius-${PV} \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list