Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libtool vs slibtool?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3977

PostPosted: Mon Dec 09, 2024 6:08 am    Post subject: libtool vs slibtool? Reply with quote

To my understanding Wiki suggests slibtool should be favored.
It clearly states how 2 do it, in a fine-grained way.

But it doesn't say anything how beneficial ir is... :roll:

Any experience 2 share in this respect?

Thks 4 ur attention, interest & support
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
bstaletic
Guru
Guru


Joined: 05 Apr 2014
Posts: 407

PostPosted: Mon Dec 09, 2024 7:04 am    Post subject: Re: libtool vs slibtool? Reply with quote

CaptainBlood wrote:
To my understanding Wiki suggests slibtool should be favored.


I don't see the page expressing favoritism towards slibtool. It even has a link to the bug tracker about things failing to build with slibtool.

Are you expecting to gain anything if you switch? To me libtool is just a think that exists and is sometimes noticeable in the build output.
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3977

PostPosted: Mon Dec 09, 2024 11:30 am    Post subject: Reply with quote

bstaletic wrote:
I don't see the page expressing favoritism towards slibtool. It even has a link to the bug tracker about things failing to build with slibtool.
Assuming I'm wrong on that point :oops:, the question remains...
CaptainBlood wrote:
But it doesn't say anything how beneficial ir is... :roll:

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
bstaletic
Guru
Guru


Joined: 05 Apr 2014
Posts: 407

PostPosted: Mon Dec 09, 2024 5:37 pm    Post subject: Reply with quote

True. As I see it, it is a stricter implementation, which is a double-edged blade. If you use it to build your own software you can be sure the build system is not just being nice to you.

For end users, like us... meh... libtool works, so why fuss over it?
Back to top
View user's profile Send private message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2187

PostPosted: Mon Dec 09, 2024 7:00 pm    Post subject: Reply with quote

I tripped over this thread and went hunting for the "obvious" Rust implementation, but sadly that doesn't exist!

Aside: while searching, I came across this libtool guide written by Diego Pettenò, a respected name in Gentoo circles. I pass it on in case it's of interest.
_________________
Greybeard
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3977

PostPosted: Mon Dec 09, 2024 7:04 pm    Post subject: Reply with quote

Goverp wrote:
I tripped over this thread and went hunting for the "obvious" Rust implementation, but sadly that doesn't exist!

Aside: while searching, I came across this libtool guide written by Diego Pettenò, a respected name in Gentoo circles. I pass it on in case it's of interest.
So much respected here... I miss him.

Opensuse POV mentions possible speed gain.
Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "


Last edited by CaptainBlood on Mon Dec 09, 2024 9:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3977

PostPosted: Mon Dec 09, 2024 9:08 pm    Post subject: Reply with quote

Here
Code:
equery --quiet d autoconf 2>/dev/null|wc -l
340
The number of packages which build could be speed up.

Thks 4 ur attention, interest & support
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3977

PostPosted: Tue Dec 10, 2024 11:35 pm    Post subject: Reply with quote

Code:
2024-12-11T02:14:59 >>> dev-lang/python-3.13.1: 12′58″
2024-12-11T02:47:39 >>> dev-lang/python-3.13.1: 11′24″
Unsure if latter line reported duration gain is due to slibtool, though.

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
freke
Veteran
Veteran


Joined: 23 Jan 2003
Posts: 1037
Location: Somewhere in Denmark

PostPosted: Mon Dec 23, 2024 7:36 pm    Post subject: Reply with quote

Haven't done exhaustive comparison, but a slibtool-rebuild of system showed this at first glance:
Code:
2024-12-01T09:40:47 >>> net-analyzer/net-snmp-5.9.4-r1: 14 minutes, 5 seconds
2024-12-23T20:06:11 >>> net-analyzer/net-snmp-5.9.4-r1: 11 minutes, 30 seconds

2024-12-01T09:32:23 >>> sys-apps/man-db-2.13.0: 4 minutes, 31 seconds
2024-12-23T19:49:37 >>> sys-apps/man-db-2.13.0: 4 minutes, 35 seconds
The latter of both being slibtool...
Also picked up a few ebuilds that doesn't build with slibtool though, currently
Code:
sys-devel/gcc libtool
=dev-libs/openssl-3.3.2-r2 libtool
=net-libs/gnutls-3.8.8 libtool
=dev-build/libtool-2.5.4 libtool
=dev-libs/ivykis-0.43.1 libtool
=app-misc/uptimed-0.4.6-r1 libtool
(not quite finished with @world though)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum