Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: require libtool 2.4.2 #24650

Merged
merged 1 commit into from Mar 24, 2022
Merged

Conversation

fanquake
Copy link
Member

@fanquake fanquake commented Mar 23, 2022

Every system we support has 2.4.6 available, except for OpenBSD, which
currently ships with 2.4.2 (released 2011). For now, set our minimum
required version to that.

After a 7 year hitus, 2.4.7 has also very recently been released:
https://savannah.gnu.org/forum/forum.php?forum_id=10139.

Partially motivated by comments in #24615.

See also: https://repology.org/project/libtool/versions

@hebasto
Copy link
Member

hebasto commented Mar 23, 2022

Concept ACK.

See also: https://repology.org/project/libtool/versions.

Libtool 2.4.2 for OpenBSD?

@prusnak
Copy link
Contributor

prusnak commented Mar 23, 2022

Libtool 2.4.2 for OpenBSD?

+1 for requiring Libtool 2.4.2 (released in 2011) to support OpenBSD

@maflcko
Copy link
Member

maflcko commented Mar 23, 2022

Is there a reason for this bump? Does this have any effect on users or developers?

@hebasto
Copy link
Member

hebasto commented Mar 23, 2022

Is there a reason for this bump? Does this have any effect on users or developers?

#24615 (comment)

@maflcko
Copy link
Member

maflcko commented Mar 23, 2022

In that case it should be bumped to 1.9, maybe updating the comment to mention the reason.

@fanquake
Copy link
Member Author

In that case it should be bumped to 1.9, maybe updating the comment to mention the reason.

I disagree. Firstly, as I mentioned in #24615, I'm not actually sure about the changes there. Secondly, I don't see a reason to not require a more modern version. For example, pre-2.4 libtool doesn't support sysroot, and I don't think pre-2.2.8 libtool properly supported 64 bit Windows builds (via mingw64), so updating to a more modern requirement actually reflects reality, rather than us pretending to support a libtool version that very likely just wouldn't work, and certainly, nobody is testing.

OpenBSD using 2.4.2 is a bit odd, and I'm curious to know why they might have remained pinned to an older version. However if that is the case, I think we should set our requirement to 2.4.2; then we are also able to assume improved LTO support when using GCC.

@maflcko
Copy link
Member

maflcko commented Mar 23, 2022

Sure no objection, if there is an actual user-visible improvement (like LTO support). Though, if there isn't, this just seems a bit like the "bump to python 37 for fun" pulls (#24017, #23270)

Every system we support has 2.4.6 available, except for OpenBSD, which
currently ships with 2.4.2 (released 2011). For now, set our minimum
required version to that.

After a 7 year hitus, 2.4.7 has also very recently been released:
https://savannah.gnu.org/forum/forum.php?forum_id=10139.

Partially motivated by comments in bitcoin#24615.

See also: https://repology.org/project/libtool/versions
@fanquake fanquake changed the title build: require libtool 2.4.6 build: require libtool 2.4.2 Mar 23, 2022
Copy link
Member

@hebasto hebasto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 061accf

@fanquake
Copy link
Member Author

Sure no objection, if there is an actual user-visible improvement (like LTO support).

I think even when there isn't a direct, user-visible improvement, making the requirements stated in the build system, better reflect reality, is worthwhile.

I've change this to requiring 2.4.2. I'm not quite sure why OpenBSD is still using 2.4.2 (https://github.com/openbsd/ports/blob/master/devel/libtool/Makefile). Other BSDs, i.e FreeBSD, ship with 2.4.6, and OpenBSD ships with modern versions of other GNU tools, i.e automake, autoconf.

@achow101
Copy link
Member

ACK 061accf

Copy link
Contributor

@prusnak prusnak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 061accf

@fanquake fanquake merged commit cea2ce0 into bitcoin:master Mar 24, 2022
@fanquake fanquake deleted the require_libtool_2_4_6 branch March 24, 2022 10:57
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Apr 2, 2022
061accf build: require libtool 2.4.2 (fanquake)

Pull request description:

  Every system we support has 2.4.6 available, except for OpenBSD, which
  [currently ships with 2.4.2](https://github.com/openbsd/ports/blob/master/devel/libtool/Makefile) (released 2011). For now, set our minimum
  required version to that.

  After a 7 year hitus, 2.4.7 has also very recently been released:
  https://savannah.gnu.org/forum/forum.php?forum_id=10139.

  Partially motivated by comments in bitcoin#24615.

  See also: https://repology.org/project/libtool/versions

ACKs for top commit:
  achow101:
    ACK 061accf
  hebasto:
    ACK 061accf
  prusnak:
    ACK 061accf

Tree-SHA512: bc032022b8609b73253ff1c4fd480f4d09be761b8fec295f39319f9499ee2df116f55295da476be551c43ed88fbb0bfed7bb5a188b9979b34147fe39737ec76f
@bitcoin bitcoin locked and limited conversation to collaborators Mar 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants