Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
If clang/LLVM was finished, would you support Gentoo's move?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  

Would you support a Gentoo move to clang/LLVM
Yes
78%
 78%  [ 157 ]
No
21%
 21%  [ 43 ]
Total Votes : 200

Author Message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Sun Apr 11, 2010 11:33 pm    Post subject: If clang/LLVM was finished, would you support Gentoo's move? Reply with quote

clang/LLVM is FreeBSD's way of saying how much they dislike GCC. Seeing how Gentoo has more to do with BSD than most distros how would you feel if Gentoo moved away from GCC?

http://en.wikipedia.org/wiki/Clang
http://en.wikipedia.org/wiki/Low_Level_Virtual_Machine
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Sun Apr 11, 2010 11:38 pm    Post subject: Re: If clang/LLVM was finished, would you support Gentoo's m Reply with quote

cokehabit wrote:
clang/LLVM is FreeBSD's way of saying how much they dislike GCC. Seeing how Gentoo has more to do with BSD than most distros how would you feel if Gentoo moved away from GCC?

http://en.wikipedia.org/wiki/Clang
http://en.wikipedia.org/wiki/Low_Level_Virtual_Machine

I think this would be far from trivial.
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Sun Apr 11, 2010 11:39 pm    Post subject: Re: If clang/LLVM was finished, would you support Gentoo's m Reply with quote

wswartzendruber wrote:
cokehabit wrote:
clang/LLVM is FreeBSD's way of saying how much they dislike GCC. Seeing how Gentoo has more to do with BSD than most distros how would you feel if Gentoo moved away from GCC?

http://en.wikipedia.org/wiki/Clang
http://en.wikipedia.org/wiki/Low_Level_Virtual_Machine

I think this would be far from trivial.
you're thinking if it would all work whilst still using GNU's userland?
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
tylerwylie
Guru
Guru


Joined: 19 Sep 2004
Posts: 458
Location: /US/Georgia/Atlanta

PostPosted: Sun Apr 11, 2010 11:40 pm    Post subject: Reply with quote

Considering that they're actually free unlike GPL'd software I say "fuck yea!"
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20048

PostPosted: Sun Apr 11, 2010 11:40 pm    Post subject: Reply with quote

I'd watch it with interest. The fact that Apple is involved makes me wary. That most Linux apps would use GCC is also of concern. I might not really want to compile a program to work with GCC & Clang.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Sun Apr 11, 2010 11:41 pm    Post subject: Re: If clang/LLVM was finished, would you support Gentoo's m Reply with quote

cokehabit wrote:
clang/LLVM is FreeBSD's way of saying how much they dislike GCC. Seeing how Gentoo has more to do with BSD than most distros how would you feel if Gentoo moved away from GCC?

http://en.wikipedia.org/wiki/Clang
http://en.wikipedia.org/wiki/Low_Level_Virtual_Machine


As long as there is an option for individual users to go back to GCC should they want to use the legacy GCC toolchain, I would be okay with this. I dislike the GNU project's stance on Gentoo Linux, so I think moving away from their software would be a step in the right direction.
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Sun Apr 11, 2010 11:46 pm    Post subject: Re: If clang/LLVM was finished, would you support Gentoo's m Reply with quote

Shining Arcanine wrote:
cokehabit wrote:
clang/LLVM is FreeBSD's way of saying how much they dislike GCC. Seeing how Gentoo has more to do with BSD than most distros how would you feel if Gentoo moved away from GCC?

http://en.wikipedia.org/wiki/Clang
http://en.wikipedia.org/wiki/Low_Level_Virtual_Machine


As long as there is an option for individual users to go back to GCC should they want to use the legacy GCC toolchain, I would be okay with this. I dislike the GNU project's stance on Gentoo Linux, so I think moving away from their software would be a step in the right direction.
GNU are retarded and shooting themselves in the feet so much it is unlikely they are going to be able to walk soon.

Once people move away from GCC and Glibc what is left? TURD?
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
Muso
Veteran
Veteran


Joined: 22 Oct 2002
Posts: 1052
Location: The Holy city of Honolulu

PostPosted: Sun Apr 11, 2010 11:49 pm    Post subject: Re: If clang/LLVM was finished, would you support Gentoo's m Reply with quote

cokehabit wrote:

Once people move away from GCC and Glibc what is left? TURD?


Don't knock HURD, it's going to be the shiznit come 2152.
_________________
"You can lead a horticulture but you can't make her think" ~ Dorothy Parker
2021 is the year of the Linux Desktop!
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Sun Apr 11, 2010 11:52 pm    Post subject: Reply with quote

Okay, I just put two and two together here. LLVM is also the software fallback for Gallium3D. So if a statetracker (like OpenGL 4.0) calls for some hardware function not exposed by the card's driver, LLVM will generate the necessary x86 (or whatever) code to perform it.

EDIT: Gallium3D with LLVM is already light years ahead of Mesa's software rasterizer. So basically Apple is part of why we even have this new graphics architecture. I think I'm going to be sick.
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Sun Apr 11, 2010 11:55 pm    Post subject: Re: If clang/LLVM was finished, would you support Gentoo's m Reply with quote

cokehabit wrote:
wswartzendruber wrote:
cokehabit wrote:
clang/LLVM is FreeBSD's way of saying how much they dislike GCC. Seeing how Gentoo has more to do with BSD than most distros how would you feel if Gentoo moved away from GCC?

http://en.wikipedia.org/wiki/Clang
http://en.wikipedia.org/wiki/Low_Level_Virtual_Machine

I think this would be far from trivial.
you're thinking if it would all work whilst still using GNU's userland?


Because GNU's userland is meant to conform to POSIX, it should not be dependent on any particular compiler. If there are any GCC specific issues, they can be filed as bugs. If the GNU people refuse to patch their bugs, Gentoo's package maintainers could likely provide patches in the portage tree.

There is also the option of adopting an alternative userland. I think there are use flags for switching from glibc to uClibc, so there should be some support for a non-GNU userland in Gentoo already. Moving both Gentoo's C compiler and C standard library to non-GNU equivalents would go a long way toward adopting an alternative userland.
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Sun Apr 11, 2010 11:57 pm    Post subject: Reply with quote

And what's the real benefit with the move?
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Mon Apr 12, 2010 12:02 am    Post subject: Re: If clang/LLVM was finished, would you support Gentoo's m Reply with quote

Shining Arcanine wrote:
cokehabit wrote:
wswartzendruber wrote:
cokehabit wrote:
clang/LLVM is FreeBSD's way of saying how much they dislike GCC. Seeing how Gentoo has more to do with BSD than most distros how would you feel if Gentoo moved away from GCC?

http://en.wikipedia.org/wiki/Clang
http://en.wikipedia.org/wiki/Low_Level_Virtual_Machine

I think this would be far from trivial.
you're thinking if it would all work whilst still using GNU's userland?


Because GNU's userland is meant to conform to POSIX, it should not be dependent on any particular compiler. If there are any GCC specific issues, they can be filed as bugs. If the GNU people refuse to patch their bugs, Gentoo's package maintainers could likely provide patches in the portage tree.

There is also the option of adopting an alternative userland. I think there are use flags for switching from glibc to uClibc, so there should be some support for a non-GNU userland in Gentoo already. Moving both Gentoo's C compiler and C standard library to non-GNU equivalents would go a long way toward adopting an alternative userland.
yeah, that's what I thought. I've often wondered what everything would be like with ICC and uClibc or tinycc.

In fact I think it would be a good experiment to do a stage 1 with both userlands and see what the differences are like to do with size, speed and stability
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Mon Apr 12, 2010 12:10 am    Post subject: Reply with quote

wswartzendruber wrote:
And what's the real benefit with the move?
well i suppose smaller binaries, faster system and not relying on that bearded gnome
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Mon Apr 12, 2010 12:11 am    Post subject: Re: If clang/LLVM was finished, would you support Gentoo's m Reply with quote

cokehabit wrote:
Shining Arcanine wrote:
cokehabit wrote:
clang/LLVM is FreeBSD's way of saying how much they dislike GCC. Seeing how Gentoo has more to do with BSD than most distros how would you feel if Gentoo moved away from GCC?

http://en.wikipedia.org/wiki/Clang
http://en.wikipedia.org/wiki/Low_Level_Virtual_Machine


As long as there is an option for individual users to go back to GCC should they want to use the legacy GCC toolchain, I would be okay with this. I dislike the GNU project's stance on Gentoo Linux, so I think moving away from their software would be a step in the right direction.
GNU are retarded and shooting themselves in the feet so much it is unlikely they are going to be able to walk soon.

Once people move away from GCC and Glibc what is left? TURD?

I think that leaves:
  • Automake
  • Bison
  • Binutils
  • Coreutils
  • Findutils
  • Gawk
  • GDBM
  • Grep
  • Groff
  • Inetutils
  • Libtool
  • M4
  • Sed
  • Tar
  • Texinfo
I am not sure if there are GNU-compatible replacements available for all of them, although I am not sure if all of them are strictly necessary for a non-GNU userland.

wswartzendruber wrote:
And what's the real benefit with the move?

Switching from GCC to LLVM would provide all of the benefits that come with LLVM:

http://llvm.org/

cokehabit wrote:
Shining Arcanine wrote:
cokehabit wrote:
wswartzendruber wrote:
cokehabit wrote:
clang/LLVM is FreeBSD's way of saying how much they dislike GCC. Seeing how Gentoo has more to do with BSD than most distros how would you feel if Gentoo moved away from GCC?

http://en.wikipedia.org/wiki/Clang
http://en.wikipedia.org/wiki/Low_Level_Virtual_Machine

I think this would be far from trivial.
you're thinking if it would all work whilst still using GNU's userland?


Because GNU's userland is meant to conform to POSIX, it should not be dependent on any particular compiler. If there are any GCC specific issues, they can be filed as bugs. If the GNU people refuse to patch their bugs, Gentoo's package maintainers could likely provide patches in the portage tree.

There is also the option of adopting an alternative userland. I think there are use flags for switching from glibc to uClibc, so there should be some support for a non-GNU userland in Gentoo already. Moving both Gentoo's C compiler and C standard library to non-GNU equivalents would go a long way toward adopting an alternative userland.
yeah, that's what I thought. I've often wondered what everything would be like with ICC and uClibc or tinycc.

In fact I think it would be a good experiment to do a stage 1 with both userlands and see what the differences are like to do with size, speed and stability

I would love it if Gentoo supported hardware vendor compilers as a drop-in replacements for GCC, but I doubt that will happen. The unofficial wiki alludes to issues that are caused by compiling certain system packages with ICC:

http://www.gentoo-wiki.info/HOWTO_ICC_and_Portage#icc_cannot_compile_all_packages_in_Portage

That might just be a warning, but I have always interpreted it as meaning that ICC is unable to compile those packages. Perhaps someone could test this.

Anyway, it might be easier to do Linux From Scratch with the alternate components and then install portage on top of that than it would be to start from a stage 1. Documentation for doing (and the exact definition of) a stage 1 is not readily available because the Gentoo Foundation does not support stage 1 installations anymore. After portage is installed, I imagine that the system profile could be modified so portage would not try to install the GNU components.


Last edited by Shining Arcanine on Mon Apr 12, 2010 12:14 am; edited 1 time in total
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Mon Apr 12, 2010 12:13 am    Post subject: Reply with quote

cokehabit wrote:
wswartzendruber wrote:
And what's the real benefit with the move?
well i suppose smaller binaries, faster system and not relying on that bearded gnome

It's already faster than GCC? After all these years?

EDIT: Heh, we should switch and rebrand ourselves as Gentoo BSD/Linux just to confuse everyone.
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Mon Apr 12, 2010 12:13 am    Post subject: Reply with quote

wswartzendruber wrote:
cokehabit wrote:
wswartzendruber wrote:
And what's the real benefit with the move?
well i suppose smaller binaries, faster system and not relying on that bearded gnome

It's already faster than GCC? After all these years?
nothing is slower than gcc.
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Mon Apr 12, 2010 12:15 am    Post subject: Reply with quote

wswartzendruber wrote:
cokehabit wrote:
wswartzendruber wrote:
And what's the real benefit with the move?
well i suppose smaller binaries, faster system and not relying on that bearded gnome

It's already faster than GCC? After all these years?

EDIT: Heh, we should switch and rebrand ourselves as Gentoo BSD/Linux just to confuse everyone.


I am confused as to whether you are talking about the system compiler or the userland as a whole.

By the way, shouldn't this be in the Gentoo Chat, rather than in Off the Wall?
Back to top
View user's profile Send private message
swirling_vortex
n00b
n00b


Joined: 12 Jun 2007
Posts: 24

PostPosted: Mon Apr 12, 2010 12:17 am    Post subject: Re: If clang/LLVM was finished, would you support Gentoo's m Reply with quote

Chopinzee wrote:
cokehabit wrote:

Once people move away from GCC and Glibc what is left? TURD?


Don't knock HURD, it's going to be the shiznit come 2152.

I hear that Hurd will be bundled with Duke Nukem Forever.
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Mon Apr 12, 2010 12:18 am    Post subject: Re: If clang/LLVM was finished, would you support Gentoo's m Reply with quote

swirling_vortex wrote:
Chopinzee wrote:
cokehabit wrote:

Once people move away from GCC and Glibc what is left? TURD?


Don't knock HURD, it's going to be the shiznit come 2152.

I hear that Hurd will be bundled with Duke Nukem Forever.


I thought Duke Nukem Forever was going to be bundled as an addon to Hurd. :P
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Mon Apr 12, 2010 12:18 am    Post subject: Reply with quote

Shining Arcanine wrote:
wswartzendruber wrote:
cokehabit wrote:
wswartzendruber wrote:
And what's the real benefit with the move?
well i suppose smaller binaries, faster system and not relying on that bearded gnome

It's already faster than GCC? After all these years?

EDIT: Heh, we should switch and rebrand ourselves as Gentoo BSD/Linux just to confuse everyone.


I am confused as to whether you are talking about the system compiler or the userland as a whole.

By the way, shouldn't this be in the Gentoo Chat, rather than in Off the Wall?

The whole userland. And yeah, Gentoo Chat would make more sense, I think.
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Mon Apr 12, 2010 12:27 am    Post subject: Reply with quote

wswartzendruber wrote:
Shining Arcanine wrote:
wswartzendruber wrote:
cokehabit wrote:
wswartzendruber wrote:
And what's the real benefit with the move?
well i suppose smaller binaries, faster system and not relying on that bearded gnome

It's already faster than GCC? After all these years?

EDIT: Heh, we should switch and rebrand ourselves as Gentoo BSD/Linux just to confuse everyone.


I am confused as to whether you are talking about the system compiler or the userland as a whole.

By the way, shouldn't this be in the Gentoo Chat, rather than in Off the Wall?

The whole userland. And yeah, Gentoo Chat would make more sense, I think.


If the userland is switched to a BSD userland, which BSD variant would be the userland donor? Are there any differences between the userlands of Dragonfly BSD, FreeBSD, NetBSD and OpenBSD?

Is there an entirely free (as in BSD/LGPL licensed) GNU-compatible userland that Gentoo could use an an alternative to the GNU userland?

Edit: Now I understand what you mean by Gentoo BSD/Linux. The term "GNU/Linux" is finally starting to make sense in the context of having to call Gentoo with a GNU userland Gentoo GNU/Linux and the Gentoo with a BSD userland Gentoo BSD/Linux. Logically extending this syntax, if Gentoo BSD/Linux is booted with say a FreeBSD kernel, it would then need to be called Gentoo FreeBSD. Gentoo with a NetBSD kernel would then need to be called Gentoo NetBSD. Gentoo with an OpenBSD kernel would then need to be called Gentoo OpenBSD. Lastly, Gentoo with a DragonFly BSD kernel would need to be called Gentoo DragonFly BSD. The Gentoo projects currently with those names would need to be renamed to Gentoo GNU/FreeBSD, Gentoo GNU/NetBSD, Gentoo GNU/OpenBSD and Gentoo GNU/DragonFly BSD respectively.
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Mon Apr 12, 2010 12:36 am    Post subject: Re: If clang/LLVM was finished, would you support Gentoo's m Reply with quote

swirling_vortex wrote:
Chopinzee wrote:
cokehabit wrote:

Once people move away from GCC and Glibc what is left? TURD?


Don't knock HURD, it's going to be the shiznit come 2152.

I hear that Hurd will be bundled with Duke Nukem Forever.
:lol: :lol: :lol:
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20048

PostPosted: Mon Apr 12, 2010 12:37 am    Post subject: Reply with quote

Moved from Off the Wall to Gentoo Chat.

Thread dead in 3... 2... 1...
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Mon Apr 12, 2010 12:41 am    Post subject: Re: If clang/LLVM was finished, would you support Gentoo's m Reply with quote

Chopinzee wrote:
cokehabit wrote:

Once people move away from GCC and Glibc what is left? TURD?


Don't knock HURD, it's going to be the shiznit come 2152.
A while back I had made a half-hearted attempt at coming up with what HURD really stands for. It was Hopefully it-Ull be Release some Day.
_________________
My political stance/bias
slycordinator != slycoordinator
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Mon Apr 12, 2010 12:42 am    Post subject: Re: If clang/LLVM was finished, would you support Gentoo's m Reply with quote

slycordinator wrote:
Chopinzee wrote:
cokehabit wrote:

Once people move away from GCC and Glibc what is left? TURD?


Don't knock HURD, it's going to be the shiznit come 2152.
A while back I had made a half-hearted attempt at coming up with what HURD really stands for. It was Hopefully it-Ull be Release some Day.

Isn't the Enterprise-E going to be powered by HURD?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 1 of 9

 
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