Re: gcc plugins and rebuilds

2012-03-21 Thread Yves-Alexis Perez
On mer., 2012-03-21 at 23:50 +0100, Samuel Thibault wrote: > Yves-Alexis Perez, le Wed 21 Mar 2012 22:47:11 +0100, a écrit : > > Can't the plugin be rebuilt when needed (meaning, when it's used to > > actually build something)? > > That'd make it quite more involved to use. ATM you just need to pa

Re: gcc plugins and rebuilds

2012-03-21 Thread Samuel Thibault
Samuel Thibault, le Wed 21 Mar 2012 23:50:41 +0100, a écrit : > Another way would be similar to dkms & co. That could also answer the question: how to make sure that the plugins are built for all installed versions of gcc. Samuel -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org w

Re: gcc plugins and rebuilds

2012-03-21 Thread Matthias Klose
On 21.03.2012 23:50, Samuel Thibault wrote: Yves-Alexis Perez, le Wed 21 Mar 2012 22:47:11 +0100, a écrit : Can't the plugin be rebuilt when needed (meaning, when it's used to actually build something)? That'd make it quite more involved to use. ATM you just need to pass -fplugin=/usr/lib/.../

Re: gcc plugins and rebuilds

2012-03-21 Thread Samuel Thibault
Yves-Alexis Perez, le Wed 21 Mar 2012 22:47:11 +0100, a écrit : > Can't the plugin be rebuilt when needed (meaning, when it's used to > actually build something)? That'd make it quite more involved to use. ATM you just need to pass -fplugin=/usr/lib/.../libfoo.so to gcc. Another way would be simi

Re: gcc plugins and rebuilds

2012-03-21 Thread Yves-Alexis Perez
On mer., 2012-03-21 at 18:27 +0100, Samuel Thibault wrote: > Ricardo Mones, le Wed 21 Mar 2012 18:16:04 +0100, a écrit : > > On Wed, Mar 21, 2012 at 05:33:23PM +0100, Samuel Thibault wrote: > > > Hello, > > > > > > One of my packages (starpu) will ship a gcc plugin (already in > > > experimental).

Re: gcc plugins and rebuilds

2012-03-21 Thread Samuel Thibault
Ricardo Mones, le Wed 21 Mar 2012 18:16:04 +0100, a écrit : > On Wed, Mar 21, 2012 at 05:33:23PM +0100, Samuel Thibault wrote: > > Hello, > > > > One of my packages (starpu) will ship a gcc plugin (already in > > experimental). The problem is that the gcc plugin infrastructure checks > > for exac

Re: gcc plugins and rebuilds

2012-03-21 Thread Ricardo Mones
Hi Samuel, On Wed, Mar 21, 2012 at 05:33:23PM +0100, Samuel Thibault wrote: > Hello, > > One of my packages (starpu) will ship a gcc plugin (already in > experimental). The problem is that the gcc plugin infrastructure checks > for exact version matching (in plugin_default_version_check()), i.

gcc plugins and rebuilds

2012-03-21 Thread Samuel Thibault
Hello, One of my packages (starpu) will ship a gcc plugin (already in experimental). The problem is that the gcc plugin infrastructure checks for exact version matching (in plugin_default_version_check()), i.e. plugins are supposed to be loaded only by the exact gcc that built it. That would mean