[PATCH cf 0/2] Fix usage of -mminimal-toc for ppc64el

Fernando Seiti Furusato ferseiti at linux.vnet.ibm.com
Fri Jan 8 05:38:09 PST 2016


Imake adds the usage of -mminimal-toc for CCOPTIONS and LDOPTIONS.
Since it is not a valid linkage option, the build for packages that use it
(eg sciplot) the build breaks.
The patches that follow contain a simple fix which in addition to taking
little endian in to account for ppc64, also filters out the usage of flag
'-mminimal-toc' for linkage although keeping it for compilation.

This was observed when building sciplot on Debian, where the full log can be 
verified in [1] and the debian bug in [2].

I also sent a bug report [3] on bugzilla.

[1] https://buildd.debian.org/status/fetch.php?pkg=sciplot&arch=ppc64el&ver=1.36-16&stamp=1410447072
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765370
[3] https://bugs.freedesktop.org/show_bug.cgi?id=93631


Fernando Seiti Furusato (2):
  Filter out CCOPTIONS that are not valid LDOPTIONS for ppc64el
  Add support for ppc64el as little-endian ppc64.

 Imake.cf   | 5 +++++
 Imake.tmpl | 4 ++++
 linux.cf   | 1 +
 3 files changed, 10 insertions(+)


More information about the xorg-devel mailing list