This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compilation problem


Hi Jun,

On Thu, 2008-08-14 at 12:51 +0900, Jun Koi wrote:
> On Wed, Aug 13, 2008 at 9:06 PM, Mark Wielaard <mjw@redhat.com> wrote:
> > On Wed, 2008-08-13 at 12:51 +0900, Jun Koi wrote:
> >> I am trying to compile systemtap 0.7. To do so, I first try to compile
> >> and install elfutils-0.131 (latest version?).
> >
> > The latest version of elfutils can be found at
> > https://fedorahosted.org/elfutils/ and is 0.135.
> >
> >> - Patch elfutils-0.131 with elfutils-portability.patch (Is this really
> >> necessary? If so, why it is separated?)
> >
> > I don't really remember. I believe the portability.patch isn't needed
> > anymore with newer elfutils. If a newer elfutils build works for you
> > without needing the patch then please let us know.
> 
> Thanks, that works perfectly! So the portability patch seems not necessarily.

Thanks for checking!

> I compiled 0.135 with the below command:
> 
> ./configure CFLAGS=-fgnu89-inline
> make
> 
> So, how about having the -fgnu89-inline default option??

I don't really know how inline works across different gcc versions or
across distro versions. I see that various distributions patch elfutils
to contain something like:

#if defined(__GNUC_GNU_INLINE__) || defined(__GNUC_STDC_INLINE__)
#define inline inline __attribute__ ((gnu_inline))
#endif

Maybe that can be pushed upstream if it is the correct behavior that is
needed by elfutils.

Cheers,

Mark


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]