Tree/Branch: Poky/1.2_M2 Commit: 0f4d99d207b224bb9ce23de00a48f795ae20b3a0 xserver-xorg-1_1.9.3:do_compile task failed when build the crownbay image on the autobuilder environment.The build failure does not exist with crownbay-noemgd build The error log of these failure cases show: ### | geext.c:221:25: warning: passing argument 1 of 'AddExtension' discards 'const' qualifier from pointer target type [enabled by default] | ../include/extnsionst.h:94:34: note: expected 'char *' but argument is of type 'const char *' | xvmc.c: In function 'ProcXvMCListSubpictureTypes': | xvmc.c:490:22: error: the comparison will always evaluate as 'false' for the address of 'XvMCScreenKeyRec' will never be NULL [-Werror=address] | xvmc.c: In function 'XvMCExtensionInit': | xvmc.c:671:21: error: the comparison will always evaluate as 'false' for the address of 'XvMCScreenKeyRec' will never be NULL [-Werror=address] | xvmc.c:675:12: warning: passing argument 2 of 'CreateNewResourceType' discards 'const' qualifier from pointer target type [enabled by default] | ../include/resource.h:157:26: note: expected 'char *' but argument is of type 'const char *' | xvmc.c:679:12: warning: passing argument 2 of 'CreateNewResourceType' discards 'const' qualifier from pointer target type [enabled by default] | ../include/resource.h:157:26: note: expected 'char *' but argument is of type 'const char *' | xvmc.c:683:8: warning: passing argument 2 of 'CreateNewResourceType' discards 'const' qualifier from pointer target type [enabled by default] | ../include/resource.h:157:26: note: expected 'char *' but argument is of type 'const char *' | xvmc.c:688:31: warning: passing argument 1 of 'AddExtension' discards 'const' qualifier from pointer target type [enabled by default] | ../include/extnsionst.h:94:34: note: expected 'char *' but argument is of type 'const char *' | xvmc.c: In function 'XvMCFindXvImage': | xvmc.c:749:22: error: the comparison will always evaluate as 'false' for the address of 'XvMCScreenKeyRec' will never be NULL [-Werror=address] | geext.c: In function 'ProcGEQueryVersion': | ../include/privates.h:162:1: warning: inlining failed in call to 'dixLookupPrivate.part.2': call is unlikely and code size would grow [-Winline] | geext.c:61:1: warning: called from here [-Winline] | In file included from ../include/privates.h:151:0, | from ../include/cursor.h:54, | from ../include/scrnintstr.h:55, | from xvmain.c:86: | ../include/dix.h:520:22: warning: redundant redeclaration of 'ffs' [-Wredundant-decls] | geext.c: In function 'GEClientCallback': | ../include/privates.h:162:1: warning: inlining failed in call to 'dixLookupPrivate.part.2': call is unlikely and code size would grow [-Winline] | geext.c:158:1: warning: called from here [-Winline] | cc1: some warnings being treated as errors | | geext.c: In function 'ProcGEDispatch': | ../include/privates.h:162:1: warning: inlining failed in call to 'dixLookupPrivate.part.2': call is unlikely and code size would grow [-Winline] | geext.c:128:1: warning: called from here [-Winline] | make[1]: *** [xvmc.lo] Error 1 | make[1]: *** Waiting for unfinished jobs.... | xvmain.c: In function 'XvExtensionInit': | xvmain.c:183:10: warning: passing argument 1 of 'AddExtension' discards 'const' qualifier from pointer target type [enabled by default] | ../include/extnsionst.h:94:34: note: expected 'char *' but argument is of type 'const char *' | xvmain.c: In function 'CreateResourceTypes': | xvmain.c:213:3: warning: passing argument 2 of 'CreateNewResourceType' discards 'const' qualifier from pointer target type [enabled by default] | ../include/resource.h:157:26: note: expected 'char *' but argument is of type 'const char *' | xvmain.c:219:3: warning: passing argument 2 of 'CreateNewResourceType' discards 'const' qualifier from pointer target type [enabled by default] | ../include/resource.h:157:26: note: expected 'char *' but argument is of type 'const char *' | xvmain.c:226:11: warning: passing argument 2 of 'CreateNewResourceType' discards 'const' qualifier from pointer target type [enabled by default] | ../include/resource.h:157:26: note: expected 'char *' but argument is of type 'const char *' | xvmain.c:233:7: warning: passing argument 2 of 'CreateNewResourceType' discards 'const' qualifier from pointer target type [enabled by default] | ../include/resource.h:157:26: note: expected 'char *' but argument is of type 'const char *' | xvmain.c:240:11: warning: passing argument 2 of 'CreateNewResourceType' discards 'const' qualifier from pointer target type [enabled by default] | ../include/resource.h:157:26: note: expected 'char *' but argument is of type 'const char *' | xvmain.c:247:13: warning: passing argument 2 of 'CreateNewResourceType' discards 'const' qualifier from pointer target type [enabled by default] | ../include/resource.h:157:26: note: expected 'char *' but argument is of type 'const char *' | In file included from ../include/privates.h:151:0, | from ../include/cursor.h:54, | from ../include/scrnintstr.h:55, | from xvdisp.c:33: | ../include/dix.h:520:22: warning: redundant redeclaration of 'ffs' [-Wredundant-decls] | In file included from ../include/dixstruct.h:27:0, | from xtest.c:38: | ../include/dix.h:520:22: warning: redundant redeclaration of 'ffs' [-Wredundant-decls] | xvdisp.c: In function 'ProcXvStopVideo': | xvdisp.c:774:3: warning: declaration of 'rc' shadows a previous local [-Wshadow] | xvdisp.c:768:15: warning: shadowed declaration is here [-Wshadow] | In file included from xtest.c:51:0: | ../Xi/exglobals.h:62:12: warning: redundant redeclaration of 'DeviceKeyPress' [-Wredundant-decls] | ../include/xkbsrv.h:309:22: note: previous declaration of 'DeviceKeyPress' was here | ../Xi/exglobals.h:63:12: warning: redundant redeclaration of 'DeviceKeyRelease' [-Wredundant-decls] | ../include/xkbsrv.h:309:37: note: previous declaration of 'DeviceKeyRelease' was here | ../Xi/exglobals.h:64:12: warning: redundant redeclaration of 'DeviceButtonPress' [-Wredundant-decls] | ../include/xkbsrv.h:310:22: note: previous declaration of 'DeviceButtonPress' was here | ../Xi/exglobals.h:65:12: warning: redundant redeclaration of 'DeviceButtonRelease' [-Wredundant-decls] | ../include/xkbsrv.h:310:40: note: previous declaration of 'DeviceButtonRelease' was here | ../Xi/exglobals.h:66:12: warning: redundant redeclaration of 'DeviceMotionNotify' [-Wredundant-decls] | ../include/xkbsrv.h:309:54: note: previous declaration of 'DeviceMotionNotify' was here | xtest.c:58:12: warning: redundant redeclaration of 'DeviceValuator' [-Wredundant-decls] | ../Xi/exglobals.h:61:12: note: previous declaration of 'DeviceValuator' was here | xtest.c: In function 'XTestExtensionInit': | xtest.c:103:13: warning: passing argument 1 of 'AddExtension' discards 'const' qualifier from pointer target type [enabled by default] | ../include/extnsionst.h:94:34: note: expected 'char *' but argument is of type 'const char *' | xtest.c: In function 'InitXTestDevices': | xtest.c:596:24: warning: passing argument 2 of 'AllocXTestDevice' discards 'const' qualifier from pointer target type [enabled by default] | ../include/input.h:525:12: note: expected 'char *' but argument is of type 'const char *' | xtest.c: In function 'DeviceSetXTestProperty': | xtest.c:617:5: warning: passing argument 1 of 'XIGetKnownProperty' discards 'const' qualifier from pointer target type [enabled by default] | ../include/exevents.h:104:23: note: expected 'char *' but argument is of type 'const char *' | xtest.c: In function 'AllocXTestDevice': | xtest.c:647:9: warning: passing argument 1 of 'XIGetKnownProperty' discards 'const' qualifier from pointer target type [enabled by default] | ../include/exevents.h:104:23: note: expected 'char *' but argument is of type 'const char *' | xtest.c:650:9: warning: passing argument 1 of 'XIGetKnownProperty' discards 'const' qualifier from pointer target type [enabled by default] | ../include/exevents.h:104:23: note: expected 'char *' but argument is of type 'const char *' | xtest.c:652:9: warning: passing argument 1 of 'XIGetKnownProperty' discards 'const' qualifier from pointer target type [enabled by default] | ../include/exevents.h:104:23: note: expected 'char *' but argument is of type 'const char *' | xtest.c:655:9: warning: passing argument 1 of 'XIGetKnownProperty' discards 'const' qualifier from pointer target type [enabled by default] | ../include/exevents.h:104:23: note: expected 'char *' but argument is of tyERROR: Function 'do_compile' failed (see /srv/home/pokybuild/yocto-autobuilder/yocto-slave/crownbay/build/build/tmp/work/core2-poky-linux/xserver-xorg-1_1.9.3-r0/temp/log.do_compile.2356 for further information) | pe 'const char *' | xvmain.c: In function 'XvCloseScreen': | ../include/privates.h:162:1: warning: inlining failed in call to 'dixLookupPrivate.part.4': call is unlikely and code size would grow [-Winline] | xvmain.c:306:1: warning: called from here [-Winline] | ../include/privates.h:145:1: warning: inlining failed in call to 'dixSetPrivate.part.5': call is unlikely and code size would grow [-Winline] | xvmain.c:306:1: warning: called from here [-Winline] | xvmain.c: In function 'XvDestroyPixmap': | ../include/privates.h:162:1: warning: inlining failed in call to 'dixLookupPrivate.part.4': call is unlikely and code size would grow [-Winline] | xvmain.c:347:1: warning: called from here [-Winline] | ../include/privates.h:162:1: warning: inlining failed in call to 'dixLookupPrivate.part.4': call is unlikely and code size would grow [-Winline] | xvmain.c:347:1: warning: called from here [-Winline] | xvmain.c: In function 'XvDestroyWindow': | ../include/privates.h:162:1: warning: inlining failed in call to 'dixLookupPrivate.part.4': call is unlikely and code size would grow [-Winline] | xvmain.c:398:1: warning: called from here [-Winline] | ../include/privates.h:162:1: warning: inlining failed in call to 'dixLookupPrivate.part.4': call is unlikely and code size would grow [-Winline] | xvmain.c:398:1: warning: called from here [-Winline] | xvmain.c: In function 'XvScreenInit': | ../include/privates.h:162:1: warning: inlining failed in call to 'dixLookupPrivate.part.4': call is unlikely and code size would grow [-Winline] | xvmain.c:258:1: warning: called from here [-Winline] | ../include/privates.h:145:1: warning: inlining failed in call to 'dixSetPrivate.part.5': call is unlikely and code size would grow [-Winline] | xvmain.c:258:1: warning: called from here [-Winline] | make[1]: Leaving directory `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/crownbay/build/build/tmp/work/core2-poky-linux/xserver-xorg-1_1.9.3-r0/xorg-server-1.9.3/Xext' | make: *** [all-recursive] Error 1 | ERROR: oe_runmake failed NOTE: package xserver-xorg-1_1.9.3-r0: task do_compile: Failed ###
Created attachment 317 [details] log update the description and add attachment ------------------------------------------- Tree/Branch: Poky/1.2_M2 Commit: 0f4d99d207b224bb9ce23de00a48f795ae20b3a0 Meta/Branch:1.2_M2 Commit:9016be4d8005cfff3fedf4aded4600c6e110263a xserver-xorg-1_1.9.3:do_compile task failed when build the crownbay image on the autobuilder environment.The build failure does not exist with crownbay-noemgd build Here I attached the Failed.log
This problem was fixed last week: commit 4b6657ce65e3b15118c663f7b03249560d282cbd Author: Tom Zanussi <tom.zanussi@intel.com> Date: Thu Jan 12 12:18:50 2012 -0600 meta-intel/common: fix ptr->int and Werror=address compile errors