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 Wed 22 Oct 2014, 01:32
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 Posts_count   Goto page: 1, 2 Next
Author Message
musher0


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

PostPosted: Thu 01 May 2014, 15:21    Post_subject:  What does the humongous /usr/lib/libLLVM.so.3 do?
Sub_title: 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)

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
starhawk

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

PostPosted: Thu 01 May 2014, 15:43    Post_subject:  

This might provide some useful information...

http://llvm.org/

_________________
Loving X-Slacko 2.1!
Custom Build: HP MOCA-AR + Core2Duo T7200 + 4gb RAM + 256gb SSD
...just needs a pretty case Wink
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8344

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: 4255
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_website 
mikeb


Joined: 23 Nov 2006
Posts: 8344

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_website 
musher0


Joined: 04 Jan 2009
Posts: 4255
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_website 
gcmartin

Joined: 14 Oct 2005
Posts: 4355
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: 4353

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: 4255
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_website 
Ibidem

Joined: 25 May 2010
Posts: 501
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: 4255
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_website 
mikeb


Joined: 23 Nov 2006
Posts: 8344

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: 8344

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: 4255
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_website 
Display_posts:   Sort by:   
Page 1 of 2 Posts_count   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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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