Patchwork [4/6] xserver-xorg (1.9.4): enable xephyr

login
register
mail settings
Submitter Otavio Salvador
Date April 7, 2011, 1:19 p.m.
Message ID <1302182396-4171-5-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/2051/
State New, archived
Headers show

Comments

Otavio Salvador - April 7, 2011, 1:19 p.m.
---
 recipes/xorg-xserver/xserver-xorg_1.9.4.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Martin Jansa - April 11, 2011, 1:10 p.m.
On Thu, Apr 7, 2011 at 3:19 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
> ---
>  recipes/xorg-xserver/xserver-xorg_1.9.4.bb |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/recipes/xorg-xserver/xserver-xorg_1.9.4.bb b/recipes/xorg-xserver/xserver-xorg_1.9.4.bb
> index 89e7a03..cc2dc43 100644
> --- a/recipes/xorg-xserver/xserver-xorg_1.9.4.bb
> +++ b/recipes/xorg-xserver/xserver-xorg_1.9.4.bb
> @@ -6,7 +6,7 @@ require xorg-xserver-common.inc
>  DESCRIPTION = "the X.Org X server"
>  DEPENDS += "pixman libpciaccess openssl dri2proto glproto xorg-minimal-fonts font-util-native"
>  PE = "2"
> -PR = "${INC_PR}.0"
> +PR = "${INC_PR}.1"
>
>  SRC_URI += " \
>             file://dolt-fix.patch \
> @@ -25,7 +25,7 @@ do_install_prepend() {
>  PACKAGE_ARCH_ion = "${MACHINE_ARCH}"
>  XINERAMA = "${@['--disable-xinerama','--enable-xinerama'][bb.data.getVar('MACHINE',d) in ['ion']]}"
>
> -EXTRA_OECONF += " ${CONFIG_MANAGER_OPTION} ${XINERAMA} --disable-kdrive --disable-xephyr --disable-xsdl --disable-xfake --disable-xfbdev --disable-dmx"
> +EXTRA_OECONF += " ${CONFIG_MANAGER_OPTION} ${XINERAMA} --disable-xsdl --disable-xfake --disable-xfbdev --disable-dmx"
>  EXTRA_OECONF += " --enable-dri2 --disable-unit-tests --disable-docs --disable-devel-docs"
>
>  export LDFLAGS += " -ldl "

I don't remember exact error I got when I was disabling it few months
ago, but today I've tried to enable it with your patch and got ICE

| make[3]: Leaving directory
`/OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/xserver-xorg-2_1.10.0.902-r19.0+gitr0+ec6e1e45627de2bb851f135df0507a360d0d99e6/git/hw/kdrive/linux'
| Making all in ephyr
| make[3]: Entering directory
`/OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/xserver-xorg-2_1.10.0.902-r19.0+gitr0+ec6e1e45627de2bb851f135df0507a360d0d99e6/git/hw/kdrive/ephyr'
| Making all in man
| make[4]: Entering directory
`/OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/xserver-xorg-2_1.10.0.902-r19.0+gitr0+ec6e1e45627de2bb851f135df0507a360d0d99e6/git/hw/kdrive/ephyr/man'
|   GEN    Xephyr.1
| make[4]: Leaving directory
`/OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/xserver-xorg-2_1.10.0.902-r19.0+gitr0+ec6e1e45627de2bb851f135df0507a360d0d99e6/git/hw/kdrive/ephyr/man'
| make[4]: Entering directory
`/OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/xserver-xorg-2_1.10.0.902-r19.0+gitr0+ec6e1e45627de2bb851f135df0507a360d0d99e6/git/hw/kdrive/ephyr'
|   CC     hostx.lo
|   CC     ephyrvideo.lo
|   CC     ephyrhostvideo.lo
| ephyrhostvideo.c: In function 'ephyrHostXVLogXErrorEvent':
| ephyrhostvideo.c:141:5: warning: format not a string literal,
argument types not checked
| ephyrhostvideo.c:160:9: warning: format not a string literal,
argument types not checked
| ephyrhostvideo.c:192:13: warning: format not a string literal,
argument types not checked
| ephyrhostvideo.c:220:9: warning: format not a string literal,
argument types not checked
| ephyrhostvideo.c:226:5: warning: format not a string literal,
argument types not checked
| ephyrhostvideo.c:230:5: warning: format not a string literal,
argument types not checked
| ephyrvideo.c: In functionERROR: Function 'do_compile' failed (see
/OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/xserver-xorg-2_1.10.0.902-r19.0+gitr0+ec6e1e45627de2bb851f135df0507a360d0d99e6/temp/log.do_compile.22901
for further information)
|  'ephyrGetStill':
| ephyrvideo.c:1243:1: internal compiler error: in
default_secondary_reload, at targhooks.c:762
| Please submit a full bug report,
| with preprocessed source if appropriate.
| See <http://gcc.gnu.org/bugs.html> for instructions.
| make[4]: *** [ephyrvideo.lo] Error 1
| make[4]: *** Waiting for unfinished jobs....
| make[4]: Leaving directory
`/OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/xserver-xorg-2_1.10.0.902-r19.0+gitr0+ec6e1e45627de2bb851f135df0507a360d0d99e6/git/hw/kdrive/ephyr'
| make[3]: *** [all-recursive] Error 1
| make[3]: Leaving directory
`/OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/xserver-xorg-2_1.10.0.902-r19.0+gitr0+ec6e1e45627de2bb851f135df0507a360d0d99e6/git/hw/kdrive/ephyr'
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory
`/OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/xserver-xorg-2_1.10.0.902-r19.0+gitr0+ec6e1e45627de2bb851f135df0507a360d0d99e6/git/hw/kdrive'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory
`/OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/xserver-xorg-2_1.10.0.902-r19.0+gitr0+ec6e1e45627de2bb851f135df0507a360d0d99e6/git/hw'
| make: *** [all-recursive] Error 1
| + die 'oe_runmake failed'
| + oefatal 'oe_runmake failed'
| + echo FATAL: 'oe_runmake failed'
| FATAL: oe_runmake failed
| + exit 1
NOTE: package xserver-xorg-2_1.10.0.902-r19.0+gitr0+ec6e1e45627de2bb851f135df0507a360d0d99e6:
task do_compile: Failed
ERROR: Task 14 (/OE/dev/recipes/xorg-xserver/xserver-xorg_git.bb,
do_compile) failed with exit code '1'
ERROR: '/OE/dev/recipes/xorg-xserver/xserver-xorg_git.bb' failed

are you using sane-toolchain with gcc-4.5?

Regards,
Otavio Salvador - April 11, 2011, 1:32 p.m.
On Mon, Apr 11, 2011 at 10:10, Martin Jansa <martin.jansa@gmail.com> wrote:
> are you using sane-toolchain with gcc-4.5?

Yes; using mininal distro.
Khem Raj - April 11, 2011, 9:45 p.m.
On (11/04/11 15:10), Martin Jansa wrote:
> |  'ephyrGetStill':
> | ephyrvideo.c:1243:1: internal compiler error: in
> default_secondary_reload, at targhooks.c:762
> | Please submit a full bug report,
> | with preprocessed source if appropriate.
> | See <http://gcc.gnu.org/bugs.html> for instructions.
> | make[4]: *** [ephyrvideo.lo] Error 1


another gcc ICE :( is it again in thumb mode ?
can you send me the preprocessed file for ephyrvideo.c

-Khem

Patch

diff --git a/recipes/xorg-xserver/xserver-xorg_1.9.4.bb b/recipes/xorg-xserver/xserver-xorg_1.9.4.bb
index 89e7a03..cc2dc43 100644
--- a/recipes/xorg-xserver/xserver-xorg_1.9.4.bb
+++ b/recipes/xorg-xserver/xserver-xorg_1.9.4.bb
@@ -6,7 +6,7 @@  require xorg-xserver-common.inc
 DESCRIPTION = "the X.Org X server"
 DEPENDS += "pixman libpciaccess openssl dri2proto glproto xorg-minimal-fonts font-util-native"
 PE = "2"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 SRC_URI += " \
             file://dolt-fix.patch \
@@ -25,7 +25,7 @@  do_install_prepend() {
 PACKAGE_ARCH_ion = "${MACHINE_ARCH}"
 XINERAMA = "${@['--disable-xinerama','--enable-xinerama'][bb.data.getVar('MACHINE',d) in ['ion']]}"
 
-EXTRA_OECONF += " ${CONFIG_MANAGER_OPTION} ${XINERAMA} --disable-kdrive --disable-xephyr --disable-xsdl --disable-xfake --disable-xfbdev --disable-dmx"
+EXTRA_OECONF += " ${CONFIG_MANAGER_OPTION} ${XINERAMA} --disable-xsdl --disable-xfake --disable-xfbdev --disable-dmx"
 EXTRA_OECONF += " --enable-dri2 --disable-unit-tests --disable-docs --disable-devel-docs"
 
 export LDFLAGS += " -ldl "