* Chromium build broken
@ 2016-06-11 10:11 Gary Thomas
2016-06-16 10:47 ` Gary Thomas
2016-06-16 11:15 ` Carlos Rafael Giani
0 siblings, 2 replies; 4+ messages in thread
From: Gary Thomas @ 2016-06-11 10:11 UTC (permalink / raw)
To: openembedded-devel
Building chromium is broken on my i.MX6 target.
Poky/Yocto info:
BB_VERSION = "1.31.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-15.10"
TARGET_SYS = "arm-amltd-linux-gnueabi"
MACHINE = "teton-p0382"
DISTRO = "amltd"
DISTRO_VERSION = "2.1+snapshot-20160611"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard cortexa9"
TARGET_FPU = "hard"
meta = "master:40e789d1fee7f0df2d23230fff38325119ad2935"
meta-teton-imx6-p0382 = "master:5f3d52b357c0b05e7ea5cfc309e04c8c3aad1260"
meta-fsl-arm = "master:00b46e11e32f859a0d2dad5a5d53d5540be9c15e"
meta-fsl-arm-extra = "master:089ce85e2e2dd78e45b773b947643ab8f4e2b965"
meta-browser = "master:825ea9349fe9b7da39f1de0c3e8e15d9d62f2774"
Error:
| ninja: Entering directory
`/local/p0382_2016-01-13/tmp/work/cortexa9hf-neon-mx6qdl-amltd-linux-gnueabi/chromium/48.0.2548.0-r0/chromium-48.0.2548.0/out/Release'
| [1/9316] SOLINK lib/libnative_theme.so
| [2/9316] CXX obj/components/infobars/core/infobars_core.infobar_container.o
| [3/9316] CXX obj/components/infobars/core/infobars_core.infobars_switches.o
| [4/9316] CXX obj/components/infobars/core/infobars_core.infobar.o
| [5/9316] STAMP obj/ui/compositor/compositor.compile_depends.stamp
| [6/9316] CXX obj/ui/compositor/compositor.callback_layer_animation_observer.o
| FAILED: if [ ! -e lib/libnative_theme.so -o ! -e lib/libnative_theme.so.TOC ]; then arm-amltd-linux-gnueabi-g++
-march=armv7-a -marm -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9
--sysroot=/local/p0382_2016-01-13/tmp/sysroots/teton-p0382 -shared -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
-Wl,-z,now -Wl,-z,relro -Wl,-z,defs -pthread -Wl,-z,noexecstack -fPIC -Wl,--disable-new-dtags -L. -Wl,-O1
-Wl,--as-needed -Wl,--gc-sections -o lib/libnative_theme.so -Wl,-soname=libnative_theme.so @lib/libnative_theme.so.rsp
&& { readelf -d lib/libnative_theme.so | grep SONAME ; arm-amltd-linux-gnueabi-nm -gD -f p lib/libnative_theme.so | cut
-f1-2 -d' '; } > lib/libnative_theme.so.TOC; else arm-amltd-linux-gnueabi-g++ -march=armv7-a -marm -mfpu=neon
-mfloat-abi=hard -mcpu=cortex-a9 --sysroot=/local/p0382_2016-01-13/tmp/sysroots/teton-p0382 -shared -Wl,-O1
-Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -pthread -Wl,-z,noexecstack -fPIC
-Wl,--disable-new-dtags -L. -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -o lib/libnative_theme.so
-Wl,-soname=libnative_theme.so @lib/libnative_theme.so.rsp && { readelf -d lib/libnative_theme.so | grep SONAME ;
arm-amltd-linux-gnueabi-nm -gD -f p lib/libnative_theme.so | cut -f1-2 -d' '; } > lib/libnative_theme.so.tmp && if ! cmp
-s lib/libnative_theme.so.tmp lib/libnative_theme.so.TOC; then mv lib/libnative_theme.so.tmp lib/libnative_theme.so.TOC
; fi; fi
| obj/ui/native_theme/native_theme.common_theme.o: In function `_GLOBAL__sub_I_common_theme.cc':
| /usr/src/debug/chromium/48.0.2548.0-r0/chromium-48.0.2548.0/ui/native_theme/common_theme.cc:273: undefined reference
to `gfx::kGoogleBlue500'
| /usr/src/debug/chromium/48.0.2548.0-r0/chromium-48.0.2548.0/ui/native_theme/common_theme.cc:273: undefined reference
to `gfx::kGoogleBlue300'
Note: I'm still using GCC/4.9.x with the standard linker (not gold)
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Chromium build broken
2016-06-11 10:11 Chromium build broken Gary Thomas
@ 2016-06-16 10:47 ` Gary Thomas
2016-06-16 11:15 ` Carlos Rafael Giani
1 sibling, 0 replies; 4+ messages in thread
From: Gary Thomas @ 2016-06-16 10:47 UTC (permalink / raw)
To: openembedded-devel
On 2016-06-11 12:11, Gary Thomas wrote:
> Building chromium is broken on my i.MX6 target.
>
> Poky/Yocto info:
> BB_VERSION = "1.31.0"
> BUILD_SYS = "x86_64-linux"
> NATIVELSBSTRING = "Ubuntu-15.10"
> TARGET_SYS = "arm-amltd-linux-gnueabi"
> MACHINE = "teton-p0382"
> DISTRO = "amltd"
> DISTRO_VERSION = "2.1+snapshot-20160611"
> TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard cortexa9"
> TARGET_FPU = "hard"
> meta = "master:40e789d1fee7f0df2d23230fff38325119ad2935"
> meta-teton-imx6-p0382 = "master:5f3d52b357c0b05e7ea5cfc309e04c8c3aad1260"
> meta-fsl-arm = "master:00b46e11e32f859a0d2dad5a5d53d5540be9c15e"
> meta-fsl-arm-extra = "master:089ce85e2e2dd78e45b773b947643ab8f4e2b965"
> meta-browser = "master:825ea9349fe9b7da39f1de0c3e8e15d9d62f2774"
>
> Error:
> | ninja: Entering directory
> `/local/p0382_2016-01-13/tmp/work/cortexa9hf-neon-mx6qdl-amltd-linux-gnueabi/chromium/48.0.2548.0-r0/chromium-48.0.2548.0/out/Release'
>
> | [1/9316] SOLINK lib/libnative_theme.so
> | [2/9316] CXX obj/components/infobars/core/infobars_core.infobar_container.o
> | [3/9316] CXX obj/components/infobars/core/infobars_core.infobars_switches.o
> | [4/9316] CXX obj/components/infobars/core/infobars_core.infobar.o
> | [5/9316] STAMP obj/ui/compositor/compositor.compile_depends.stamp
> | [6/9316] CXX obj/ui/compositor/compositor.callback_layer_animation_observer.o
> | FAILED: if [ ! -e lib/libnative_theme.so -o ! -e lib/libnative_theme.so.TOC ]; then arm-amltd-linux-gnueabi-g++
> -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9
> --sysroot=/local/p0382_2016-01-13/tmp/sysroots/teton-p0382 -shared -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
> -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -pthread -Wl,-z,noexecstack -fPIC -Wl,--disable-new-dtags -L. -Wl,-O1
> -Wl,--as-needed -Wl,--gc-sections -o lib/libnative_theme.so -Wl,-soname=libnative_theme.so @lib/libnative_theme.so.rsp
> && { readelf -d lib/libnative_theme.so | grep SONAME ; arm-amltd-linux-gnueabi-nm -gD -f p lib/libnative_theme.so | cut
> -f1-2 -d' '; } > lib/libnative_theme.so.TOC; else arm-amltd-linux-gnueabi-g++ -march=armv7-a -marm -mfpu=neon
> -mfloat-abi=hard -mcpu=cortex-a9 --sysroot=/local/p0382_2016-01-13/tmp/sysroots/teton-p0382 -shared -Wl,-O1
> -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -pthread -Wl,-z,noexecstack -fPIC
> -Wl,--disable-new-dtags -L. -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -o lib/libnative_theme.so
> -Wl,-soname=libnative_theme.so @lib/libnative_theme.so.rsp && { readelf -d lib/libnative_theme.so | grep SONAME ;
> arm-amltd-linux-gnueabi-nm -gD -f p lib/libnative_theme.so | cut -f1-2 -d' '; } > lib/libnative_theme.so.tmp && if ! cmp
> -s lib/libnative_theme.so.tmp lib/libnative_theme.so.TOC; then mv lib/libnative_theme.so.tmp lib/libnative_theme.so.TOC
> ; fi; fi
> | obj/ui/native_theme/native_theme.common_theme.o: In function `_GLOBAL__sub_I_common_theme.cc':
> | /usr/src/debug/chromium/48.0.2548.0-r0/chromium-48.0.2548.0/ui/native_theme/common_theme.cc:273: undefined reference
> to `gfx::kGoogleBlue500'
> | /usr/src/debug/chromium/48.0.2548.0-r0/chromium-48.0.2548.0/ui/native_theme/common_theme.cc:273: undefined reference
> to `gfx::kGoogleBlue300'
>
> Note: I'm still using GCC/4.9.x with the standard linker (not gold)
>
BTW, still broken on i.MX6 after update to meta-browser/1b4f1e588b
Was that change supposed to affect my issue? If so, what am I missing?
If not, what [else] needs to happen?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Chromium build broken
2016-06-11 10:11 Chromium build broken Gary Thomas
2016-06-16 10:47 ` Gary Thomas
@ 2016-06-16 11:15 ` Carlos Rafael Giani
2016-06-16 11:23 ` Gary Thomas
1 sibling, 1 reply; 4+ messages in thread
From: Carlos Rafael Giani @ 2016-06-16 11:15 UTC (permalink / raw)
To: openembedded-devel
This indicates a problem related to this patch:
0012-Workaround-for-unused-variable-error-in-ui-gfx-color.patch
It is possible that the new .cc file needs to be linked in somewhere
else as well.
I tried to do it differently by disabling the unused-variable warning
inline, but it did not work.
On 2016-06-11 12:11, Gary Thomas wrote:
> Building chromium is broken on my i.MX6 target.
>
> Poky/Yocto info:
> BB_VERSION = "1.31.0"
> BUILD_SYS = "x86_64-linux"
> NATIVELSBSTRING = "Ubuntu-15.10"
> TARGET_SYS = "arm-amltd-linux-gnueabi"
> MACHINE = "teton-p0382"
> DISTRO = "amltd"
> DISTRO_VERSION = "2.1+snapshot-20160611"
> TUNE_FEATURES = "arm armv7a vfp thumb neon
> callconvention-hard cortexa9"
> TARGET_FPU = "hard"
> meta = "master:40e789d1fee7f0df2d23230fff38325119ad2935"
> meta-teton-imx6-p0382 = "master:5f3d52b357c0b05e7ea5cfc309e04c8c3aad1260"
> meta-fsl-arm = "master:00b46e11e32f859a0d2dad5a5d53d5540be9c15e"
> meta-fsl-arm-extra = "master:089ce85e2e2dd78e45b773b947643ab8f4e2b965"
> meta-browser = "master:825ea9349fe9b7da39f1de0c3e8e15d9d62f2774"
>
> Error:
> | ninja: Entering directory
> `/local/p0382_2016-01-13/tmp/work/cortexa9hf-neon-mx6qdl-amltd-linux-gnueabi/chromium/48.0.2548.0-r0/chromium-48.0.2548.0/out/Release'
> | [1/9316] SOLINK lib/libnative_theme.so
> | [2/9316] CXX
> obj/components/infobars/core/infobars_core.infobar_container.o
> | [3/9316] CXX
> obj/components/infobars/core/infobars_core.infobars_switches.o
> | [4/9316] CXX obj/components/infobars/core/infobars_core.infobar.o
> | [5/9316] STAMP obj/ui/compositor/compositor.compile_depends.stamp
> | [6/9316] CXX
> obj/ui/compositor/compositor.callback_layer_animation_observer.o
> | FAILED: if [ ! -e lib/libnative_theme.so -o ! -e
> lib/libnative_theme.so.TOC ]; then arm-amltd-linux-gnueabi-g++
> -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9
> --sysroot=/local/p0382_2016-01-13/tmp/sysroots/teton-p0382 -shared
> -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,now -Wl,-z,relro
> -Wl,-z,defs -pthread -Wl,-z,noexecstack -fPIC -Wl,--disable-new-dtags
> -L. -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -o
> lib/libnative_theme.so -Wl,-soname=libnative_theme.so
> @lib/libnative_theme.so.rsp && { readelf -d lib/libnative_theme.so |
> grep SONAME ; arm-amltd-linux-gnueabi-nm -gD -f p
> lib/libnative_theme.so | cut -f1-2 -d' '; } >
> lib/libnative_theme.so.TOC; else arm-amltd-linux-gnueabi-g++
> -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9
> --sysroot=/local/p0382_2016-01-13/tmp/sysroots/teton-p0382 -shared
> -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,now -Wl,-z,relro
> -Wl,-z,defs -pthread -Wl,-z,noexecstack -fPIC -Wl,--disable-new-dtags
> -L. -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -o
> lib/libnative_theme.so -Wl,-soname=libnative_theme.so
> @lib/libnative_theme.so.rsp && { readelf -d lib/libnative_theme.so |
> grep SONAME ; arm-amltd-linux-gnueabi-nm -gD -f p
> lib/libnative_theme.so | cut -f1-2 -d' '; } >
> lib/libnative_theme.so.tmp && if ! cmp -s lib/libnative_theme.so.tmp
> lib/libnative_theme.so.TOC; then mv lib/libnative_theme.so.tmp
> lib/libnative_theme.so.TOC ; fi; fi
> | obj/ui/native_theme/native_theme.common_theme.o: In function
> `_GLOBAL__sub_I_common_theme.cc':
> |
> /usr/src/debug/chromium/48.0.2548.0-r0/chromium-48.0.2548.0/ui/native_theme/common_theme.cc:273:
> undefined reference to `gfx::kGoogleBlue500'
> |
> /usr/src/debug/chromium/48.0.2548.0-r0/chromium-48.0.2548.0/ui/native_theme/common_theme.cc:273:
> undefined reference to `gfx::kGoogleBlue300'
>
> Note: I'm still using GCC/4.9.x with the standard linker (not gold)
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Chromium build broken
2016-06-16 11:15 ` Carlos Rafael Giani
@ 2016-06-16 11:23 ` Gary Thomas
0 siblings, 0 replies; 4+ messages in thread
From: Gary Thomas @ 2016-06-16 11:23 UTC (permalink / raw)
To: openembedded-devel
On 2016-06-16 13:15, Carlos Rafael Giani wrote:
> This indicates a problem related to this patch: 0012-Workaround-for-unused-variable-error-in-ui-gfx-color.patch
> It is possible that the new .cc file needs to be linked in somewhere else as well.
>
> I tried to do it differently by disabling the unused-variable warning inline, but it did not work.
>
How can I help you diagnose this failure?
> On 2016-06-11 12:11, Gary Thomas wrote:
>> Building chromium is broken on my i.MX6 target.
>>
>> Poky/Yocto info:
>> BB_VERSION = "1.31.0"
>> BUILD_SYS = "x86_64-linux"
>> NATIVELSBSTRING = "Ubuntu-15.10"
>> TARGET_SYS = "arm-amltd-linux-gnueabi"
>> MACHINE = "teton-p0382"
>> DISTRO = "amltd"
>> DISTRO_VERSION = "2.1+snapshot-20160611"
>> TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard cortexa9"
>> TARGET_FPU = "hard"
>> meta = "master:40e789d1fee7f0df2d23230fff38325119ad2935"
>> meta-teton-imx6-p0382 = "master:5f3d52b357c0b05e7ea5cfc309e04c8c3aad1260"
>> meta-fsl-arm = "master:00b46e11e32f859a0d2dad5a5d53d5540be9c15e"
>> meta-fsl-arm-extra = "master:089ce85e2e2dd78e45b773b947643ab8f4e2b965"
>> meta-browser = "master:825ea9349fe9b7da39f1de0c3e8e15d9d62f2774"
>>
>> Error:
>> | ninja: Entering directory
>> `/local/p0382_2016-01-13/tmp/work/cortexa9hf-neon-mx6qdl-amltd-linux-gnueabi/chromium/48.0.2548.0-r0/chromium-48.0.2548.0/out/Release'
>>
>> | [1/9316] SOLINK lib/libnative_theme.so
>> | [2/9316] CXX obj/components/infobars/core/infobars_core.infobar_container.o
>> | [3/9316] CXX obj/components/infobars/core/infobars_core.infobars_switches.o
>> | [4/9316] CXX obj/components/infobars/core/infobars_core.infobar.o
>> | [5/9316] STAMP obj/ui/compositor/compositor.compile_depends.stamp
>> | [6/9316] CXX obj/ui/compositor/compositor.callback_layer_animation_observer.o
>> | FAILED: if [ ! -e lib/libnative_theme.so -o ! -e lib/libnative_theme.so.TOC ]; then arm-amltd-linux-gnueabi-g++
>> -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9
>> --sysroot=/local/p0382_2016-01-13/tmp/sysroots/teton-p0382 -shared -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
>> -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -pthread -Wl,-z,noexecstack -fPIC -Wl,--disable-new-dtags -L. -Wl,-O1
>> -Wl,--as-needed -Wl,--gc-sections -o lib/libnative_theme.so -Wl,-soname=libnative_theme.so @lib/libnative_theme.so.rsp
>> && { readelf -d lib/libnative_theme.so | grep SONAME ; arm-amltd-linux-gnueabi-nm -gD -f p lib/libnative_theme.so |
>> cut -f1-2 -d' '; } > lib/libnative_theme.so.TOC; else arm-amltd-linux-gnueabi-g++ -march=armv7-a -marm -mfpu=neon
>> -mfloat-abi=hard -mcpu=cortex-a9 --sysroot=/local/p0382_2016-01-13/tmp/sysroots/teton-p0382 -shared -Wl,-O1
>> -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -pthread -Wl,-z,noexecstack -fPIC
>> -Wl,--disable-new-dtags -L. -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -o lib/libnative_theme.so
>> -Wl,-soname=libnative_theme.so @lib/libnative_theme.so.rsp && { readelf -d lib/libnative_theme.so | grep SONAME ;
>> arm-amltd-linux-gnueabi-nm -gD -f p lib/libnative_theme.so | cut -f1-2 -d' '; } > lib/libnative_theme.so.tmp && if !
>> cmp -s lib/libnative_theme.so.tmp lib/libnative_theme.so.TOC; then mv lib/libnative_theme.so.tmp
>> lib/libnative_theme.so.TOC ; fi; fi
>> | obj/ui/native_theme/native_theme.common_theme.o: In function `_GLOBAL__sub_I_common_theme.cc':
>> | /usr/src/debug/chromium/48.0.2548.0-r0/chromium-48.0.2548.0/ui/native_theme/common_theme.cc:273: undefined reference
>> to `gfx::kGoogleBlue500'
>> | /usr/src/debug/chromium/48.0.2548.0-r0/chromium-48.0.2548.0/ui/native_theme/common_theme.cc:273: undefined reference
>> to `gfx::kGoogleBlue300'
>>
>> Note: I'm still using GCC/4.9.x with the standard linker (not gold)
>>
>
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-06-16 11:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-11 10:11 Chromium build broken Gary Thomas
2016-06-16 10:47 ` Gary Thomas
2016-06-16 11:15 ` Carlos Rafael Giani
2016-06-16 11:23 ` Gary Thomas
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.