Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Seiderer <ps.report@gmx.net>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v1] package/assimp: fix static only compile
Date: Mon, 13 Apr 2020 15:01:16 +0200	[thread overview]
Message-ID: <20200413150116.1616f49d@gmx.net> (raw)
In-Reply-To: <20200412232237.4bf4011f@windsurf.home>

Hello Thomas,

On Sun, 12 Apr 2020 23:22:37 +0200, Thomas Petazzoni <thomas.petazzoni@bootlin.com> wrote:

> On Sun, 12 Apr 2020 18:35:25 +0200
> Peter Seiderer <ps.report@gmx.net> wrote:
>
> > Add patch to disable internal dynamic zlib library building, fixes
> > compile failure for static only toolchains (and assimp links
> > against the static one).
> >
> > Fixes:
> >
> >   http://autobuild.buildroot.net/results/7c2db184ee200d1719308f38f42382bb39d8d5c6
> >
> >   [13%] Linking C shared library ../../lib/libzlib.so
> >   .../arm-buildroot-linux-uclibcgnueabi/bin/ld: .../host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(__uClibc_main.os): in function `__uClibc_fini':
> >   __uClibc_main.c:(.text+0x15c): undefined reference to `__fini_array_start'
> >   .../arm-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x160): undefined reference to `__fini_array_end'
> >   .../arm-buildroot-linux-uclibcgnueabi/bin/ld: final link failed: bad value
> >   collect2: error: ld returned 1 exit status
> >
> > Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> > ---
> >  ...lib-disable-dynamic-library-building.patch | 31 +++++++++++++++++++
> >  1 file changed, 31 insertions(+)
> >  create mode 100644 package/assimp/0003-contrib-zlib-disable-dynamic-library-building.patch
>
> Applied to master, thanks. I assume you have submitted the patch
> upstream :-)

Yep, just done (see [1])...

Regards,
Peter

[1] https://github.com/assimp/assimp/pull/3146

>
> Thomas

      reply	other threads:[~2020-04-13 13:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-12 16:35 [Buildroot] [PATCH v1] package/assimp: fix static only compile Peter Seiderer
2020-04-12 21:22 ` Thomas Petazzoni
2020-04-13 13:01   ` Peter Seiderer [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=20200413150116.1616f49d@gmx.net \
    --to=ps.report@gmx.net \
    --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