lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 27 Apr 2010 12:00:16 -0300
From:	Arnaldo Carvalho de Melo <acme@...hat.com>
To:	Valdis.Kletnieks@...edu
Cc:	mingo@...hat.com, hpa@...or.com, paulus@...ba.org,
	linux-kernel@...r.kernel.org, tzanussi@...il.com,
	a.p.zijlstra@...llo.nl, fweisbec@...il.com,
	stefanha@...ux.vnet.ibm.com, tglx@...utronix.de,
	mhiramat@...hat.com, mingo@...e.hu,
	linux-tip-commits@...r.kernel.org
Subject: Re: [tip:perf/core] perf tools: Fix libdw-dev package name in
	error message

Em Tue, Apr 27, 2010 at 09:48:20AM -0400, Valdis.Kletnieks@...edu escreveu:
> On Tue, 27 Apr 2010 12:59:19 -0000, tip-bot for Stefan Hajnoczi said:
> > Commit-ID:  f93830fbb06b67848c762f2177c06cc3cbb97deb
> > Gitweb:     http://git.kernel.org/tip/f93830fbb06b67848c762f2177c06cc3cbb97deb
> > Author:     Stefan Hajnoczi <stefanha@...ux.vnet.ibm.com>
> > AuthorDate: Mon, 26 Apr 2010 15:39:54 -0300
> > Committer:  Arnaldo Carvalho de Melo <acme@...hat.com>
> > CommitDate: Mon, 26 Apr 2010 15:39:54 -0300
> > 
> > perf tools: Fix libdw-dev package name in error message
> > 
> > The headers required for DWARF support are provided by the libdw-dev
> > package in Debian-based distros.
> 
> Not all the world is Debian based.  As I mentioned before, the package needed
> is elfutils-devel on Redhat/Fedora systesm.  For those boxes, you're changing a
> 'elfutil-dev' that the user can guess is supposed to be -devel, to a package
> that doesn't exist on Redhat/Fedora.  And to compound it, if the user guesses
> that you meant libdwarf-devel, that still fails, because that does *not*
> provide the libdw.h header - that's still in elfutil-devel.

It works for Red Hat, the message is:

        msg := $(warning No libdw.h found or old libdw.h found, disables dwarf support. Please install elfutils-devel/libdw-dev);

And, as you say:

[acme@...pio git]$ rpm -ql elfutils-devel
/usr/include/dwarf.h
/usr/include/elfutils
/usr/include/elfutils/elf-knowledge.h
/usr/include/elfutils/libasm.h
/usr/include/elfutils/libdw.h
/usr/include/elfutils/libdwfl.h
/usr/include/elfutils/libebl.h
/usr/include/elfutils/version.h
/usr/lib64/libasm.so
/usr/lib64/libdw.so
/usr/lib64/libebl.a
[acme@...pio git]$

	If you have a better phrasing to avoid such misunderstandings,
please send a patch.

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ