DaemonForums  

Go Back   DaemonForums > DaemonForums.org > News

News News regarding BSD and related.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 23rd October 2013
DaBSD DaBSD is offline
Port Guard
 
Join Date: Jan 2013
Posts: 44
Thanked 0 Times in 0 Posts
Default NetBSD Is Soon Importing LLVM's Clang Compiler

Following in the ways of FreeBSD, the NetBSD operating system is soon going to be importing LLVM and the Clang C/C++ compiler for use on their platform.

NetBSD has long been wanting to move to LLVM/Clang and it appears they're finally close. Among the reasons that the BSD distributions have been quick to promote Clang to being a first-rate compiler include the more liberal BSD-like license over GCC being GPLv3, Clang has faster build times than GCC while using less memory, Clang has great error reporting and diagnostic abilities, and there's a whole host of interesting features from LLDB to other unique projects based upon LLVM. The LLVM Clang compiler performance is also close to that of GCC on x86/x86_64 and ARM except for select situations.

Confirmation of NetBSD soon importing LLVM/Clang came via the LLVM development list with Joerg Sonnenberger of NetBSD suggesting upstream changes for better handling the back-porting of patches in stable release branches.

Posted by Michael Larabel on October 19, 2013

http://www.phoronix.com/scan.php?pag...tem&px=MTQ4OTg
Reply With Quote
  #2   (View Single Post)  
Old 24th October 2013
pawaan pawaan is offline
Port Guard
 
Join Date: Jan 2013
Posts: 36
Thanked 0 Times in 0 Posts
Default

good news
Reply With Quote
  #3   (View Single Post)  
Old 24th October 2013
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,135
Thanked 182 Times in 149 Posts
Default

One of the main gcc issues that this compiler is actually maintained by employees of some large Linux vendors like RedHat. These vendors don't have interest to keep the newer versions running on ancient processors like 680000 or Vax. Nobody is interested in buying a RedHat support contract for a VAX, so why should RedHat sponsor their employees to work on gcc for these fossils?

That is why you see that OpenBSD and NetBSD releases for these hardware platforms are obligated to use a different older version of gcc, than for the more popular architectures like amd64 and i386. The newer gcc versions have dropped support for older architectures.

See for example http://gcc.gnu.org/gcc-4.7/changes.html:
Quote:
The following ports for individual systems on particular architectures have been obsoleted:

IRIX 6.5 (mips-sgi-irix6.5)
MIPS OpenBSD (mips*-*-openbsd*)
Solaris 8 (*-*-solaris2.8). Details can be found in the announcement.
Tru64 UNIX V5.1 (alpha*-dec-osf5.1*)
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #4   (View Single Post)  
Old 24th October 2013
DaBSD DaBSD is offline
Port Guard
 
Join Date: Jan 2013
Posts: 44
Thanked 0 Times in 0 Posts
Default

But LLVM is maintained by people from Apple which is no less a big company than RedHat. Do you mean that Apple, known for its strict hardware policy, will show more care for obscure and legacy architectures? I'm just asking as I don't know much about that Clang thing.
Reply With Quote
  #5   (View Single Post)  
Old 24th October 2013
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: Bronvaux, France
Posts: 107
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by DaBSD View Post
Do you mean that Apple, known for its strict hardware policy, will show more care for obscure and legacy architectures?
Of course !

Red Hat only sells/creates software.
Red Hat can target only the most common hardware, and forgets the other ones.

Apple sells/creates software and hardware.
So, Apple will always show more interest in hardware... of any kind...

And the 68k is not at all obscure for Apple
__________________
In case of emergency
Reply With Quote
  #6   (View Single Post)  
Old 24th October 2013
shep shep is offline
ISO Quartermaster
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 580
Thanked 9 Times in 9 Posts
Default

Quote:
Apple sells/creates software and hardware.
So, Apple will always show more interest in hardware... of any kind...
I would dispute this. Apple largely creates software that is compatible with the hardware they sell.
Reply With Quote
  #7   (View Single Post)  
Old 24th October 2013
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: Bronvaux, France
Posts: 107
Thanked 0 Times in 0 Posts
Default

...I would say : Apple creates software that is compatible with the hardware they COULD sell...

That's what Jobs wanted when he created OS X, an OS compatible with any CPU : PPC, i386, ARM (for iOS), or something else...
__________________
In case of emergency
Reply With Quote
  #8   (View Single Post)  
Old 26th October 2013
Ninguem Ninguem is offline
Shell Scout
 
Join Date: Jun 2011
Posts: 136
Thanked 0 Times in 0 Posts
Default

Underneath the Apple GUI is a system very similar to FreeBSD. They are still running the kernel at 100 hz. Anyway, Kuh-Layng!!!! does show the errors quite well.
__________________
No signature
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
clang/llvm lumiwa FreeBSD General 3 21st February 2013 12:30 AM
LLVM Clang Vs gcc aleunix OpenBSD General 8 22nd February 2012 10:24 AM
LLVM 3.0 requires Clang and DragonEgg J65nko News 0 2nd December 2011 06:55 PM
LLVM milestone reached - Clang compiler self-hosts J65nko News 0 5th February 2010 03:48 PM


All times are GMT. The time now is 07:50 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick