Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 22 Dec 2014, 21:44
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
What does the humongous /usr/lib/libLLVM.so.3 do?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [22 Posts]   Goto page: 1, 2 Next
Author Message
musher0


Joined: 04 Jan 2009
Posts: 4468
Location: Gatineau (Qc), Canada

PostPosted: Thu 01 May 2014, 15:21    Post subject:  What does the humongous /usr/lib/libLLVM.so.3 do?
Subject description: If nothing, it's occupies 20 MB in the Puppy for absolutely no profit.
 

Note, 2014-05-13 -- I removed the "solved" mention I had put in the title, because uses for
this lib are still being discovered.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi.

As the title says. It seems to have been in the Precise series from version 5.4.3 on.
Maybe earlier?

I entered some pics in evidence Smile at:
http://murga-linux.com/puppy/viewtopic.php?p=774769&sort=lastpost#774769

Thanks in advance for any insight. BFN.

musher0

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)

Last edited by musher0 on Tue 13 May 2014, 05:56; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
starhawk

Joined: 22 Nov 2010
Posts: 3210
Location: Everybody knows this is nowhere...

PostPosted: Thu 01 May 2014, 15:43    Post subject:  

This might provide some useful information...

http://llvm.org/

_________________

Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 9072

PostPosted: Thu 01 May 2014, 16:41    Post subject:  

Are you suggesting puppy has become a fat pile of bollocks with the help of ubuntu?

mike
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4468
Location: Gatineau (Qc), Canada

PostPosted: Thu 01 May 2014, 17:39    Post subject:  

@starhawk
Sure. There's also the explanation at the Linux from Scratch site. I've been running
this Puppy Precise 5.7.1 without it for the past 24 hours, and it isn't crashing. So...
what's the point in including this fatso library if it's not needed in regular day-to-day
Puppy-ing?

Putting my question another way: is there any program or utility in the daily operations of
a Puppy that needs live compiling? If so, ok, let's leave the fatso in. Otherwise, out it
goes!

In the docs you mention, it says that's it's a better, faster compiler than gcc. So the
question now becomes: why is it not in the devx instead? And if what the authors say is
true, why do we have both gcc and LLVM in the Puppy?

@mikeb.
Yeah, I am! Twisted Evil Remove it and you gain +/- 12 Mg in the iso.

BFN.

musher0

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
mikeb


Joined: 23 Nov 2006
Posts: 9072

PostPosted: Thu 01 May 2014, 18:12    Post subject:  

libsambaclient seemed another fat dinosaur (samba no longer uses it I believe)... but its linked to mplayer (or was) a recompile got rid of that one saving 5MB+

mike
Back to top
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Thu 01 May 2014, 20:04    Post subject: /usr/lib/libLLVM-3.0.so.1 (20MB)  

Precise Puppy 571JP (Japanese edition) removes this with the nouveau and some drivers. Instead, optional nvidia drivers are available at
http://shino.pos.to/party/bridge.cgi?puppy/opt/pup5/precise/.

# ls -1 /usr/lib/dri/*.so | while read F;do ldd $F | grep -q libLLVM && echo $F; done
/usr/lib/dri/nouveau_dri.so
/usr/lib/dri/r300_dri.so
/usr/lib/dri/r600_dri.so
/usr/lib/dri/swrast_dri.so

See also:
http://murga-linux.com/puppy/viewtopic.php?t=76961&start=137
http://murga-linux.com/puppy/viewtopic.php?t=76961&start=150

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 4468
Location: Gatineau (Qc), Canada

PostPosted: Thu 01 May 2014, 21:18    Post subject:  

Haha, the cat is coming out of the bag! Twisted Evil
Thanks, mikeb; thanks, shinobar!

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
gcmartin


Joined: 14 Oct 2005
Posts: 4507
Location: Earth

PostPosted: Fri 02 May 2014, 20:21    Post subject:  

REMOVE by me. Probably would have been taken wrongly in substance.
_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4427

PostPosted: Wed 07 May 2014, 10:24    Post subject:  

llvm can be used by various programs to provide JIT compilation of scripted languages (similar to the difference between python's .py and .pyo files) Lightspark uses it for actionscript3, some webkit variant was using it for javascript JIT, vmkit is an llvm base java engine

btw libICU can be configured to compile down to <1/2Mb

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4468
Location: Gatineau (Qc), Canada

PostPosted: Fri 09 May 2014, 12:12    Post subject:  

technosaurus wrote:
llvm can be used by various programs to provide JIT compilation of scripted languages (similar to the difference between python's .py and .pyo files) Lightspark uses it for actionscript3, some webkit variant was using it for javascript JIT, vmkit is an llvm base java engine

btw libICU can be configured to compile down to <1/2Mb


Thanks, technosaurus. Finally someone knows! Smile

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Ibidem

Joined: 25 May 2010
Posts: 527
Location: State of Jefferson

PostPosted: Tue 13 May 2014, 02:06    Post subject:  

Most FOSS OpenGL drivers use LLVM in the backend, to compile shaders and so on.
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4468
Location: Gatineau (Qc), Canada

PostPosted: Tue 13 May 2014, 05:50    Post subject:  

Thanks, Ibidem.

It is also needed by abiword and gnumeric, at least those versions used in pemasu's
UpupRaring-3.9.9.2. Otherwise, the gtk theme is not used, and those programs appear
with black context and white characters only.

In gnumeric, it is particularly serious. If the libLLVM library is not present, templates and
sheets become unreadable, because the fg and bg both are shades of dark grey, and the
function to select the fg color (for the characters and digits) and the bg color (for the
background of the sheet) is inoperative.

BFN.

musher0

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
mikeb


Joined: 23 Nov 2006
Posts: 9072

PostPosted: Tue 13 May 2014, 08:43    Post subject:  

Is it me or does all this sound like utter geekoid crap.......

'compiler needs including for video drivers and gtk.... '

this gets funnier by the week.....

sprout farming has its appeal too

mike
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 9072

PostPosted: Tue 13 May 2014, 08:46    Post subject:  

Oh yes I remember now...in slax 7 there was this terrible gtk theme...it made everything laggy and and ultimately unuseable...I wonder if thats the one in question... not an easy bitch to remove either...more use it or else strong arm stuff...

is the ultimate aim of linux devs to make a system thats so unuseable that microsoft would be proud and yet killing themselves laughing at the same time ?

Mike
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4468
Location: Gatineau (Qc), Canada

PostPosted: Tue 13 May 2014, 11:59    Post subject:  

Hey, ho, don't shoot me !! I'm only the one who spotted the fatso!!

My hunch is that it's used to theme gtk-3 programs running on an gtk-2 system.

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 2 [22 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0741s ][ Queries: 11 (0.0044s) ][ GZIP on ]