Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
To: buildroot@busybox.net
Subject: [Buildroot] [arc-buildroot] [autobuild.buildroot.net] arc build results for 2015-05-08
Date: Wed, 13 May 2015 22:19:44 +0000	[thread overview]
Message-ID: <1431555583.3047.26.camel@synopsys.com> (raw)
In-Reply-To: <20150509063014.AA6AD101580@stock.ovh.net>

Hi Thomas,

On Sat, 2015-05-09 at 08:30 +0200, Thomas Petazzoni wrote:
> Those results are limited to the arc architecture.
> 
> Build statistics for 2015-05-08
> ===============================
> 
>         success : 18 
>        failures : 4  
>        timeouts : 0  
>           TOTAL : 22 
> 
> Classification of failures by reason
> ====================================
> 
>       host-gdb-arc-2014.12-gdb | 3 
>              armadillo-4.000.4 | 1 
> 
> Detail of failures
> ===================
> 
>          arc |              armadillo-4.000.4 | NOK | http://autobuild.buildroot.net/results/1ccf0829c13896c000aed1956155a34844207b2f/

That one is similar to Python. We're building all statically, still
armadillo tries to:
---------->8-----------
Linking CXX shared library libarmadillo.so
---------->8-----------

Which inevitably leads to:
---------->8-----------
/home/test/autobuild/instance-1/output/host/opt/ext-toolchain/bin/../lib/gcc/arc-buildroot-linux-uclibc/4.8.3/../../../../arc-buildroot-linux-uclibc/bin/ld: /home/test/autobuild/instance-1/output/host/usr/arc-buildroot-linux-uclibc/sysroot/usr/lib/libblas.a(sgemv.c.o): relocation R_ARC_32_ME against `.rodata.str1.4' can not be used when making a shared object; recompile with -fPIC
/home/test/autobuild/instance-1/output/host/usr/arc-buildroot-linux-uclibc/sysroot/usr/lib/libblas.a: could not read symbols: Bad value
---------->8-----------

Problem happens because in armadillo version we use (4.000.4) library is
supposed to be built as shared regardless BUILD_SHARED_LIBS value:
---------->8-----------
add_library( armadillo SHARED ${PROJECT_SOURCE_DIR}/src/wrapper.cpp )
---------->8-----------

This could be fixed with a trivial patch in Buildroot or with bump of
armadillo version. Current most recent version 5.100.2 already has
required fix http://sourceforge.net/p/arma/code/3569/ (since 4.400.0).

I'm about to send a patch that bumps armadillo version to 5.100.2.

-Alexey

           reply	other threads:[~2015-05-13 22:19 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20150509063014.AA6AD101580@stock.ovh.net>]

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=1431555583.3047.26.camel@synopsys.com \
    --to=alexey.brodkin@synopsys.com \
    --cc=buildroot@busybox.net \
    /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