Bug 89576 - Building of Cairo fails with -Wl,--gc-sections
Summary: Building of Cairo fails with -Wl,--gc-sections
Status: RESOLVED MOVED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Chris Wilson
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-13 23:29 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2018-08-25 13:41 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Arfrever Frehtes Taifersar Arahesis 2015-03-13 23:29:02 UTC
Since http://cgit.freedesktop.org/cairo/commit?id=7cfebce15228c88ee122edb8ba575f9a609e36f4 building of Cairo fails with -Wl,--gc-sections in LDFLAGS.

Output of `configure`:

...
checking whether x86_64-pc-linux-gnu-gcc supports -Winline... yes
checking whether x86_64-pc-linux-gnu-gcc supports -erroff=E_ENUM_TYPE_MISMATCH_ARG... no
checking whether x86_64-pc-linux-gnu-gcc supports -erroff=E_ENUM_TYPE_MISMATCH_OP... no
checking whether x86_64-pc-linux-gnu-gcc supports -fno-strict-aliasing... yes
checking whether x86_64-pc-linux-gnu-gcc supports -fno-common... yes
checking whether x86_64-pc-linux-gnu-gcc supports -Wp,-D_FORTIFY_SOURCE=2... no
checking whether x86_64-pc-linux-gnu-gcc supports -Wunused-but-set-variable -Wno-unused-but-set-variable... yes
checking which warning flags were supported...  -Wall -Wextra -Wmissing-declarations -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wsign-compare -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wvolatile-register-var -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing -fno-common -Wno-unused-but-set-variable
checking how to enable unused result warnings... __attribute__((__warn_unused_result__))
checking how to allow undefined symbols in shared libraries used by test suite... -Wl,--allow-shlib-undefined
checking whether byte ordering is bigendian... no
checking whether float word ordering is bigendian... unknown
configure: error: 

Unknown float word ordering. You need to manually preset
ax_cv_c_float_words_bigendian=no (or yes) according to your system.
Comment 1 Bryce Harrington 2015-06-27 08:02:40 UTC
What is your system?

Also, have you tested against f9b65ae1fc91bc558a01c2ad7be5a121c6f10818 ?
Comment 2 GitLab Migration User 2018-08-25 13:41:41 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/143.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.