New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 614756 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Jul 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Failures in GCC next nightly testing platform_toolchain

Project Member Reported by llozano@chromium.org, May 25 2016

Issue description

GCC waterfall builder is getting failures for platform_toolchain test. 

the error is:

From: https://00e9e64bac62da5467d2fe892c73ffc2be83f842e3f1bf358e-apidata.googleusercontent.com/download/storage/v1_internal/b/chromeos-autotest-results/o/64481513-chromeos-test%2Fchromeos2-row3-rack5-host21%2Fdebug%2Fclient.0.DEBUG?qk=AD5uMEslAdLxp0Aj2JJTzdD_Ww0jGuED0aXFwsGNkUJtupKfrFGOtKJw5qjKuvbpJhZ_pfDgmIRSqYo1OuzjAECQ1m4VFEO7Eq9gkYe0jemyOSTfVbFxMKi2CZqmVy6S-6QwX69FAYRYSFaqnXK9eGsvlMVODJeiY0rcVPjyJXQi4H7erXvqHYmpYMYwaSSt2ID9MjcA6x6LhpaTYhI4tywC_5cv18rQCMQt3ocZ4KbsKQOA6jKE8IHlmJ9xB0KtLze9OldKaAYSAVBZgXxjggJZJ3J0838P_jV905nRlV03XysBysLArhd-XN3TR-_VhBD3fh_qS38cyT8nAtLigtvri66qK1VAuMlWTBSU8iILLe-v6NwcnE_Noh7YbwFELXNF7usphd6iO6RorcXLNcopllHlczGUSkXnPPUzhaopq7dVFmSXpdFgKJcdfV9Yh7eBhyN6YuPCp3of4W7w_E1ITbB4Tvmu88yB4jYHc5eCy0SHG38ty6GWEgjiidWtYS9i6-Ydj60_mtvptnio1FASZjn8f_r8UF96ra30D9LmXHnXZkzKHIrROrIf0FrcG14248z5usYhx-vNK45RuJ_7VjFbGoClKV7SPpwqBONaV2gVcDKVitUTiPWQSMZDvwNByBCHXkH_DAb3lAbmiLbz058mtmbqk4JaIwm_xfcZ55BDFiWL6D0Ph5I5kgRnT7IyBFSEPPwLcUC-E7lA3I5ieQtvlOEkZmwbTGM8wSy-f3L5o5ecjsfXFckX3q79wHV6_vTZrz51EZptejjfYaamQJlRXGYv_IsqP6VbBrd7Jg1rHMvqV5TTf8nlYPlr1u8U63ILW9Czu-Tj-Krrzm6RNjpwPIq2f8wXMzfB99UyrqcQqbPlz_KXWP83FDF90085-_n4869ktUaAhKcIlANY_Vv-e9PJHCr8l3i5w6FU_kGX2OEBqVQ

05/24 14:35:40.185 DEBUG|platform_Toolchain:0292| Test results:Test -Wl,-z,now 24 failures, 7 in whitelist, 21 in filtered, 4 new passes FAILED:
/usr/bin/Xorg
/usr/lib/xorg/modules/drivers/armsoc_drv.so
/usr/lib/xorg/modules/drivers/fbdev_drv.so
/usr/lib/xorg/modules/extensions/libdri2.so
/usr/lib/xorg/modules/extensions/libextmod.so
/usr/lib/xorg/modules/extensions/librecord.so
/usr/lib/xorg/modules/input/evdev_drv.so
/usr/lib/xorg/modules/libexa.so
/usr/lib/xorg/modules/libfb.so
/usr/lib/xorg/modules/libfbdevhw.so
/usr/lib/xorg/modules/libint10.so
/usr/lib/xorg/modules/libshadow.so
/usr/lib/xorg/modules/libshadowfb.so
/usr/lib/xorg/modules/libwfb.so
/usr/lib/xorg/modules/multimedia/bt829_drv.so
/usr/lib/xorg/modules/multimedia/fi1236_drv.so
/usr/lib/xorg/modules/multimedia/msp3430_drv.so
/usr/lib/xorg/modules/multimedia/tda8425_drv.so
/usr/lib/xorg/modules/multimedia/tda9850_drv.so
/usr/lib/xorg/modules/multimedia/tda9885_drv.so
/usr/lib/xorg/modules/multimedia/uda1380_drv.so
New passes (remove these from the whitelist):
/sbin/insmod.static
/usr/bin/intel-virtual-output
/usr/bin/synclient
/usr/bin/syndaemon

It looks like we need to update the white list AND check why those libraires dont have the "-z now"


 
Summary: Failures in GCC next nightly testing platform_toolchain (was: Failures in GCC next nightly testing)
Labels: -Pri-3 Pri-1

Comment 3 by cmt...@chromium.org, May 25 2016

Owner: laszio@chromium.org

Comment 5 by laszio@chromium.org, May 26 2016

This is interesting. Why is xorg built in CrOS?

Although also failed in platform_ToolchainOptions, x86-alex failed for other reasons (LOAD Writable and Exec).

Comment 6 by laszio@chromium.org, May 27 2016

Cc: cmt...@chromium.org llozano@chromium.org
The mali driver RDEPEND on xorg-server.

It failed in daisy because xorg-server is built with -z,lazy which overrides ldwrapper.hardened:

# hardened ldflags
[[ ${PN} = xorg-server || -n ${DRIVER} ]] && append-ldflags -Wl,-z,lazy

https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/master/eclass/xorg-2.eclass#428

This is the same as upstream. I'm not sure why they considered -Wl,-z,lazy as hardened flags.

Or maybe this is intended to undo the hardening flags -Wl,-z,now which might has some problems with the library. If that is the case, we might simply add them to the white list.

Comment 7 by laszio@chromium.org, May 27 2016

Cc: yunlian@chromium.org

Comment 8 by laszio@chromium.org, May 27 2016

The xorg libraries are already in now_whitelist_x. However, daisy had switched to freon so now_whitelist is used.

This seems to be a problem in overlays/overlay-daisy/media-libs/mali-drivers-bin/mali-drivers-bin-1.20-r192.ebuild
Project Member

Comment 9 by bugdroid1@chromium.org, May 31 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/bfaa1ce312a54155d4de18fc9923d8f72ba14b4f

commit bfaa1ce312a54155d4de18fc9923d8f72ba14b4f
Author: Ting-Yuan Huang <laszio@chromium.org>
Date: Sat May 28 08:36:00 2016

platform_ToolchainOptions: mesa uses writable text for performance

autoconf option glx-read-only-text is disabled by default.

BUG= chromium:614756 
TEST=passed on x86-alex

Change-Id: Idbe968f13e2b1f9ad1bb4ad151d5ad3e7fb1d415
Reviewed-on: https://chromium-review.googlesource.com/348110
Commit-Ready: Ting-Yuan Huang <laszio@chromium.org>
Tested-by: Ting-Yuan Huang <laszio@chromium.org>
Reviewed-by: Caroline Tice <cmtice@chromium.org>

[modify] https://crrev.com/bfaa1ce312a54155d4de18fc9923d8f72ba14b4f/client/site_tests/platform_ToolchainOptions/loadwx_whitelist
[modify] https://crrev.com/bfaa1ce312a54155d4de18fc9923d8f72ba14b4f/client/site_tests/platform_ToolchainOptions/loadwx_whitelist_x

Project Member

Comment 10 by bugdroid1@chromium.org, May 31 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/c8e2d581a2eb2761b5d276fe9b777f369558e0dd

commit c8e2d581a2eb2761b5d276fe9b777f369558e0dd
Author: Ting-Yuan Huang <laszio@chromium.org>
Date: Sat May 28 07:39:00 2016

daisy: Avoid building x11 drivers when X is not used.

BUG= chromium:614756 
TEST=cbuildbot --hwtest ... daisy-release

Change-Id: I765d97ef4392b06f3172a8793cdfdb05248f90d3
Reviewed-on: https://chromium-review.googlesource.com/348101
Commit-Ready: Ting-Yuan Huang <laszio@chromium.org>
Tested-by: Ting-Yuan Huang <laszio@chromium.org>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>

[rename] https://crrev.com/c8e2d581a2eb2761b5d276fe9b777f369558e0dd/overlay-daisy/chromeos-base/chromeos-bsp-daisy/chromeos-bsp-daisy-0.0.2-r4.ebuild
[modify] https://crrev.com/c8e2d581a2eb2761b5d276fe9b777f369558e0dd/overlay-daisy/chromeos-base/chromeos-bsp-daisy/chromeos-bsp-daisy-0.0.2.ebuild

The builder turned green after all platform_ToolchainOptions issues were fixed:

https://uberchromegw.corp.google.com/i/chromeos/builders/gcc-toolchain-group/builds/27

However, there are some retried tests. Let's leave this bug open for a few more days.
Issue 610659 has been merged into this issue.
Status: Verified (was: Assigned)
Marking this fixed since the original reasons that caused failing are resolved. Will file more specific bugs for new problems that block gcc-toolchain-group.

Sign in to add a comment