Re: eggdrop .so plugins

2000-10-30 Thread Simon Richter
On Mon, 30 Oct 2000, Timshel Knoll wrote: > > If the assembly code is not position-independent, you already have a > > problem here. If it is, then gcc is expected to regenerate the PIC > > register after the assembly section. > Last time I checked, it didn't. This seems to be a bug in GCC, and I

Re: eggdrop .so plugins

2000-10-30 Thread Simon Richter
On Mon, 30 Oct 2000, Timshel Knoll wrote: > > If the assembly code is not position-independent, you already have a > > problem here. If it is, then gcc is expected to regenerate the PIC > > register after the assembly section. > Last time I checked, it didn't. This seems to be a bug in GCC, and

Re: eggdrop .so plugins

2000-10-29 Thread Timshel Knoll
On Wed, Oct 25, 2000 at 02:35:43PM +0200, Simon Richter wrote: > On Wed, 25 Oct 2000, Samuel Hocevar wrote: > >But sometimes this is just not possible at all (-fPIC eats a whole > > register and some assembly routines may use all of them), and there are > > situations where not using -fPIC is

Re: eggdrop .so plugins

2000-10-29 Thread Timshel Knoll
On Wed, Oct 25, 2000 at 02:35:43PM +0200, Simon Richter wrote: > On Wed, 25 Oct 2000, Samuel Hocevar wrote: > >But sometimes this is just not possible at all (-fPIC eats a whole > > register and some assembly routines may use all of them), and there are > > situations where not using -fPIC is

Re: eggdrop .so plugins

2000-10-25 Thread Simon Richter
On Wed, 25 Oct 2000, Samuel Hocevar wrote: > > The latter, I think. Since they aren't really shared libraries you can > > ignore the other Lintian errors, but this one is different. >Does anyone remember what the rationale is for having to use -fPIC > for plugins ? It's not explained in the P

Re: eggdrop .so plugins

2000-10-25 Thread Samuel Hocevar
On Wed, Oct 25, 2000, Josip Rodin wrote: > > E: eggdrop: shlib-with-non-pic-code usr/lib/eggdrop/modules/channels.so > > > > so, do i ignore the message, or do i hack Makefile.in to add -fPIC on > > those .so files? > > The latter, I think. Since they aren't really shared libraries you can > ign

Re: eggdrop .so plugins

2000-10-25 Thread Simon Richter
On Wed, 25 Oct 2000, Samuel Hocevar wrote: > > The latter, I think. Since they aren't really shared libraries you can > > ignore the other Lintian errors, but this one is different. >Does anyone remember what the rationale is for having to use -fPIC > for plugins ? It's not explained in the

Re: eggdrop .so plugins

2000-10-25 Thread Samuel Hocevar
On Wed, Oct 25, 2000, Josip Rodin wrote: > > E: eggdrop: shlib-with-non-pic-code usr/lib/eggdrop/modules/channels.so > > > > so, do i ignore the message, or do i hack Makefile.in to add -fPIC on > > those .so files? > > The latter, I think. Since they aren't really shared libraries you can > ig

Re: eggdrop .so plugins

2000-10-25 Thread Josip Rodin
On Tue, Oct 24, 2000 at 04:37:01PM -0700, Ian Eure wrote: > i've got the latest version of eggdrop building ok, after some heavy > Makefile.in hacking, but lintian is giving me this error: > > E: eggdrop: shlib-with-non-pic-code usr/lib/eggdrop/modules/channels.so > > so, do i ignore the message,

Re: eggdrop .so plugins

2000-10-25 Thread Josip Rodin
On Tue, Oct 24, 2000 at 04:37:01PM -0700, Ian Eure wrote: > i've got the latest version of eggdrop building ok, after some heavy > Makefile.in hacking, but lintian is giving me this error: > > E: eggdrop: shlib-with-non-pic-code usr/lib/eggdrop/modules/channels.so > > so, do i ignore the message

eggdrop .so plugins

2000-10-24 Thread Ian Eure
hi. i'm adopting eggdrop, while sitting in NM. i've got the latest version of eggdrop building ok, after some heavy Makefile.in hacking, but lintian is giving me this error: -- snip -- E: eggdrop: shlib-with-non-pic-code usr/lib/eggdrop/modules/channels.so N: N: The listed shared libraries conta

eggdrop .so plugins

2000-10-24 Thread Ian Eure
hi. i'm adopting eggdrop, while sitting in NM. i've got the latest version of eggdrop building ok, after some heavy Makefile.in hacking, but lintian is giving me this error: -- snip -- E: eggdrop: shlib-with-non-pic-code usr/lib/eggdrop/modules/channels.so N: N: The listed shared libraries cont