[Bug tree-optimization/78930] New: Chromium failed compilation with -finline-functions or -O3

mad_sam at bk dot ru gcc-bugzilla@gcc.gnu.org
Tue Dec 27 07:25:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78930

            Bug ID: 78930
           Summary: Chromium failed compilation with -finline-functions or
                    -O3
           Product: gcc
           Version: 5.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mad_sam at bk dot ru
  Target Milestone: ---

Created attachment 40412
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40412&action=edit
environment

Part of log:

[23851/23852] touch obj/chrome/browser_dependencies.stamp
[23852/23852] x86_64-pc-linux-gnu-g++ -pie -fPIC -Wl,-z,noexecstack -Wl,-z,now
-Wl,-z,relro -Wl,-z,defs -Wl,--no-as-needed -lpthread -Wl,--as-needed -pthread
-m64 -Wl,-O1 -Wl,--gc-sections -Wl,-rpath-link=. -Wl,--disable-new-dtags
-Wl,--export-dynamic -Wl,-O1 -Wl,--as-needed -o "./chrome" -Wl,--start-group
@"./chrome.rsp"  -Wl,--end-group  -ldl -lrt -lpangocairo-1.0 -lpango-1.0
-lgobject-2.0 -lglib-2.0 -lcairo -lX11 -lX11-xcb -lxcb -lXcomposite -lXcursor
-lXdamage -lXext -lXfixes -lXi -lXrender -lXtst -lgmodule-2.0 -lgthread-2.0
-licui18n -licuuc -licudata -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4
-lexpat -lxml2 -lfontconfig -ldbus-1 -latomic -lgconf-2 -lresolv -lgio-2.0 -lz
-lharfbuzz-icu -lharfbuzz -lpng16 -lfreetype -ljpeg -lXss -lre2 -lXrandr
-lavcodec -lavformat -lavutil -lvpx -lm -lasound -latk-1.0 -lminizip -lsnappy
-lFLAC -lgtk-3 -lgdk-3 -lcairo-gobject -lgdk_pixbuf-2.0 -lwebp -lwebpdemux
-lxslt
FAILED: chrome
x86_64-pc-linux-gnu-g++ -pie -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro
-Wl,-z,defs -Wl,--no-as-needed -lpthread -Wl,--as-needed -pthread -m64 -Wl,-O1
-Wl,--gc-sections -Wl,-rpath-link=. -Wl,--disable-new-dtags
-Wl,--export-dynamic -Wl,-O1 -Wl,--as-needed -o "./chrome" -Wl,--start-group
@"./chrome.rsp"  -Wl,--end-group  -ldl -lrt -lpangocairo-1.0 -lpango-1.0
-lgobject-2.0 -lglib-2.0 -lcairo -lX11 -lX11-xcb -lxcb -lXcomposite -lXcursor
-lXdamage -lXext -lXfixes -lXi -lXrender -lXtst -lgmodule-2.0 -lgthread-2.0
-licui18n -licuuc -licudata -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4
-lexpat -lxml2 -lfontconfig -ldbus-1 -latomic -lgconf-2 -lresolv -lgio-2.0 -lz
-lharfbuzz-icu -lharfbuzz -lpng16 -lfreetype -ljpeg -lXss -lre2 -lXrandr
-lavcodec -lavformat -lavutil -lvpx -lm -lasound -latk-1.0 -lminizip -lsnappy
-lFLAC -lgtk-3 -lgdk-3 -lcairo-gobject -lgdk_pixbuf-2.0 -lwebp -lwebpdemux
-lxslt
obj/third_party/WebKit/Source/core/css/libcss_4.a(CSSToStyleMap.o): In function
`blink::CSSToStyleMap::mapFillXPosition(blink::StyleResolverState&,
blink::FillLayer*, blink::CSSValue const&)':
CSSToStyleMap.cpp:(.text._ZN5blink13CSSToStyleMap16mapFillXPositionERNS_18StyleResolverStateEPNS_9FillLayerERKNS_8CSSValueE+0x65):
undefined reference to `blink::Length
blink::StyleBuilderConverter::convertPositionLength<(blink::CSSValueID)169,
(blink::CSSValueID)170>(blink::StyleResolverState&, blink::CSSValue const&)'
obj/third_party/WebKit/Source/core/css/libcss_4.a(CSSToStyleMap.o): In function
`blink::CSSToStyleMap::mapFillYPosition(blink::StyleResolverState&,
blink::FillLayer*, blink::CSSValue const&)':
CSSToStyleMap.cpp:(.text._ZN5blink13CSSToStyleMap16mapFillYPositionERNS_18StyleResolverStateEPNS_9FillLayerERKNS_8CSSValueE+0x65):
undefined reference to `blink::Length
blink::StyleBuilderConverter::convertPositionLength<(blink::CSSValueID)165,
(blink::CSSValueID)166>(blink::StyleResolverState&, blink::CSSValue const&)'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
 * ERROR: www-client/chromium-56.0.2924.21::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 115:  Called src_compile
 *   environment, line 5224:  Called die
 * The specific snippet of code:
 *       eninja -C out/Release ${ninja_targets} || die;
 *
 * If you need support, post the output of `emerge --info
'=www-client/chromium-56.0.2924.21::gentoo'`,
 * the complete build log and the output of `emerge -pqv
'=www-client/chromium-56.0.2924.21::gentoo'`.
 *
 * You have enabled the custom-cflags USE flag.
 * Please disable it before reporting a bug.
 *
 *
 * MemTotal:        7610284 kB
 * SwapTotal:             0 kB

Full build log (55mb): https://yadi.sk/d/GdI8O6ls34c5Qt


More information about the Gcc-bugs mailing list