[cairo-bugs] [Bug 77060] cairo fails to compile with gcc 4.9
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jul 14 17:05:14 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=77060
Darxus <darxus at chaosreigns.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |darxus at chaosreigns.com
--- Comment #8 from Darxus <darxus at chaosreigns.com> ---
In case anybody else ends up wanting to build commits from the several years
where -flto was enabled, between the commits mentioned above, this has worked
well for me:
sed -i -e 's/-flto//g' build/configure.ac.warnings
Mailing list thread where this came up, trying to find where tests started
failing: https://lists.cairographics.org/archives/cairo/2016-July/027613.html
The error that led me to this bug, and this solution, was:
undefined reference to `cairo_boilerplate_xmalloc'
Commits between which I expect this error to show up:
commit c7ff9bb32e20679d6da4e8a2856be716e5bd9e12
Author: Uli Schlachter <psychon at znc.in>
Commit: Bryce Harrington <bryce at osg.samsung.com>
CommitDate: Fri Aug 1 13:11:31 2014 -0700
Remove LTO support
commit 0870c6fb5b39dcc04fa376123848adde2d06d2ce
Author: Chris Wilson <chris at chris-wilson.co.uk>
Commit: Chris Wilson <chris at chris-wilson.co.uk>
CommitDate: Wed May 12 20:54:49 2010 +0100
gcc-4.5 warnings and optimisation flags.
With the above sed command I've been able to build commits back to at least:
commit 493aaf0f15bfedc88371ffab07d862a400b0da38
Author: Andrea Canciani <ranma42 at gmail.com>
Commit: Andrea Canciani <ranma42 at gmail.com>
CommitDate: Wed Nov 24 14:45:19 2010 +0100
This one and before fails:
commit 852e789b756f9589b102a4b24b85642f199d0915
Author: Andrea Canciani <ranma42 at gmail.com>
Commit: Andrea Canciani <ranma42 at gmail.com>
CommitDate: Mon Nov 1 15:53:10 2010 +0100
With:
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.."
"./../.."
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo-bugs/attachments/20160714/8fbc21d9/attachment.html>
More information about the cairo-bugs
mailing list