dwarves.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* new pahole packet structure
@ 2007-12-24 22:41 Hagen Paul Pfeifer
       [not found] ` <20071224224156.GB24470-RTrJC4xep8EqiUe4PmP5+w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Hagen Paul Pfeifer @ 2007-12-24 22:41 UTC (permalink / raw)
  To: dwarves-u79uwXL29TY76Z2rM5mHXA


First one! ;-)

I re-structured the packet layout, droped cmake support with a lightweight
./configure replacement and fix some new occurred compiler warnings.

Hello Arnaldo, I replaced the current build system with a more common
configure && make && make install tuple. I drooped the cmake dependencies
completely - now a hand-crafted configure script replace the functionality.
There are some tiny issues for further releases: e.g. check for a valid
elfutils package (version > elfutils-0.128), sqlite checks, etc.

The current version doesn't utilize any auto-helltools, but the fundamental
structure is prepared. So if there is a demand in the future: no problem! ;)

I doesn't touched any functionality - no code is altered (expect some compiler
warnings, due to additional compiler flags. But there are some additional
warnings!).

The whole tarball is a packed git archive (master branch). The last commit was
b4d6de9b6f6. You can pull (and merge) it therefore locally. ;)


http://jauu.net/var/misc/exchange/pahole-new.tar.bz2


Hagen

-- 
Hagen Paul Pfeifer <hagen-GvnIQ6b/HdU@public.gmane.org>  ||  http://jauu.net/
Telephone: +49 174 5455209           ||  Key Id: 0x98350C22
Key Fingerprint: 490F 557B 6C48 6D7E 5706 2EA2 4A22 8D45 9835 0C22
Always in motion, the future is. 
-
To unsubscribe from this list: send the line "unsubscribe dwarves" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: new pahole packet structure
       [not found] ` <20071224224156.GB24470-RTrJC4xep8EqiUe4PmP5+w@public.gmane.org>
@ 2007-12-25 20:12   ` Arnaldo Carvalho de Melo
       [not found]     ` <20071225201226.GA28007-f8uhVLnGfZaxAyOMLChx1axOck334EZe@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Arnaldo Carvalho de Melo @ 2007-12-25 20:12 UTC (permalink / raw)
  To: Hagen Paul Pfeifer, dwarves-u79uwXL29TY76Z2rM5mHXA

Em Mon, Dec 24, 2007 at 11:41:57PM +0100, Hagen Paul Pfeifer escreveu:
> 
> First one! ;-)
> 
> I re-structured the packet layout, droped cmake support with a lightweight
> ./configure replacement and fix some new occurred compiler warnings.
> 
> Hello Arnaldo, I replaced the current build system with a more common
> configure && make && make install tuple. I drooped the cmake dependencies
> completely - now a hand-crafted configure script replace the functionality.
> There are some tiny issues for further releases: e.g. check for a valid
> elfutils package (version > elfutils-0.128), sqlite checks, etc.
> 
> The current version doesn't utilize any auto-helltools, but the fundamental
> structure is prepared. So if there is a demand in the future: no problem! ;)
> 
> I doesn't touched any functionality - no code is altered (expect some compiler
> warnings, due to additional compiler flags. But there are some additional
> warnings!).
> 
> The whole tarball is a packed git archive (master branch). The last commit was
> b4d6de9b6f6. You can pull (and merge) it therefore locally. ;)
> 
> 
> http://jauu.net/var/misc/exchange/pahole-new.tar.bz2

Doesn't work in my workstation:

[acme@doppio pahole]$ ./configure
*** configure-ng ***
checking for compiler...  /usr/lib64/ccache/gcc
checking for rm... /bin/rm
checking for ar... /usr/bin/ar
checking for ranlib... /usr/bin/ranlib
checking for ldconfig... which: no ldconfig in
(/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/acme/bin)
can't find ldconfig(1)!
[acme@doppio pahole]$

[acme@doppio pahole]$ ldconfig
bash: ldconfig: command not found
[acme@doppio pahole]$ l /sbin/ldconfig
-rwxr-xr-x 1 root root 694760 2007-10-18 06:31 /sbin/ldconfig*
[acme@doppio pahole]$

- Arnaldo
-
To unsubscribe from this list: send the line "unsubscribe dwarves" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: new pahole packet structure
       [not found]     ` <20071225201226.GA28007-f8uhVLnGfZaxAyOMLChx1axOck334EZe@public.gmane.org>
@ 2007-12-26 17:14       ` Hagen Paul Pfeifer
       [not found]         ` <20071226171437.GA16456-RTrJC4xep8EqiUe4PmP5+w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Hagen Paul Pfeifer @ 2007-12-26 17:14 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: Hagen Paul Pfeifer, dwarves-u79uwXL29TY76Z2rM5mHXA

* Arnaldo Carvalho de Melo | 2007-12-25 18:12:26 [-0200]:


>[acme@doppio pahole]$ ldconfig

Fixed!

http://jauu.net/var/misc/exchange/pahole-new.tar.bz2


The fix isn't yet git commited - I want a clean history. So Arnaldo, check
the new structure and post some comment! ;-)

Hagen
-
To unsubscribe from this list: send the line "unsubscribe dwarves" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: new pahole packet structure
       [not found]         ` <20071226171437.GA16456-RTrJC4xep8EqiUe4PmP5+w@public.gmane.org>
@ 2007-12-26 17:49           ` Arnaldo Carvalho de Melo
       [not found]             ` <20071226174928.GC28007-f8uhVLnGfZaxAyOMLChx1axOck334EZe@public.gmane.org>
  2007-12-26 18:29           ` Kok, Auke
  1 sibling, 1 reply; 7+ messages in thread
From: Arnaldo Carvalho de Melo @ 2007-12-26 17:49 UTC (permalink / raw)
  To: Hagen Paul Pfeifer, dwarves-u79uwXL29TY76Z2rM5mHXA

Em Wed, Dec 26, 2007 at 06:14:38PM +0100, Hagen Paul Pfeifer escreveu:
> * Arnaldo Carvalho de Melo | 2007-12-25 18:12:26 [-0200]:
> 
> 
> >[acme@doppio pahole]$ ldconfig
> 
> Fixed!
> 
> http://jauu.net/var/misc/exchange/pahole-new.tar.bz2
> 
> 
> The fix isn't yet git commited - I want a clean history. So Arnaldo, check
> the new structure and post some comment! ;-)

Next problem:

[acme@doppio pahole]$ ./configure
*** configure-ng ***
checking for compiler...  /usr/lib64/ccache/gcc
checking for rm... /bin/rm
checking for ar... /usr/bin/ar
checking for ranlib... /usr/bin/ranlib
checking for mkdir... /bin/mkdir
checking for install... /usr/bin/install
checking for alloca... yes
checking for posix_memalign support... yes
checking for libdw... no
 Configure doesn't found libdw. Libdw is an essential package
 for this package! If this library (or header files) are not
 installed in a common directory you can specify it via
 --libdir=/PATH/TO/LIBRARY and/or --inludedir=/PATH/TO/HEADER
 Tip: libdw is bundled with elfutils
 URL: ftp://sources.redhat.com/pub/systemtap/elfutils/
rmdir: /tmp/tmp.cGoUy28831: Directory not empty
[acme@doppio pahole]$

On a Fedora 8 system:

[acme@doppio pahole]$ rpm -ql elfutils-devel
/usr/include/dwarf.h
/usr/include/elfutils
/usr/include/elfutils/elf-knowledge.h
/usr/include/elfutils/libdw.h
/usr/include/elfutils/libdwfl.h
/usr/include/elfutils/libebl.h
/usr/lib64/libdw.so
/usr/lib64/libebl.a
[acme@doppio pahole]$ rpm -ql elfutils-libelf-devel
/usr/include/gelf.h
/usr/include/libelf.h
/usr/include/nlist.h
/usr/lib64/libelf.so
[acme@doppio pahole]$

- Arnaldo
-
To unsubscribe from this list: send the line "unsubscribe dwarves" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: new pahole packet structure
       [not found]         ` <20071226171437.GA16456-RTrJC4xep8EqiUe4PmP5+w@public.gmane.org>
  2007-12-26 17:49           ` Arnaldo Carvalho de Melo
@ 2007-12-26 18:29           ` Kok, Auke
       [not found]             ` <47729D74.7060506-X32NN5VTeG1I9G5hMfIumQ@public.gmane.org>
  1 sibling, 1 reply; 7+ messages in thread
From: Kok, Auke @ 2007-12-26 18:29 UTC (permalink / raw)
  To: Hagen Paul Pfeifer, Arnaldo Carvalho de Melo,
	dwarves-u79uwXL29TY76Z2rM5mHXA

Hagen Paul Pfeifer wrote:
> * Arnaldo Carvalho de Melo | 2007-12-25 18:12:26 [-0200]:
> 
> 
>> [acme@doppio pahole]$ ldconfig
> 
> Fixed!
> 
> http://jauu.net/var/misc/exchange/pahole-new.tar.bz2
> 
> 
> The fix isn't yet git commited - I want a clean history. So Arnaldo, check
> the new structure and post some comment! ;-)

ldconfig can also live in /sbin/ and variants of that... make sure you check those.

Auke
-
To unsubscribe from this list: send the line "unsubscribe dwarves" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: new pahole packet structure
       [not found]             ` <20071226174928.GC28007-f8uhVLnGfZaxAyOMLChx1axOck334EZe@public.gmane.org>
@ 2007-12-27 18:53               ` Hagen Paul Pfeifer
  0 siblings, 0 replies; 7+ messages in thread
From: Hagen Paul Pfeifer @ 2007-12-27 18:53 UTC (permalink / raw)
  To: dwarves-u79uwXL29TY76Z2rM5mHXA

* Arnaldo Carvalho de Melo | 2007-12-26 15:49:28 [-0200]:

>checking for libdw... no

Strange! This should only be happens if libwd.so isn't in the standard search
path!

The configure script probe for libdw via:

gcc -ldw -o /dev/null dwtest.c

gcc -print-search-dirs | grep /usr/lib64/ should[tm] match! I tested the
configure script on Debian and Arch linux - NULL problems there. Anyway: I
will install fedora and test it one more time.


HAGEN


-
To unsubscribe from this list: send the line "unsubscribe dwarves" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: new pahole packet structure
       [not found]             ` <47729D74.7060506-X32NN5VTeG1I9G5hMfIumQ@public.gmane.org>
@ 2007-12-27 19:01               ` Hagen Paul Pfeifer
  0 siblings, 0 replies; 7+ messages in thread
From: Hagen Paul Pfeifer @ 2007-12-27 19:01 UTC (permalink / raw)
  To: dwarves-u79uwXL29TY76Z2rM5mHXA

* Kok, Auke | 2007-12-26 10:29:08 [-0800]:

>ldconfig can also live in /sbin/ and variants of that... make sure you check those.

99% in /sbin - but I will catch the other percent too! ;-)

The library is installed in a standard library path, we can therefore skip the
ldconfig call and instead output

@echo
@echo "Please run ldconfig"
@echo

It is often the preferred way by distribution to start ldconfig by them self.
So the @echo "You can now run ldconfig" is the better solution.


HGN


-
To unsubscribe from this list: send the line "unsubscribe dwarves" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-12-27 19:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-24 22:41 new pahole packet structure Hagen Paul Pfeifer
     [not found] ` <20071224224156.GB24470-RTrJC4xep8EqiUe4PmP5+w@public.gmane.org>
2007-12-25 20:12   ` Arnaldo Carvalho de Melo
     [not found]     ` <20071225201226.GA28007-f8uhVLnGfZaxAyOMLChx1axOck334EZe@public.gmane.org>
2007-12-26 17:14       ` Hagen Paul Pfeifer
     [not found]         ` <20071226171437.GA16456-RTrJC4xep8EqiUe4PmP5+w@public.gmane.org>
2007-12-26 17:49           ` Arnaldo Carvalho de Melo
     [not found]             ` <20071226174928.GC28007-f8uhVLnGfZaxAyOMLChx1axOck334EZe@public.gmane.org>
2007-12-27 18:53               ` Hagen Paul Pfeifer
2007-12-26 18:29           ` Kok, Auke
     [not found]             ` <47729D74.7060506-X32NN5VTeG1I9G5hMfIumQ@public.gmane.org>
2007-12-27 19:01               ` Hagen Paul Pfeifer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).