What does the humongous /usr/lib/libLLVM.so.3 do?

Under development: PCMCIA, wireless, etc.
Message
Author
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

What does the humongous /usr/lib/libLLVM.so.3 do?

#1 Post by musher0 »

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 :) at:
http://murga-linux.com/puppy/viewtopic. ... ost#774769

Thanks in advance for any insight. BFN.

musher0
Last edited by musher0 on Tue 13 May 2014, 09:56, edited 2 times in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

starhawk
Posts: 4906
Joined: Mon 22 Nov 2010, 06:04
Location: Everybody knows this is nowhere...

#2 Post by starhawk »

This might provide some useful information...

http://llvm.org/

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#3 Post by mikeb »

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

mike

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#4 Post by musher0 »

@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: Remove it and you gain +/- 12 Mg in the iso.

BFN.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#5 Post by mikeb »

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

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

/usr/lib/libLLVM-3.0.so.1 (20MB)

#6 Post by shinobar »

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?pu ... 5/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. ... &start=137
http://murga-linux.com/puppy/viewtopic. ... &start=150
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#7 Post by musher0 »

Haha, the cat is coming out of the bag! :twisted:
Thanks, mikeb; thanks, shinobar!
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

gcmartin

#8 Post by gcmartin »

REMOVE by me. Probably would have been taken wrongly in substance.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#9 Post by technosaurus »

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
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#10 Post by musher0 »

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! :)
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Ibidem
Posts: 549
Joined: Wed 26 May 2010, 03:31
Location: State of Jefferson

#11 Post by Ibidem »

Most FOSS OpenGL drivers use LLVM in the backend, to compile shaders and so on.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#12 Post by musher0 »

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
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#13 Post by mikeb »

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

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#14 Post by mikeb »

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

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#15 Post by musher0 »

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.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#16 Post by mikeb »

Hey, ho, don't shoot me !! I'm only the one who spotted the fatso!!
no intention to :)

Good to have a rant now and then .... feel free to have one on any threads I happen to bring up pet hates :D

Anyway we do seem to share the same Bloat Spotters...perhaps we are related ?

mike

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#17 Post by musher0 »

mikeb wrote: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
Hi, mikeb.

Back to this one. Re-reading it, it's not so clear anymore... Which one needs to be
recompiled: libsambaclient or mplayer?

I ask because, since I relayed your info on the French side of the forum, some members
have been quite interested in the idea of getting Puppy to shed 5 Mgs!

A couple of derivative questions, if I may:
you know this because you re-compiled the bugger, right? Which could mean that
lazybones such as myself could benefit from your re-compilation? :)

Thanks in advance for filling us in.

BFN.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#18 Post by mikeb »

Funny world...I am actually compiling it at the moment.... doing a build with the skins gmplayer as I slightly hate gnome-mplayer and its plugins.

Yes i gave my build to rerwin for his consideration for the Lucid updates but don't think he used it.

Both it and the shared ffmpeg are not lucid versions but later so it took a bit of finding to get the sources originally used. I also left out such as libdirectfb . The idea was to make a drop in but slimmer replacement. I also did gnome-mplayer though thats a funny one and had to use a slightly later version as the original sources been removed....that one might simply benefit from a newer version if you can get it to build...i disable crap like gnome dependancies.

I might still have the results up on dropbox so will post links back here when I take a look...watch this space.

mike

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#19 Post by musher0 »

Thanks, mikeb! TWUL.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#20 Post by mikeb »

Info in PM

what does TWUL mean?????

mike

Post Reply