Patchwork [0/6] Enable cloog/ppl when compiling gcc

login
register
mail settings
Submitter Khem Raj
Date Dec. 6, 2011, 5:21 a.m.
Message ID <cover.1323148566.git.raj.khem@gmail.com>
Download mbox
Permalink /patch/16201/
State New
Headers show

Pull-request

git://git.openembedded.org/openembedded-core-contrib kraj/gcc-graphite

Comments

Khem Raj - Dec. 6, 2011, 5:21 a.m.
This patchset contains

Changes to gcc where now it will be compiled with cloog/ppl support
and we have corresponding libraries build as -native and -nativesdk
recipes

Fixes the beagleboard ICE seen with mesa-xlib sometime ago
and removes the workaround for the same

Updates eglibc 2.14 to tip of SVN branch

Fixes gnutls build failure observed on uclibc

The following changes since commit 0a7a8597be05c8def8af58eecab49d963dc9d757:

  libsdl: Disable pulseaudio explicitly (2011-12-05 23:03:23 +0000)

are available in the git repository at:
  git://git.openembedded.org/openembedded-core-contrib kraj/gcc-graphite
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/gcc-graphite

Khem Raj (6):
  tcmode-default: Remove pinning u-boot-mkimage-native to non-existing
    version
  cloog-ppl,ppl: Add new recipes
  gcc-4.6: Enable PPL and ClooG support
  gnutls: Fix fix-gettext-version.patch
  eglibc: Update 2.14 recipes to latest SVN tip
  gcc: Backport patch from trunk to fix ICE seen on armv7 with
    mesa-xlib

 meta/conf/distro/include/tcmode-default.inc        |    7 -
 .../eglibc-2.14/glibc-2.14-libdl-crash.patch       |   66 +-
 meta/recipes-core/eglibc/eglibc_2.14.bb            |    2 +-
 meta/recipes-devtools/gcc/gcc-4.6.inc              |   14 +-
 .../gcc/gcc-4.6/gcc-arm-set-cost.patch             |   34 +
 .../recipes-devtools/gcc/gcc-cross-canadian_4.6.bb |    4 +-
 meta/recipes-support/cloog-ppl/cloog-ppl.inc       |    6 +
 .../recipes-support/cloog-ppl/cloog-ppl_0.15.11.bb |   13 +
 .../gnutls-2.12.14/fix-gettext-version.patch       |   17 +-
 meta/recipes-support/gnutls/gnutls_2.12.14.bb      |    2 +-
 .../ppl/ppl-0.11.2/ppl_autoreconf.patch            |17034 ++++++++++++++++++++
 meta/recipes-support/ppl/ppl.inc                   |    6 +
 meta/recipes-support/ppl/ppl_0.11.2.bb             |   16 +
 meta/recipes-support/ppl/ppl_git.bb                |   17 +
 14 files changed, 17188 insertions(+), 50 deletions(-)
 create mode 100644 meta/recipes-devtools/gcc/gcc-4.6/gcc-arm-set-cost.patch
 create mode 100644 meta/recipes-support/cloog-ppl/cloog-ppl.inc
 create mode 100644 meta/recipes-support/cloog-ppl/cloog-ppl_0.15.11.bb
 create mode 100644 meta/recipes-support/ppl/ppl-0.11.2/ppl_autoreconf.patch
 create mode 100644 meta/recipes-support/ppl/ppl.inc
 create mode 100644 meta/recipes-support/ppl/ppl_0.11.2.bb
 create mode 100644 meta/recipes-support/ppl/ppl_git.bb
Richard Purdie - Dec. 6, 2011, 2:37 p.m.
On Mon, 2011-12-05 at 21:21 -0800, Khem Raj wrote:
> This patchset contains
> 
> Changes to gcc where now it will be compiled with cloog/ppl support
> and we have corresponding libraries build as -native and -nativesdk
> recipes

This gives a hit to the build time of the toolchain and I'm not sure
what benefits its buying us, particularly if we don't enable the
optimisations that cloog/ppl is used for.

Whilst this looks nice for experimentation, are there documented
benefits for a system compiled with this?

Cheers,

Richard
Richard Purdie - Dec. 6, 2011, 2:39 p.m.
On Mon, 2011-12-05 at 21:21 -0800, Khem Raj wrote:
> This patchset contains
> 
> Changes to gcc where now it will be compiled with cloog/ppl support
> and we have corresponding libraries build as -native and -nativesdk
> recipes
> 
> Fixes the beagleboard ICE seen with mesa-xlib sometime ago
> and removes the workaround for the same
> 
> Updates eglibc 2.14 to tip of SVN branch
> 
> Fixes gnutls build failure observed on uclibc
> 
> The following changes since commit 0a7a8597be05c8def8af58eecab49d963dc9d757:
> 
>   libsdl: Disable pulseaudio explicitly (2011-12-05 23:03:23 +0000)
> 
> are available in the git repository at:
>   git://git.openembedded.org/openembedded-core-contrib kraj/gcc-graphite
>   http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/gcc-graphite
> 
> Khem Raj (6):
>   tcmode-default: Remove pinning u-boot-mkimage-native to non-existing
>     version
>   gnutls: Fix fix-gettext-version.patch
>   eglibc: Update 2.14 recipes to latest SVN tip
>   gcc: Backport patch from trunk to fix ICE seen on armv7 with
>     mesa-xlib

I merged these.

>  cloog-ppl,ppl: Add new recipes
>   gcc-4.6: Enable PPL and ClooG support

but I think these need more discussion.

Cheers,

Richard
Khem Raj - Dec. 7, 2011, 4:59 p.m.
On Tue, Dec 6, 2011 at 6:37 AM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> On Mon, 2011-12-05 at 21:21 -0800, Khem Raj wrote:
>> This patchset contains
>>
>> Changes to gcc where now it will be compiled with cloog/ppl support
>> and we have corresponding libraries build as -native and -nativesdk
>> recipes
>
> This gives a hit to the build time of the toolchain and I'm not sure
> what benefits its buying us, particularly if we don't enable the
> optimisations that cloog/ppl is used for.

The total compile time of the toolchain is impacted little since now we have to
build these extra packages but they are relatively small. However I think I need
to measure the total compile time as well to make sure it does not
impact gcc's compile
time performance. My intention was to
provide the capability in the compiler/SDK so that someone can utilize it if
he/she wants. e.g. gnuradio folks I am sure will benefit from it

>
> Whilst this looks nice for experimentation, are there documented
> benefits for a system compiled with this?
>

I did not find official documented advantages but there has been several posts
where improvement in performance has been observed. There was a lengthy thread
I found on gentoo where they saw total system performance boost when
they enabled
graphite.

I think it is more of RFC so people can try it out and then we can weigh
in benefits of it in OE context.