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 Previous  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
wswartzendruber
Veteran
Veteran


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

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

So what C library are we trying this with?
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

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

wswartzendruber wrote:
So what C library are we trying this with?
avx wants dietlibc, most are ok with dietlibc or uClibc. I dont think curie is full-featured enough (from what magnus tells me).

That does raise a question, with all these embedded C libraries, are they ideal for the job and complete enough?
_________________
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: Mon Apr 12, 2010 10:40 pm    Post subject: Reply with quote

cokehabit wrote:
wswartzendruber wrote:
So what C library are we trying this with?
avx wants dietlibc, most are ok with dietlibc or uClibc. I dont think curie is full-featured enough (from what magnus tells me).

That does raise a question, with all these embedded C libraries, are they ideal for the job and complete enough?

I think we should target a single C library and focus our efforts on it alone.

EDIT: And what are we using to replace Make and all them?
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

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

wswartzendruber wrote:
cokehabit wrote:
wswartzendruber wrote:
So what C library are we trying this with?
avx wants dietlibc, most are ok with dietlibc or uClibc. I dont think curie is full-featured enough (from what magnus tells me).

That does raise a question, with all these embedded C libraries, are they ideal for the job and complete enough?

I think we should target a single C library and focus our efforts on it alone.

EDIT: And what are we using to replace Make and all them?
leave them? Bsd ones?

No-one is saying "no GNU", just less bloat and less reliance on GNU
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
djdunn
l33t
l33t


Joined: 26 Dec 2004
Posts: 810

PostPosted: Mon Apr 12, 2010 11:21 pm    Post subject: Reply with quote

Use the best available imo

if microsoft made the best free libraries in the world i would use them but they dont so i dont
_________________
“Music is a moral law. It gives a soul to the Universe, wings to the mind, flight to the imagination, a charm to sadness, gaiety and life to everything. It is the essence of order, and leads to all that is good and just and beautiful.”

― Plato
Back to top
View user's profile Send private message
syntropy
n00b
n00b


Joined: 10 Oct 2009
Posts: 8
Location: Western Canada

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

/me should really get around to actually pushing some code to his new userland libraries/tools.
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

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

syntropy wrote:
/me should really get around to actually pushing some code to his new userland libraries/tools.
well bloody start putting a system together! :P
_________________
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: Tue Apr 13, 2010 1:52 am    Post subject: Reply with quote

Grrr... You can't compile C and C++ to bitcode! Oh well, like it matters.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Apr 13, 2010 2:38 am    Post subject: Reply with quote

Bitcode?

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


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

PostPosted: Tue Apr 13, 2010 2:59 am    Post subject: Reply with quote

John R. Graham wrote:
Bitcode?

- John

Bitcode is to LLVM as bytecode is to Java.
Back to top
View user's profile Send private message
swirling_vortex
n00b
n00b


Joined: 12 Jun 2007
Posts: 24

PostPosted: Tue Apr 13, 2010 5:16 am    Post subject: Reply with quote

Hmm, maybe the Gentoo/FreeBSD port has some use after all...
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


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

PostPosted: Tue Apr 13, 2010 5:17 am    Post subject: Reply with quote

It would be neat if LLVM-GCC was exposed in gcc-config.
Back to top
View user's profile Send private message
tylerwylie
Guru
Guru


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

PostPosted: Tue Apr 13, 2010 5:33 am    Post subject: Reply with quote

http://llvm.org/demo/index.cgi
Cool little web demo.
Back to top
View user's profile Send private message
Bill Cosby
Guru
Guru


Joined: 22 Jan 2005
Posts: 430
Location: Aachen, Germany

PostPosted: Tue Apr 13, 2010 8:23 am    Post subject: Reply with quote

cokehabit wrote:
That does raise a question, with all these embedded C libraries, are they ideal for the job and complete enough?

uClibC is pretty complete, it lack fts.h though, which is a bummer.
Google's Bionic libc could work as well: http://discuz-android.blogspot.com/2008/10/google-android-native-libc-bionic.html http://android.git.kernel.org/?p=platform/bionic.git;a=summary
_________________
The Creature from Jekyll Island.
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Tue Apr 13, 2010 10:36 am    Post subject: Reply with quote

Mh, I'd like to compile everything in portage except @system with ICC/glibc for starters, someone got an idea how to best do this? chroot? VM? System would be a Core i7 with 16GB and 2TB free space as of now.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Tue Apr 13, 2010 10:44 am    Post subject: Reply with quote

It'd be nice to have eglibc as an option.
Back to top
View user's profile Send private message
pigeon768
l33t
l33t


Joined: 02 Jan 2006
Posts: 683

PostPosted: Tue Apr 13, 2010 1:39 pm    Post subject: Reply with quote

wswartzendruber wrote:
It would be neat if LLVM-GCC was exposed in gcc-config.
IIRC llvm-gcc is not well supported. Most of the development effort is behind clang.

When gcc 4.5 is released, dragonegg might be worth looking into.

I don't think replacing gcc with llvm will make systems faster or more stable. Replacing glibc with something like uclibc would, but that would break all sorts of shit. There is no drop in replacement for glibc.
Back to top
View user's profile Send private message
Dr.Willy
Guru
Guru


Joined: 15 Jul 2007
Posts: 547
Location: NRW, Germany

PostPosted: Tue Apr 13, 2010 1:58 pm    Post subject: Reply with quote

avx wrote:
I'd love to kick out gcc, I'm actually quite happy with ICC (for what it compiles, that is) and since LLVM seems promising, I'd go for it.

Seconded.
I have clang installed and use it wo build my (few) C programs. I'd be in for testing compilation of my system with clang.

avx wrote:
On the other hand, I don't think that'll ever happen on Gentoo. I remember, how I requested to drop BASH about three years ago and the answers only been "no want do, to much work".

Well, going from bash to sh would be a step forward imo.

cokehabit wrote:
heh, Gentoo2 or Gentootoo

Gentwo would get my vote :)
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Tue Apr 13, 2010 6:28 pm    Post subject: Reply with quote

Dr.Willy wrote:
cokehabit wrote:
heh, Gentoo2 or Gentootoo

Gentwo would get my vote :)
It would have to be Gentootwo then
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
aidanjt
Veteran
Veteran


Joined: 20 Feb 2005
Posts: 1118
Location: Rep. of Ireland

PostPosted: Tue Apr 13, 2010 6:53 pm    Post subject: Reply with quote

cokehabit wrote:
I dont think curie is full-featured enough (from what magnus tells me).

Curie isn't at all intended to be a libc replacement.

It'd probably be better to start a new one from scratch, and just do it properly.
_________________
juniper wrote:
you experience political reality dilation when travelling at american political speeds. it's in einstein's formulas. it's not their fault.
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


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

PostPosted: Tue Apr 13, 2010 7:16 pm    Post subject: Reply with quote

Am I wrong to say that if glibc isn't portable then it's broken?
Back to top
View user's profile Send private message
syntropy
n00b
n00b


Joined: 10 Oct 2009
Posts: 8
Location: Western Canada

PostPosted: Tue Apr 13, 2010 9:15 pm    Post subject: Reply with quote

AidanJT wrote:
cokehabit wrote:
I dont think curie is full-featured enough (from what magnus tells me).

Curie isn't at all intended to be a libc replacement.

It'd probably be better to start a new one from scratch, and just do it properly.


That's the trick to it all though. (Emphasis mine.)

wswartzendruber wrote:
Am I wrong to say that if glibc isn't portable then it's broken?

It is portable, as long as you define portable to mean, "I can infect your system with my crap without any extra work."
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Tue Apr 13, 2010 10:16 pm    Post subject: Reply with quote

AidanJT wrote:
cokehabit wrote:
I dont think curie is full-featured enough (from what magnus tells me).

Curie isn't at all intended to be a libc replacement.

It'd probably be better to start a new one from scratch, and just do it properly.
that's kind of what curie is doing though. but yeah it'd be quite the bitch to port all the current tools to it, since it's not only not similar in interface to posix, there's not a single function call that would be the same... which is good since it means the backup implementation just uses posix, meaning porting is far less of an issue.

there's so much wrong with the ansi libcs and posix though, it's surprising it's still that "popular". just thinking of all the *printf() shit makes me wanna stab someone.
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


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

PostPosted: Tue Apr 13, 2010 11:49 pm    Post subject: Reply with quote

syntropy wrote:
AidanJT wrote:
cokehabit wrote:
I dont think curie is full-featured enough (from what magnus tells me).

Curie isn't at all intended to be a libc replacement.

It'd probably be better to start a new one from scratch, and just do it properly.


That's the trick to it all though. (Emphasis mine.)

wswartzendruber wrote:
Am I wrong to say that if glibc isn't portable then it's broken?

It is portable, as long as you define portable to mean, "I can infect your system with my crap without any extra work."

What I was trying to says is this: If glibc doesn't follow the ANSI standards, isn't it broken?
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Wed Apr 14, 2010 1:03 am    Post subject: Reply with quote

2/3 support is quite high
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
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 Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 4 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