dtrace4linux / linux

dtrace for linux - kernel driver and userland tools
http://crtags.blogspot.com
1.18k stars 226 forks source link

Changes to support CentOS 7 #99

Closed loganbruns closed 8 years ago

loganbruns commented 9 years ago

Three changes that seem to be required to get dtrace building on CentOS 7 for your review.

commit 8ee119b297aa0b30d99ac5817b99d342bf7edab5 Author: Logan O'Sullivan Bruns logan@gedanken.org Date: Sun Feb 8 03:44:13 2015 +0000

Added libdwarf.a deps install for fedora/rhel/centos script

commit cffbd428ee71b11a6482d49da9b34706fd9fe1d9 Author: Logan O'Sullivan Bruns logan@gedanken.org Date: Sun Feb 8 03:41:51 2015 +0000

Add dwarf_loclist to libdw vs. libdwarf check

On CentOS 7 libdw does not include dwarf_loclist but libdwarf
does. This changes adds checking for dwarf_loclist to the check to
determine whether to use libdw instead of libdwarf.

commit d476c3a0dadb47c69f08dafce2b1a400cda49a58 Author: Logan O'Sullivan Bruns logan@gedanken.org Date: Sun Feb 8 03:38:34 2015 +0000

Kernel 3.10 also appears to not have the store_gdt call either

The current #ifdef says for 3.11 and above but 3.10 also does not
appear to have the store_gdt call. This fixes a build issue on CentOS
7 which includes the 3.10 kernel.
trptcolin commented 8 years ago

Conflicts aside, I'm confirming that manually applying these changes (where applicable) gets me a working dtrace4linux install on CentOS. :+1:

dtrace4linux commented 8 years ago

accepted the pull req; let me know if there are any issues.

trptcolin commented 8 years ago

Looks like a merge conflict made it in: https://github.com/dtrace4linux/linux/blob/593ec7f6e22e57050939e8ad78bfbe206a4d5b55/tools/mkport.pl#L364-L368

dtrace4linux commented 8 years ago

thanks for hiliting. hopefully fixed.

On 23 March 2016 at 16:58, Colin Jones notifications@github.com wrote:

Looks like a merge conflict made it in: https://github.com/dtrace4linux/linux/blob/593ec7f6e22e57050939e8ad78bfbe206a4d5b55/tools/mkport.pl#L364-L368

— You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub https://github.com/dtrace4linux/linux/pull/99#issuecomment-200441419

dtrace4linux commented 8 years ago

pushed out a new release with a fix for 4.4 kernels.

On 23 March 2016 at 20:50, Paul Fox paul.d.fox@gmail.com wrote:

thanks for hiliting. hopefully fixed.

On 23 March 2016 at 16:58, Colin Jones notifications@github.com wrote:

Looks like a merge conflict made it in: https://github.com/dtrace4linux/linux/blob/593ec7f6e22e57050939e8ad78bfbe206a4d5b55/tools/mkport.pl#L364-L368

— You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub https://github.com/dtrace4linux/linux/pull/99#issuecomment-200441419