libdw: More precise version check
ClosedPublic

Authored by bgamari on Apr 11 2016, 3:22 AM.

Details

Summary

We need libdw 0.158 or newer. See Trac #11820.

Test Plan

Try configure in an environment with older libdw

Diff Detail

Repository
rGHC Glasgow Haskell Compiler
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bgamari retitled this revision from to libdw: More precise version check.Apr 11 2016, 3:22 AM
bgamari updated this object.
bgamari edited the test plan for this revision. (Show Details)
bgamari added a reviewer: hvr.
bgamari updated the Trac tickets for this revision.
hvr added a comment.Apr 11 2016, 3:25 AM

do we have a list of the dwfl_* symbols we depend on?

In D2103#61413, @hvr wrote:

do we have a list of the dwfl_* symbols we depend on?

I could prepare one. Is there a nice way to check for a list of symbols?

bgamari updated this revision to Diff 7252.Apr 11 2016, 3:59 AM

Another attempt

bgamari updated this revision to Diff 7261.Apr 13 2016, 6:04 AM

Rename flag

In D2103#61413, @hvr wrote:

do we have a list of the dwfl_* symbols we depend on?

I could prepare one. Is there a nice way to check for a list of symbols?

Use AC_CHECK_LIB, and just call it on the dwfl_ symbols you actually directly typed in the source? The link-name symbols aren't as important as the fact they resolve and compile to something at all, I think. (@hvr can correct me.)

This revision was automatically updated to reflect the committed changes.