All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Menzel <paulepanter@users.sourceforge.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: pixman 0.18.4: `do_compile()` fails with minimal-uclibc: `../pixman/.libs/libpixman-1.so: undefined reference to `__tls_get_addr'`
Date: Wed, 15 Sep 2010 16:20:53 +0200	[thread overview]
Message-ID: <1284560454.3890.3.camel@mattotaupa> (raw)
In-Reply-To: <AANLkTimb4zC5NYMmt=0a1=ANMxHQDotimEW7TP5JPVqw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2428 bytes --]

Am Dienstag, den 14.09.2010, 15:49 -0700 schrieb Khem Raj:
> On Tue, Sep 14, 2010 at 3:32 PM, Paul Menzel wrote:
> > Am Dienstag, den 14.09.2010, 22:29 +0200 schrieb Paul Menzel:

[…]

> >> Leon committed the same in f68f811ed20c32d3fb7c71fb41484ae6dd9908fc [3].
> >
> >> [3] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=f68f811ed20c32d3fb7c71fb41484ae6dd9908fc
> >
> > Unfortunately I just tested this patch with minimal-uclibc and it Pixman
> > 0.18.4 fails with the following error when doing `bitbake
> > console-image`.
> >
> > | […]
> > | /oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-oe-linux-uclibceabi/4.4.4/../../../../arm-oe-linux-uclibceabi/bin/ld: warning: libc.so, needed by /oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-oe-linux-uclibceabi/4.4.4/../../../../arm-oe-linux-uclibceabi/lib/libgcc_s.so.1, not found (try using -rpath or -rpath-link)
> > | ../pixman/.libs/libpixman-1.so: undefined reference to `__tls_get_addr'
> > | collect2: ld returned 1 exit status
> > | make[2]: *** [a1-trap-test] Error 1
> > | make[2]: *** Waiting for unfinished jobs....
> > | /oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-oe-linux-uclibceabi/4.4.4/../../../../arm-oe-linux-uclibceabi/bin/ld: warning: libc.so, needed by /oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-oe-linux-uclibceabi/4.4.4/../../../../arm-oe-linux-uclibceabi/lib/libgcc_s.so.1, not found (try using -rpath or -rpath-link)
> > | ../pixman/.libs/libpixman-1.so: undefined reference to `__tls_get_addr'
> > | collect2: ld returned 1 exit status
> > | make[2]: *** [region-test] Error 1
> > | […]
> 
> It seems that TLS is needed/enabled by default for pixman. You can explore if
> you can disable tls during configure like --disable-tls or some such option
> if exists would be ideal then you can disable it for uclibc based builds.

I could not find a swith in the output of `./configure --help`.

> Otherwise we have to patch it to work without TLS.

On other option would be to pin an older cairo version for minimal until
uclibc is updated.

> As a workaround you can use uclibc-git recipes which have TLS/NPTL enabled
> by default and it should work with uclibc-git unmodified.

Yes this worked.

[…]


Thanks,

Paul

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

      reply	other threads:[~2010-09-15 14:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-13 19:03 [PATCH] preferred-xorg-versions-X11R7.5-latest.inc: Use Pixman 0.18.4 Paul Menzel
2010-09-13 20:44 ` Khem Raj
2010-09-14 13:17   ` Frans Meulenbroeks
2010-09-14 20:29     ` Paul Menzel
2010-09-14 22:32       ` pixman 0.18.4: `do_compile()` fails with minimal-uclibc: `../pixman/.libs/libpixman-1.so: undefined reference to `__tls_get_addr'` (was: Re: [PATCH] preferred-xorg-versions-X11R7.5-latest.inc: Use Pixman 0.18.4.) Paul Menzel
2010-09-14 22:49         ` Khem Raj
2010-09-15 14:20           ` Paul Menzel [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=1284560454.3890.3.camel@mattotaupa \
    --to=paulepanter@users.sourceforge.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.