Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Trevor Gamblin <Trevor.Gamblin@windriver.com>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-networking][PATCH] freeradius: mark as incompatible with armv5
Date: Fri, 4 Oct 2019 22:05:28 +0300	[thread overview]
Message-ID: <20191004190528.GA15666@localhost> (raw)
In-Reply-To: <20191004152018.32461-1-Trevor.Gamblin@windriver.com>

On Fri, Oct 04, 2019 at 11:20:18AM -0400, Trevor Gamblin wrote:
> From: Trevor Gamblin <trevor.gamblin@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



  reply	other threads:[~2019-10-04 19:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-04 15:20 [meta-networking][PATCH] freeradius: mark as incompatible with armv5 Trevor Gamblin
2019-10-04 19:05 ` Adrian Bunk [this message]
2019-10-07 11:53   ` Trevor Gamblin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191004190528.GA15666@localhost \
    --to=bunk@stusta.de \
    --cc=Trevor.Gamblin@windriver.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox