Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 892DAE00DC3; Thu, 1 Feb 2018 00:32:52 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [121.254.168.204 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from smtp1.hiworks.co.kr (smtp1.hiworks.co.kr [121.254.168.204]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 10648E00B5F for ; Thu, 1 Feb 2018 00:32:49 -0800 (PST) Received: (qmail 42055 invoked from network); 1 Feb 2018 17:32:47 +0900 Received: from unknown (HELO hiworks.co.kr) (192.168.10.218) by 0 (qmail 1.03 + ejcp v14) with SMTP; 1 Feb 2018 17:32:47 +0900 Received: (qmail 16122 invoked by uid 504); 1 Feb 2018 17:32:47 +0900 Received: from unknown (HELO dhkooPC) (dhkoo@m2i.co.kr@112.216.145.10) by 0 (qmail 1.03 + ejcp v14) with SMTP; 1 Feb 2018 17:32:47 +0900 X-Authinfo: HIWORKS SMTP authenticated From: "dhkoo" To: Date: Thu, 1 Feb 2018 17:32:52 +0900 Message-ID: <000901d39b37$40706290$c15127b0$@co.kr> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdObNz/3OssXwX3OTEyAoj+o4FMKjQ== Subject: error: impossible constraint in 'asm' X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2018 08:32:52 -0000 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000A_01D39B82.B0580A90" Content-Language: ko ------=_NextPart_000_000A_01D39B82.B0580A90 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi. Recently, I'm work on mplayer that media player for my custom system. My Kernel version is 3.8, and mplayer version is 1.3.0. And when I perform bitbake, there's error on do_compile process. The messages says like below. ERROR: mplayer-1.3.0-r0 do_compile: oe_runmake failed ERROR: mplayer-1.3.0-r0 do_compile: Function failed: do_compile (log file is located at /home/ku/yocto/build/tmp/work/armv7ahf-vfp-poky-linux-gnueabi/mplayer/1.3.0- r0/temp/log.do_compile.2960) ERROR: Logfile of failure stored in: /home/ku/yocto/build/tmp/work/armv7ahf-vfp-poky-linux-gnueabi/mplayer/1.3.0- r0/temp/log.do_compile.2960 Log data follows: | DEBUG: Executing shell function do_compile | NOTE: make -j 4 | ./codec-cfg etc/codecs.conf > codecs.conf.h | arm-poky-linux-gnueabi-gcc -march=armv7-a -marm -mfpu=vfp -mfloat-abi=hard --sysroot=/home/ku/yocto/build/tmp/work/armv7ahf-vfp-poky-linux-gnueabi/mpla yer/1.3.0-r0/recipe-sysroot -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O4 -ffast-math -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mcpu=cortex-a9 -mfpu=neon -D_REENTRANT -DZLIB_CONST -c -o cpudetect.o cpudetect.c | arm-poky-linux-gnueabi-gcc -march=armv7-a -marm -mfpu=vfp -mfloat-abi=hard --sysroot=/home/ku/yocto/build/tmp/work/armv7ahf-vfp-poky-linux-gnueabi/mpla yer/1.3.0-r0/recipe-sysroot -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O4 -ffast-math -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mcpu=cortex-a9 -mfpu=neon -D_REENTRANT -DZLIB_CONST -c -o edl.o edl.c | arm-poky-linux-gnueabi-gcc -march=armv7-a -marm -mfpu=vfp -mfloat-abi=hard --sysroot=/home/ku/yocto/build/tmp/work/armv7ahf-vfp-poky-linux-gnueabi/mpla yer/1.3.0-r0/recipe-sysroot -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O4 -ffast-math -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mcpu=cortex-a9 -mfpu=neon -D_REENTRANT -DZLIB_CONST -c -o fmt-conversion.o fmt-conversion.c | Reading optional codecs config file etc/codecs.conf: 224 audio & 451 video codecs | arm-poky-linux-gnueabi-gcc -march=armv7-a -marm -mfpu=vfp -mfloat-abi=hard --sysroot=/home/ku/yocto/build/tmp/work/armv7ahf-vfp-poky-linux-gnueabi/mpla yer/1.3.0-r0/recipe-sysroot -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O4 -ffast-math -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mcpu=cortex-a9 -mfpu=neon -D_REENTRANT -DZLIB_CONST -c -o m_config.o m_config.c | m_config.c: In function 'm_config_add_option': | m_config.c:326:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] | co->name = arg->name; | ^ | cpudetect.c: In function 'do_cpuid': | cpudetect.c:258:5: error: impossible constraint in 'asm' | __asm__ volatile | ^~~~~~~ | Makefile:726: recipe for target 'cpudetect.o' failed | make: *** [cpudetect.o] Error 1 | make: *** Waiting for unfinished jobs.... | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_compile (log file is located at /home/ku/yocto/build/tmp/work/armv7ahf-vfp-poky-linux-gnueabi/mplayer/1.3.0- r0/temp/log.do_compile.2960) ERROR: Task (/home/ku/yocto/meta-top/recipes-top/mplayer/mplayer_1.3.0.bb:do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 1475 tasks of which 1474 didn't need to be rerun and 1 failed. Does anyone has an idea?? ------=_NextPart_000_000A_01D39B82.B0580A90 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi.

 

Recently, I'm work on mplayer = that media player for my custom system.

My Kernel version is 3.8, and = mplayer version is 1.3.0.

 

And when I perform bitbake, = there's error on do_compile process. The messages says like below.

ERROR: mplayer-1.3.0-r0 do_compile: oe_runmake = failed

ERROR: mplayer-1.3.0-r0 = do_compile: Function failed: do_compile (log file is located at /home/ku/yocto/build/tmp/work/armv7ahf-vfp-poky-linux-gnueabi/mplayer/1.3= .0-r0/temp/log.do_compile.2960)

ERROR: Logfile of failure stored = in: /home/ku/yocto/build/tmp/work/armv7ahf-vfp-poky-linux-gnueabi/mplayer/1.3= .0-r0/temp/log.do_compile.2960

Log data = follows:

| DEBUG: Executing shell = function do_compile

| NOTE: make -j = 4

| ./codec-cfg etc/codecs.conf = > codecs.conf.h

| = arm-poky-linux-gnueabi-gcc  -march=3Darmv7-a -marm -mfpu=3Dvfp -mfloat-abi=3Dhard --sysroot=3D/home/ku/yocto/build/tmp/work/armv7ahf-vfp-poky-linux-gnueabi= /mplayer/1.3.0-r0/recipe-sysroot -MMD -MP -Wundef  -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=3Dgnu99  -D_POSIX_C_SOURCE=3D200112 -D_XOPEN_SOURCE=3D600 = -D_ISOC99_SOURCE -I. -Iffmpeg  -fexpensive-optimizations -fomit-frame-pointer = -frename-registers -O4 -ffast-math -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE64_SOURCE -mcpu=3Dcortex-a9 -mfpu=3Dneon   -D_REENTRANT -DZLIB_CONST -c = -o cpudetect.o cpudetect.c

| = arm-poky-linux-gnueabi-gcc  -march=3Darmv7-a -marm -mfpu=3Dvfp -mfloat-abi=3Dhard --sysroot=3D/home/ku/yocto/build/tmp/work/armv7ahf-vfp-poky-linux-gnueabi= /mplayer/1.3.0-r0/recipe-sysroot -MMD -MP -Wundef  -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=3Dgnu99  -D_POSIX_C_SOURCE=3D200112 -D_XOPEN_SOURCE=3D600 = -D_ISOC99_SOURCE -I. -Iffmpeg  -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O4 -ffast-math -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE = -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE64_SOURCE -mcpu=3Dcortex-a9 -mfpu=3Dneon   = -D_REENTRANT -DZLIB_CONST -c -o edl.o edl.c

| = arm-poky-linux-gnueabi-gcc  -march=3Darmv7-a -marm -mfpu=3Dvfp -mfloat-abi=3Dhard --sysroot=3D/home/ku/yocto/build/tmp/work/armv7ahf-vfp-poky-linux-gnueabi= /mplayer/1.3.0-r0/recipe-sysroot -MMD -MP -Wundef  -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=3Dgnu99  -D_POSIX_C_SOURCE=3D200112 -D_XOPEN_SOURCE=3D600 = -D_ISOC99_SOURCE -I. -Iffmpeg  -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O4 -ffast-math -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE = -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE64_SOURCE -mcpu=3Dcortex-a9 -mfpu=3Dneon   = -D_REENTRANT -DZLIB_CONST -c -o fmt-conversion.o fmt-conversion.c

| Reading optional codecs config = file etc/codecs.conf: 224 audio & 451 video codecs

| = arm-poky-linux-gnueabi-gcc  -march=3Darmv7-a -marm -mfpu=3Dvfp -mfloat-abi=3Dhard --sysroot=3D/home/ku/yocto/build/tmp/work/armv7ahf-vfp-poky-linux-gnueabi= /mplayer/1.3.0-r0/recipe-sysroot -MMD -MP -Wundef  -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=3Dgnu99  -D_POSIX_C_SOURCE=3D200112 -D_XOPEN_SOURCE=3D600 = -D_ISOC99_SOURCE -I. -Iffmpeg  -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O4 -ffast-math -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE = -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE64_SOURCE -mcpu=3Dcortex-a9 -mfpu=3Dneon   = -D_REENTRANT -DZLIB_CONST -c -o m_config.o m_config.c

| m_config.c: In function 'm_config_add_option':

| m_config.c:326:14: warning: = assignment discards 'const' qualifier from pointer target type = [-Wdiscarded-qualifiers]

|      = co->name =3D arg->name;

|               ^

| cpudetect.c: In function = 'do_cpuid':

| cpudetect.c:258:5: error: = impossible constraint in 'asm'

|      = __asm__ volatile

|      = ^~~~~~~

| Makefile:726: recipe for = target 'cpudetect.o' failed

| make: *** [cpudetect.o] Error = 1

| make: *** Waiting for = unfinished jobs....

| ERROR: oe_runmake = failed

| WARNING: exit code 1 from a = shell command.

| ERROR: Function failed: = do_compile (log file is located at /home/ku/yocto/build/tmp/work/armv7ahf-vfp-poky-linux-gnueabi/mplayer/1.3= .0-r0/temp/log.do_compile.2960)

ERROR: Task (/home/ku/yocto/meta-top/recipes-top/mplayer/mplayer_1.3.0.bb:do_compile)= failed with exit code '1'

NOTE: Tasks Summary: Attempted = 1475 tasks of which 1474 didn't need to be rerun and 1 = failed.

 

Does anyone has an = idea??

------=_NextPart_000_000A_01D39B82.B0580A90--