Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v1] wiringpi: fix static linking
Date: Sun, 12 Feb 2017 15:03:17 +0100	[thread overview]
Message-ID: <20170212150317.34be8d55@free-electrons.com> (raw)
In-Reply-To: <20170211220408.2835-1-ps.report@gmx.net>

Hello,

On Sat, 11 Feb 2017 23:04:08 +0100, Peter Seiderer wrote:
> Update patch 0001-Adjust-for-buildroot-build.patch to
> use real static linking (command line flag '-static' for
> target gpio-static).
> 
> Fixes [1]:
> 
>   [Link]
>   .../output/host/usr/lib/gcc/powerpc-buildroot-linux-uclibc/5.4.0/libgcc.a(unwind-dw2-fde-dip.o): In function `_Unwind_Find_FDE':
>   ...output/build/host-gcc-final-5.4.0/build/powerpc-buildroot-linux-uclibc/libgcc/../../../libgcc/unwind-dw2-fde-dip.c:465: undefined reference to `dl_iterate_phdr'
>   collect2: error: ld returned 1 exit status
>   make[1]: *** [gpio-static] Error 1
>   make[1]: Leaving directory `.../output/build/wiringpi-2.32/gpio'
> 
> [1] http://autobuild.buildroot.net/results/b905617dda0e120d04c54daf7cae2bad236ac767
> 
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> ---
>  .../wiringpi/0001-Adjust-for-buildroot-build.patch | 30 ++++++++++++----------
>  1 file changed, 17 insertions(+), 13 deletions(-)

Applied to master, thanks. Don't forget to send your patch upstream.
Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

      reply	other threads:[~2017-02-12 14:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-11 22:04 [Buildroot] [PATCH v1] wiringpi: fix static linking Peter Seiderer
2017-02-12 14:03 ` Thomas Petazzoni [this message]

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=20170212150317.34be8d55@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.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