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
Shell Scout
 
Join Date: Jan 2013
Location: Russia/Iceland
Posts: 102
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
Fdisk Soldier
 
Join Date: Jan 2013
Posts: 82
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: 4,128
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
Shell Scout
 
Join Date: Jan 2013
Location: Russia/Iceland
Posts: 102
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: France
Posts: 408
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
__________________
ThinkPad W500 P8700 6GB HD3650 - faultry
ThinkStation P700 2x2620v3 32GB 1050ti 3xSSD 1xHDD
Reply With Quote
  #6   (View Single Post)  
Old 24th October 2013
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
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: France
Posts: 408
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...
__________________
ThinkPad W500 P8700 6GB HD3650 - faultry
ThinkStation P700 2x2620v3 32GB 1050ti 3xSSD 1xHDD
Reply With Quote
  #8   (View Single Post)  
Old 26th October 2013
Ninguem Ninguem is offline
Banned
 
Join Date: Jun 2011
Posts: 137
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.
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 04:01 PM.


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