Skip to content

Changes to support CentOS 7 - #99

Merged
dtrace4linux merged 3 commits into
dtrace4linux:masterfrom
loganbruns:changes_for_centos7
Mar 23, 2016
Merged

dtrace4linux merged 3 commits into
dtrace4linux:masterfrom
loganbruns:changes_for_centos7

Conversation

@loganbruns

Copy link
Copy Markdown
Contributor

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

commit 8ee119b
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 cffbd42
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 d476c3a
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.

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.
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.
@trptcolin

Copy link
Copy Markdown

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

@dtrace4linux
dtrace4linux merged commit 8ee119b into dtrace4linux:master Mar 23, 2016
@dtrace4linux

Copy link
Copy Markdown
Owner

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

@trptcolin

Copy link
Copy Markdown

Looks like a merge conflict made it in:

linux/tools/mkport.pl

Lines 364 to 368 in 593ec7f

<<<<<<< HEAD
return 0;
=======
dwarf_loclist();
>>>>>>> 8ee119b297aa0b30d99ac5817b99d342bf7edab5

@dtrace4linux

Copy link
Copy Markdown
Owner

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:

linux/tools/mkport.pl

Lines 364 to 368 in 593ec7f

<<<<<<< HEAD
return 0;
=======
dwarf_loclist();
>>>>>>> 8ee119b297aa0b30d99ac5817b99d342bf7edab5

—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
#99 (comment)

@dtrace4linux

Copy link
Copy Markdown
Owner

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:

linux/tools/mkport.pl

Lines 364 to 368 in 593ec7f

<<<<<<< HEAD
return 0;
=======
dwarf_loclist();
>>>>>>> 8ee119b297aa0b30d99ac5817b99d342bf7edab5

—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
#99 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants