Skip to contentSkip to conversation

preferred-xorg-versions-X11R7.5-latest.inc: Use Pixman 0.18.4.

PATCH In review Paul Menzel 3 participants 7 messages Sep 13, 2010 – Sep 15, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 preferred-xorg-versions-X11R7.5-latest.inc: Use Pixman 0.18.4.

Date: Mon, 13 Sep 2010 20:53:48 +0200

Cairo 1.10.0 was added in 1d4c650b1d8dac6adee3d3d4208b81bc9b67bd3d [1] and requires Pixman 0.18.4. This fixes at least the distribution Minimal which does not set the version of cairo explicitly.

[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=1d4c650b1d8dac6adee3d3d4208b81bc9b67bd3d
[2] http://cgit.freedesktop.org/cairo/commit/?id=8127f1f5d52bb716dbd70efe096894f2a542f4a9

---
 .../preferred-xorg-versions-X11R7.5-latest.inc     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
conf/distro/include/preferred-xorg-versions-X11R7.5-latest.inc +1 -1
index 3c9aac0..634265e 100644
@@ -108,7 +108,7 @@ PREFERRED_VERSION_libxxf86misc ?= "1.0.2"
 PREFERRED_VERSION_liblbxutil ?= "1.1.0"
 PREFERRED_VERSION_liboldx ?= "1.0.1"
 PREFERRED_VERSION_libxkbui ?= "1.0.2"
-PREFERRED_VERSION_pixman ?= "0.16.2"
+PREFERRED_VERSION_pixman ?= "0.18.4"
 #proto
 PREFERRED_VERSION_evieext ?= "1.1.0"
 PREFERRED_VERSION_fontcacheproto ?= "0.1.3"
Signature · 1 line
1.7.1
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Paul Menzel

Date: Mon, 13 Sep 2010 20:53:48 +0200

Cairo 1.10.0 was added in 1d4c650b1d8dac6adee3d3d4208b81bc9b67bd3d [1] and requires Pixman 0.18.4. This fixes at least the distribution Minimal which does not set the version of cairo explicitly.

[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=1d4c650b1d8dac6adee3d3d4208b81bc9b67bd3d
[2] http://cgit.freedesktop.org/cairo/commit/?id=8127f1f5d52bb716dbd70efe096894f2a542f4a9

Quoted 27 lines

---
 .../preferred-xorg-versions-X11R7.5-latest.inc     |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)
conf/distro/include/preferred-xorg-versions-X11R7.5-latest.inc +0 -0
index 3c9aac0..634265e 100644
@@ -108,7 +108,7 @@ PREFERRED_VERSION_libxxf86misc ?= "1.0.2"

 PREFERRED_VERSION_liblbxutil ?= "1.1.0"
 PREFERRED_VERSION_liboldx ?= "1.0.1"
 PREFERRED_VERSION_libxkbui ?= "1.0.2"

conf/distro/include/preferred-xorg-versions-X11R7.5-latest.inc +1 -1
-PREFERRED_VERSION_pixman ?= "0.16.2"
+PREFERRED_VERSION_pixman ?= "0.18.4"

 #proto
 PREFERRED_VERSION_evieext ?= "1.1.0"
 PREFERRED_VERSION_fontcacheproto ?= "0.1.3"
--
1.7.1

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Signature · 1 line
-Khem
#2 lore raw

2010/9/13 Khem Raj <[email protected]>:

Quoted 7 lines
Quoted 5 lines · Paul Menzel

Date: Mon, 13 Sep 2010 20:53:48 +0200

Cairo 1.10.0 was added in 1d4c650b1d8dac6adee3d3d4208b81bc9b67bd3d [1] and requires Pixman 0.18.4. This fixes at least the distribution Minimal which does not set the version of cairo explicitly.

Quoted 6 lines
Quoted 4 lines

[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=1d4c650b1d8dac6adee3d3d4208b81bc9b67bd3d
[2] http://cgit.freedesktop.org/cairo/commit/?id=8127f1f5d52bb716dbd70efe096894f2a542f4a9

Paul, thanks for the fix!

Quoted 39 lines
Quoted 22 lines

---
 .../preferred-xorg-versions-X11R7.5-latest.inc     |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)
conf/distro/include/preferred-xorg-versions-X11R7.5-latest.inc +0 -0
index 3c9aac0..634265e 100644
@@ -108,7 +108,7 @@ PREFERRED_VERSION_libxxf86misc ?= "1.0.2"

 PREFERRED_VERSION_liblbxutil ?= "1.1.0"
 PREFERRED_VERSION_liboldx ?= "1.0.1"
 PREFERRED_VERSION_libxkbui ?= "1.0.2"

conf/distro/include/preferred-xorg-versions-X11R7.5-latest.inc +1 -1
-PREFERRED_VERSION_pixman ?= "0.16.2"
+PREFERRED_VERSION_pixman ?= "0.18.4"

 #proto
 PREFERRED_VERSION_evieext ?= "1.1.0"
 PREFERRED_VERSION_fontcacheproto ?= "0.1.3"
--
1.7.1

Quoted 6 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

--
-Khem

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#3 lore raw

Am Dienstag, den 14.09.2010, 15:17 +0200 schrieb Frans Meulenbroeks:

Quoted 10 lines

2010/9/13 Khem Raj <[email protected]>:

Quoted 9 lines · Paul Menzel
Quoted 8 lines

Date: Mon, 13 Sep 2010 20:53:48 +0200

Cairo 1.10.0 was added in 1d4c650b1d8dac6adee3d3d4208b81bc9b67bd3d [1] and requires Pixman 0.18.4. This fixes at least the distribution Minimal which does not set the version of cairo explicitly.

[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=1d4c650b1d8dac6adee3d3d4208b81bc9b67bd3d
[2] http://cgit.freedesktop.org/cairo/commit/?id=8127f1f5d52bb716dbd70efe096894f2a542f4a9

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Paul, thanks for the fix!

Leon committed the same in f68f811ed20c32d3fb7c71fb41484ae6dd9908fc [3].

(Leon, I know it is a simple fix and it was probably easier to not apply this patch but to change it yourself. (pw-am.sh [4] should have made it easy.) But I spent some minutes to compose the commit message to comply to the commit policy [5]. So it would have been nice if this had been included. No, big deal though. Thanks again for fixing it in the repository.)

Thanks,

Paul

[3] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=f68f811ed20c32d3fb7c71fb41484ae6dd9908fc
[4] http://cgit.openembedded.org/cgit.cgi/openembedded/tree/contrib/patchwork/pw-am.sh
[5] http://wiki.openembedded.net/index.php/Commit_Policy

#4 lore raw

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.)

Am Dienstag, den 14.09.2010, 22:29 +0200 schrieb Paul Menzel:

Quoted 15 lines

Am Dienstag, den 14.09.2010, 15:17 +0200 schrieb Frans Meulenbroeks:

Quoted 14 lines

2010/9/13 Khem Raj <[email protected]>:

Quoted 12 lines · Paul Menzel
Quoted 9 lines

Date: Mon, 13 Sep 2010 20:53:48 +0200

Cairo 1.10.0 was added in 1d4c650b1d8dac6adee3d3d4208b81bc9b67bd3d [1] and requires Pixman 0.18.4. This fixes at least the distribution Minimal which does not set the version of cairo explicitly.

[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=1d4c650b1d8dac6adee3d3d4208b81bc9b67bd3d
[2] http://cgit.freedesktop.org/cairo/commit/?id=8127f1f5d52bb716dbd70efe096894f2a542f4a9

Quoted 7 lines
Quoted 3 lines

Paul, thanks for the fix!

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
| […]

Please tell me, if I can provide more information. Thanks,

Paul

#5 lore raw

Re: 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.)

Quoted 28 lines · Paul Menzel

Am Dienstag, den 14.09.2010, 22:29 +0200 schrieb Paul Menzel:

Quoted 15 lines

Am Dienstag, den 14.09.2010, 15:17 +0200 schrieb Frans Meulenbroeks:

Quoted 14 lines

2010/9/13 Khem Raj <[email protected]>:

Quoted 12 lines · Paul Menzel
Quoted 9 lines

Date: Mon, 13 Sep 2010 20:53:48 +0200

Cairo 1.10.0 was added in 1d4c650b1d8dac6adee3d3d4208b81bc9b67bd3d [1] and requires Pixman 0.18.4. This fixes at least the distribution Minimal which does not set the version of cairo explicitly.

[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=1d4c650b1d8dac6adee3d3d4208b81bc9b67bd3d
[2] http://cgit.freedesktop.org/cairo/commit/?id=8127f1f5d52bb716dbd70efe096894f2a542f4a9

Quoted 7 lines
Quoted 3 lines

Paul, thanks for the fix!

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.

Quoted 13 lines
| […]
| /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.

Otherwise we have to patch it to work without TLS.

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

-Khem

Quoted 10 lines

Please tell me, if I can provide more information. Thanks,

Paul

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Signature · 1 line
-Khem
#6 lore raw

Re: pixman 0.18.4: `do_compile()` fails with minimal-uclibc: `../pixman/.libs/libpixman-1.so: undefined reference to `__tls_get_addr'`

Am Dienstag, den 14.09.2010, 15:49 -0700 schrieb Khem Raj:

Quoted 2 lines · Paul Menzel
Quoted 1 line

Am Dienstag, den 14.09.2010, 22:29 +0200 schrieb Paul Menzel:

[…]

Quoted 20 lines
Quoted 8 lines
Quoted 3 lines

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.

Quoted 11 lines
| […]
| /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
| […]
Quoted 3 lines

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.

Quoted 1 line

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.

Quoted 2 lines

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