Re: [osol-discuss] GCC 4.4: Can we handle it?!?
The SUNW prefix will be dropped from all packages for future OpenSolaris releases. To be replaced with ORCL or? Sorry, couldn't resist... ;) -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
Just as an update on what happened: The OS 2009.06-b111b repository contains these packages: SUNWbinutils 2.15 SUNWgnu-mp 4.2.4 SUNWmpfr 2.3.2 GCC-dev 4.3.2 What I ended up doing is requesting those packages to be updated to the current released versions to support GCC 4.3.3 and GCC 4.4.x/4.5.x porting efforts for 64-bit based platforms and binaries. This will require resources, at Sun or community-driven, to fix this issue. The current workaround is to obtain the latest GCC binaries for OpenSolaris/Solaris from other ISV resources until the SUNW libs and GCC-dev can be updated to more recent versions. ~ Ken Mays ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
I am using 4.3.3 and 4.4.0 compiled both 32bit and 64bit that I downloaded for http://gcc.gnu.org Same for GMP and MPFR, downloading from the respective open source locations. I have not built binutils Jim /// ken mays wrote: Just as an update on what happened: The OS 2009.06-b111b repository contains these packages: SUNWbinutils 2.15 SUNWgnu-mp 4.2.4 SUNWmpfr 2.3.2 GCC-dev 4.3.2 What I ended up doing is requesting those packages to be updated to the current released versions to support GCC 4.3.3 and GCC 4.4.x/4.5.x porting efforts for 64-bit based platforms and binaries. This will require resources, at Sun or community-driven, to fix this issue. The current workaround is to obtain the latest GCC binaries for OpenSolaris/Solaris from other ISV resources until the SUNW libs and GCC-dev can be updated to more recent versions. ~ Ken Mays ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- / Jim Langston Sun Microsystems, Inc. (513) 702-4741 (Cell) (877) 854-5583 (AccessLine) AIM: jl9594 jim.langs...@sun.com ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
gcc 4.3.2 is available in 2009.06: gcc-dev-4 gcc-432 gcc-runtime-432 Also, binutils 2.19 was integrated into Nevada a few builds ago. It will be in the next release of OpenSolaris. George ken mays wrote: Just as an update on what happened: The OS 2009.06-b111b repository contains these packages: SUNWbinutils 2.15 SUNWgnu-mp 4.2.4 SUNWmpfr 2.3.2 GCC-dev 4.3.2 What I ended up doing is requesting those packages to be updated to the current released versions to support GCC 4.3.3 and GCC 4.4.x/4.5.x porting efforts for 64-bit based platforms and binaries. This will require resources, at Sun or community-driven, to fix this issue. The current workaround is to obtain the latest GCC binaries for OpenSolaris/Solaris from other ISV resources until the SUNW libs and GCC-dev can be updated to more recent versions. ~ Ken Mays ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
--- On Fri, 6/12/09, Moinak Ghosh moin...@belenix.org wrote: From: Moinak Ghosh moin...@belenix.org Subject: Re: [osol-discuss] GCC 4.4: Can we handle it?!? To: ken mays maybird1...@yahoo.com Cc: opensolaris-discuss@opensolaris.org Date: Friday, June 12, 2009, 11:18 AM I have already started using Gcc 4.4.0 to build most of the FOSS stuff for BeleniX sometime back. I looked at your jucr spec file and apart from the 2 patches you should also look at: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40027 and the following diff to fix a bug I encountered during a build: ... Regards, Moinak. Seems we have to update SUNWgnu-mpfr to v2.4.1 in IPS (dev) as well... ~K ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
Glenn Lagasse glenn.laga...@sun.com wrote: The bits from Indiana which may become Solaris.Next did not go through ARC either ;-) *yet*. They *will* go through the ARC process before they are shipped in Solaris.Next. Given the fact that there are _many_ changes to be discussed, this will take a long time. I am interested in the discussion for the security problems introduced by the way pfexec is currently used on Indiana ;-) Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
* Joerg Schilling (joerg.schill...@fokus.fraunhofer.de) wrote: Glenn Lagasse glenn.laga...@sun.com wrote: The bits from Indiana which may become Solaris.Next did not go through ARC either ;-) *yet*. They *will* go through the ARC process before they are shipped in Solaris.Next. Given the fact that there are _many_ changes to be discussed, this will take a long time. Well, I don't know how long it will take. I just know that it's going to happen and sooner rather than later. I am interested in the discussion for the security problems introduced by the way pfexec is currently used on Indiana ;-) And you're waiting for the ARC review to do that? I haven't looked too closely but I'm not generally aware of any security problems introduced by pfexec in OpenSolaris. I'd suggest filing a high priority bug (if there isn't one already) and starting the discussion sooner rather than later (again, if it hasn't been done). Waiting for ARC review seems the wrong time to bring something like that up if you know about a potential issue ahead of time. Cheers, -- Glenn ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
And you're waiting for the ARC review to do that? I haven't looked too closely but I'm not generally aware of any security problems introduced by pfexec in OpenSolaris. By default OpenSolaris gives the default user adminstrator privileges, allowing any program run by that user to execute anything it wants to with root rights (just fork a new process with pfexec ... ...) -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
Marc Glisse wrote: Upgrading GCCfss to 4.4.0 is included in our plans. Hello, I am definitely not a lawyer, but it seems to me that the new GCC runtime library exception adopted in gcc-4.4 was written specifically so that things like gccfss are forbidden unless you opensource the backend with an appropriate license. I passed this info on to the person who handles our legal approvals. Thanks for the heads up on the new license. George Did I misunderstand it, or does your upgrade plan include the opensourcing of part of Sun Studio? That would be really nice... ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
I agree...i think the current approachis very windowsish (Pre-vista) and can only lead to problems. 2009/6/17 Moinak Ghosh moin...@belenix.org On Tue, Jun 16, 2009 at 11:41 PM, Luriey...@gmx.co.uk wrote: And you're waiting for the ARC review to do that? I haven't looked too closely but I'm not generally aware of any security problems introduced by pfexec in OpenSolaris. By default OpenSolaris gives the default user adminstrator privileges, allowing any program run by that user to execute anything it wants to with root rights (just fork a new process with pfexec ... ...) That is how the Caiman Installer sets up the user profile. Maybe the solution is to not grant all admin rights to the user and allow him to assume root role via a password. Regards, Moinak. -- http://www.belenix.org/ http://moinakg.wordpress.com/ ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
Mark Martin storycraf...@gmail.com wrote: I simply meant that Debian's philosophy is that absolutely nothing _not_ free (read: not opensourced) gets intot the distro. That's not This is unfortunately not true. They e.g. publish a fork from my software that has been changed to bne in conflict with the Copyright law. It may be that it's the belief of many people at Debian By the way, there are two ways to integrate into OpenSolaris today: 1) Port and go through ARC, then integrate manually but through the Sun process (sponsorship, etc), then end; GCC doesn't _have to_ go through ARC if it targets /contrib. I'm not endorsing or suggesting that's a good thing, but that's the reality I see. ... And no, OpenSolaris.Org won't migrate to OpenSolaris.net. There's so much more to the community than just Sun's distro -- it won't end when Solaris.Next ships in a more official capacity.. The bits from Indiana which may become Solaris.Next did not go through ARC either ;-) Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
Marc Glisse wrote: Hopefully, this will spark the GCCfss resources to update to GCCfss 4.4.0 as well (see: http://cooltools.sunsource.net/gcc). Upgrading GCCfss to 4.4.0 is included in our plans. George For gccfss and gcc-4.4, there may be legal reasons preventing the mix, so don't hold your breath. Btw, I still believe that in opensolaris we should not consider 4.3.2 and 4.3.3 as 2 different compilers but as two different patches to gcc-4.3. Moving from 4.3.2 to 4.3.3 would be considered a bug fix, not an upgrade. Moving from 4.3 to 4.4 is a real upgrade requiring ARC and everything though. ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
Upgrading GCCfss to 4.4.0 is included in our plans. Hello, I am definitely not a lawyer, but it seems to me that the new GCC runtime library exception adopted in gcc-4.4 was written specifically so that things like gccfss are forbidden unless you opensource the backend with an appropriate license. Did I misunderstand it, or does your upgrade plan include the opensourcing of part of Sun Studio? That would be really nice... -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
Hopefully, this will spark the GCCfss resources to update to GCCfss 4.4.0 as well (see: http://cooltools.sunsource.net/gcc). For gccfss and gcc-4.4, there may be legal reasons preventing the mix, so don't hold your breath. Btw, I still believe that in opensolaris we should not consider 4.3.2 and 4.3.3 as 2 different compilers but as two different patches to gcc-4.3. Moving from 4.3.2 to 4.3.3 would be considered a bug fix, not an upgrade. Moving from 4.3 to 4.4 is a real upgrade requiring ARC and everything though. -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
This part really gets confusing to me. Is the opensolaris/debain endeavor {opensolaris.com} a more focused business alternative /grant money available. Does that mean opensolaris.org will always be a reorganization effort. If solaris opts into supported solaris11 does everything good go to a opensolaris.net foundation or something? -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
john kroll wrote: This part really gets confusing to me. Which part? Context, please! -- Ian. ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
Sorry sir my comment was not specific to GCC 4.4 OpenSolaris and Debian being, as examples, tending towards opposite ends of that spectrum. At the end of the day, this is a lot of hot air over little. -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
On Sun, Jun 14, 2009 at 4:38 PM, john krolljek0...@sbcglobal.net wrote: Sorry sir my comment was not specific to GCC 4.4 OpenSolaris and Debian being, as examples, tending towards opposite ends of that spectrum. At the end of the day, this is a lot of hot air over little. I simply meant that Debian's philosophy is that absolutely nothing _not_ free (read: not opensourced) gets intot the distro. That's not the case with Sun's OpenSolaris (tm) distro, nor of probably any distro currently. One compiler is free; the other, required currently for building the base bits, is not. Debian is absolute in the extreme of 100% free stuff only. OpenSolaris in most, if not all forms, is not built with, nor contains, 100% free. Today, anyway. And if other distro's have solved for /closed then I'll apologize in advance. By the way, there are two ways to integrate into OpenSolaris today: 1) Port and go through ARC, then integrate manually but through the Sun process (sponsorship, etc), then end; 2) Port and go through /contrib, then end; The former gets you into probably most distros. The later, probably just Sun's -- I don't know if any other distros currently (or plan to) take on pkg. And then there's Nexenta :) GCC doesn't _have to_ go through ARC if it targets /contrib. I'm not endorsing or suggesting that's a good thing, but that's the reality I see. And no, OpenSolaris.Org won't migrate to OpenSolaris.net. There's so much more to the community than just Sun's distro -- it won't end when Solaris.Next ships in a more official capacity.. ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
Ian Collins i...@ianshome.com wrote: As Ken says, 4.4.x is where all the gcc effort is going, especially with C++. Shouldn't OpenSolaris be moving with the times? What do you mean with moving with the times? Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
Scott Rotondo scott.roto...@sun.com wrote: You can at least compile ON with gcc 4.x now, though that's a recent development. See CR 6795209. I have been told that you can compile the Linux kernel using Sun Studio since more than a year now but it does not work... Do you know whether the results are working? Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
Hi Ken, V čt, 11. 06. 2009 v 20:57, ken mays píše: Hello, Since developers are getting more involved in using the GCC compiler and especially the GCC 4.4.x compilers, I started wondering why not migrate to GCC 4.4.x sooner than later?? We have more community developers building, testing, and reporting on GCC 4.4.x than before. What is the price of admission for users/developers to enter the gates of GCC 4.4.x ?? Write ARC case, submit webrev, that is the admission I think. Or prepare spec file. I think it will be welcomed a lot :-) Also it would be good to try it with ON and fix all bugs in GCC. Best regards, Milan ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
Regardless, as long as Sun Studio remains closed, it is important that the OpenSolaris community provide a viable, up-to-date, open source option as much as possible. Cheers, -- Shawn Walker Just so everyone knows, this has nothing to do with Sun Studio. This is just to see if we can move forward in the migration to using GCC 4.4.x as the default GCC versus GCC 3.4.x. What are/were the issues involved in doing this and concerns with building things like ON_b116? As of today, I've submitted the modified SPEC file for GCC 4.4.0 and existing patches into JUCR as a work project for IPS packaging. If you can go into JUCR you will see it. I'll spend some time converting it for JUCR's syntax and maybe make some progress with Sun on the effort. Hopefully, this will spark the GCCfss resources to update to GCCfss 4.4.0 as well (see: http://cooltools.sunsource.net/gcc). Note: The idea started when I wanted Phoronix to do their testing benchmark article using GCC 4.4.0 with OpenSolaris 2009.06 versus Fedora 11. We noticed IPS only have GCC 4.3.2 at the time - so I started reviewing what we needed to migrating the Sun GCC packages to GCC 4.4.0. That's it in a nutshell! Time and resource issues withstanding. ~ Ken Mays ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
On Fri, Jun 12, 2009 at 8:15 PM, ken maysmaybird1...@yahoo.com wrote: Regardless, as long as Sun Studio remains closed, it is important that the OpenSolaris community provide a viable, up-to-date, open source option as much as possible. Cheers, -- Shawn Walker Just so everyone knows, this has nothing to do with Sun Studio. This is just to see if we can move forward in the migration to using GCC 4.4.x as the default GCC versus GCC 3.4.x. What are/were the issues involved in doing this and concerns with building things like ON_b116? As of today, I've submitted the modified SPEC file for GCC 4.4.0 and existing patches into JUCR as a work project for IPS packaging. If you can go into JUCR you will see it. I'll spend some time converting it for JUCR's syntax and maybe make some progress with Sun on the effort. Hopefully, this will spark the GCCfss resources to update to GCCfss 4.4.0 as well (see: http://cooltools.sunsource.net/gcc). Note: The idea started when I wanted Phoronix to do their testing benchmark article using GCC 4.4.0 with OpenSolaris 2009.06 versus Fedora 11. We noticed IPS only have GCC 4.3.2 at the time - so I started reviewing what we needed to migrating the Sun GCC packages to GCC 4.4.0. That's it in a nutshell! Time and resource issues withstanding. I have already started using Gcc 4.4.0 to build most of the FOSS stuff for BeleniX sometime back. I looked at your jucr spec file and apart from the 2 patches you should also look at: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40027 and the following diff to fix a bug I encountered during a build: --- /usr/gnu/lib/gcc/i386-pc-solaris2.11/4.4.0/include-fixed/arpa/nameser_compat.h.orig 2009-05-19 21:45:18.170331634 +0530 +++ /usr/gnu/lib/gcc/i386-pc-solaris2.11/4.4.0/include-fixed/arpa/nameser_compat.h 2009-05-19 21:45:53.297976467 +0530 @@ -127,7 +127,7 @@ * which will force your compiles to bomb until you fix * the above macros. */ - error Undefined or invalid BYTE_ORDER; +#error Undefined or invalid BYTE_ORDER; #endif /* Regards, Moinak. -- http://www.belenix.org/ http://moinakg.wordpress.com/ ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
ken mays wrote: Note: The idea started when I wanted Phoronix to do their testing benchmark article using GCC 4.4.0 with OpenSolaris 2009.06 versus Fedora 11. Does your spec file set the default to -m64? A couple of the tests ran slow against Fedora not due to gcc 3.x versus 4.x but instead because of x87 versus amd64 floating point. I have sent mail to Michael and posted comments, but subsequent tests are still built 32 bit. Just upgrading the gcc version may not be enough for Phoronix. ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
--- On Fri, 6/12/09, Milan Jurik milan.ju...@sun.com wrote: From: Milan Jurik milan.ju...@sun.com Subject: Re: [osol-discuss] GCC 4.4: Can we handle it?!? To: ken mays maybird1...@yahoo.com Cc: opensolaris-discuss@opensolaris.org Date: Friday, June 12, 2009, 10:36 AM Hi Ken, V čt, 11. 06. 2009 v 20:57, ken mays píše: Hello, Since developers are getting more involved in using the GCC compiler and especially the GCC 4.4.x compilers, I started wondering why not migrate to GCC 4.4.x sooner than later?? We have more community developers building, testing, and reporting on GCC 4.4.x than before. What is the price of admission for users/developers to enter the gates of GCC 4.4.x ?? Write ARC case, submit webrev, that is the admission I think. Or prepare spec file. I think it will be welcomed a lot :-) Also it would be good to try it with ON and fix all bugs in GCC. Best regards, Milan Thanks, Milan. I submitted an RFE (#9444) for GCC 4.4.x at: http://defect.opensolaris.org/bz/show_bug.cgi?id=9444 and will review the submittal of an ARC case. ~ Ken Mays ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
ken mays wrote: I submitted an RFE (#9444) for GCC 4.4.x at: http://defect.opensolaris.org/bz/show_bug.cgi?id=9444 and will review the submittal of an ARC case. You really want to talk to Stefan Teleman and the folks in tools-compilers about this - if it was easy to do, it would have been done long ago. -- -Alan Coopersmith- alan.coopersm...@sun.com Sun Microsystems, Inc. - X Window System Engineering ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
Alan Coopersmith wrote: ken mays wrote: I submitted an RFE (#9444) for GCC 4.4.x at: http://defect.opensolaris.org/bz/show_bug.cgi?id=9444 and will review the submittal of an ARC case. You really want to talk to Stefan Teleman and the folks in tools-compilers about this - if it was easy to do, it would have been done long ago. Hi, I just saw this thread today. The tools group is actively working on gcc 4.4.0. We are also evaluating whether 4.3.3 offers anything interesting over 4.3.2. If so, we will consider releasing it sooner. As Glenn mentioned earlier, gcc 4.3.2 is available in opensolaris 2009.06. Gcc 3.4.3 is setup as the default compiler since it is still the official build compiler for opensolaris. There is a project underway in opensolaris that will allow users to dynamically select the desired version of a command that offers multiple versions. Once it becomes available, we plan to take advantage of it to provide both the official build compiler while allowing people to also select later versions of gcc as their defaults. Let me know if you have any other questions regarding compilers. Thanks, George ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
--- On Fri, 6/12/09, George Vasick george.vas...@sun.com wrote: From: George Vasick george.vas...@sun.com Subject: Re: [osol-discuss] GCC 4.4: Can we handle it?!? To: Alan Coopersmith alan.coopersm...@sun.com Cc: ken mays maybird1...@yahoo.com, opensolaris-discuss@opensolaris.org Date: Friday, June 12, 2009, 5:21 PM Alan Coopersmith wrote: ken mays wrote: I submitted an RFE (#9444) for GCC 4.4.x at: http://defect.opensolaris.org/bz/show_bug.cgi?id=9444 and will review the submittal of an ARC case. You really want to talk to Stefan Teleman and the folks in tools-compilers about this - if it was easy to do, it would have been done long ago. Hi, I just saw this thread today. The tools group is actively working on gcc 4.4.0. We are also evaluating whether 4.3.3 offers anything interesting over 4.3.2. If so, we will consider releasing it sooner. As Glenn mentioned earlier, gcc 4.3.2 is available in opensolaris 2009.06. Gcc 3.4.3 is setup as the default compiler since it is still the official build compiler for opensolaris. There is a project underway in opensolaris that will allow users to dynamically select the desired version of a command that offers multiple versions. Once it becomes available, we plan to take advantage of it to provide both the official build compiler while allowing people to also select later versions of gcc as their defaults. Let me know if you have any other questions regarding compilers. Thanks, George Thanks, George. I'd hope Sun would migrate to using the GCC 4.4.0 releases. I was reviewing an academia book for a C++ related course specifically requiring students use GCC 4.4.0 for some C++0x programming and some new features in GCC 4.4. The exam we used related to the use of GCC 4.4.0 and Code::Blocks. As C++ books for academia are being updated it would be nice have GCC 4.4.0 in IPS for students using OpenSolaris 2009.06 at this time but required to use GCC/G++ (i.e. this is more teacher exam related). GCC 4.3.2 proved buggy for some FOSS projects so we had the students move to GCC 4.3.3/4.4.0. Some of this related to an issue with GMP/MPFR testing and the GCC testsuite. ~ Ken Mays ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
[osol-discuss] GCC 4.4: Can we handle it?!?
Hello, Since developers are getting more involved in using the GCC compiler and especially the GCC 4.4.x compilers, I started wondering why not migrate to GCC 4.4.x sooner than later?? We have more community developers building, testing, and reporting on GCC 4.4.x than before. What is the price of admission for users/developers to enter the gates of GCC 4.4.x ?? ~ Ken Mays ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
* ken mays (maybird1...@yahoo.com) wrote: Hello, Since developers are getting more involved in using the GCC compiler and especially the GCC 4.4.x compilers, I started wondering why not migrate to GCC 4.4.x sooner than later?? We have more community developers building, testing, and reporting on GCC 4.4.x than before. What is the price of admission for users/developers to enter the gates of GCC 4.4.x ?? Well, it's not 4.4.x but 4.3.2 is available in 2009.06. http://pkg.opensolaris.org/release/en/search.shtml?token=gccaction=Search Cheers, -- Glenn ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
Glenn Lagasse wrote: * ken mays (maybird1...@yahoo.com) wrote: Hello, Since developers are getting more involved in using the GCC compiler and especially the GCC 4.4.x compilers, I started wondering why not migrate to GCC 4.4.x sooner than later?? We have more community developers building, testing, and reporting on GCC 4.4.x than before. What is the price of admission for users/developers to enter the gates of GCC 4.4.x ?? Well, it's not 4.4.x but 4.3.2 is available in 2009.06. http://pkg.opensolaris.org/release/en/search.shtml?token=gccaction=Search As Ken says, 4.4.x is where all the gcc effort is going, especially with C++. Shouldn't OpenSolaris be moving with the times? -- Ian. ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
* Ian Collins (i...@ianshome.com) wrote: Glenn Lagasse wrote: * ken mays (maybird1...@yahoo.com) wrote: Hello, Since developers are getting more involved in using the GCC compiler and especially the GCC 4.4.x compilers, I started wondering why not migrate to GCC 4.4.x sooner than later?? We have more community developers building, testing, and reporting on GCC 4.4.x than before. What is the price of admission for users/developers to enter the gates of GCC 4.4.x ?? Well, it's not 4.4.x but 4.3.2 is available in 2009.06. http://pkg.opensolaris.org/release/en/search.shtml?token=gccaction=Search As Ken says, 4.4.x is where all the gcc effort is going, especially with C++. Shouldn't OpenSolaris be moving with the times? Of course it should. And at some point, I'm sure 4.4.x (or whatever the most recent version available is at the time the person doing the integrating sees) will hit the repositories. However, 4.3.2 is a nice upgrade from the 3.4.3 that was in 2008.11 wouldn't you say? Things don't happen at the snap of a finger. Those that want things to move faster are free to step up and contribute to making them go faster :-) For instance, one could use the sourcejucr project to contribute spec files for more recent versions of gcc. Then after testing and approval those built packages could move into the contrib repo and viola, nice and crunchy gcc bits for all to use. Cheers, -- Glenn ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
Glenn Lagasse wrote: * Ian Collins (i...@ianshome.com) wrote: Glenn Lagasse wrote: * ken mays (maybird1...@yahoo.com) wrote: Hello, Since developers are getting more involved in using the GCC compiler and especially the GCC 4.4.x compilers, I started wondering why not migrate to GCC 4.4.x sooner than later?? We have more community developers building, testing, and reporting on GCC 4.4.x than before. What is the price of admission for users/developers to enter the gates of GCC 4.4.x ?? Well, it's not 4.4.x but 4.3.2 is available in 2009.06. http://pkg.opensolaris.org/release/en/search.shtml?token=gccaction=Search As Ken says, 4.4.x is where all the gcc effort is going, especially with C++. Shouldn't OpenSolaris be moving with the times? Of course it should. And at some point, I'm sure 4.4.x (or whatever the most recent version available is at the time the person doing the integrating sees) will hit the repositories. However, 4.3.2 is a nice upgrade from the 3.4.3 that was in 2008.11 wouldn't you say? This is where my confusion rests - SUNWgcc is still 3.4.3, it is through the development package that 4.3.3 gets loaded, are they both supported ? I'm confused because SUNWgcc seems distinctly directed as core part of OS, whereas, development/gcc seems to have a you're on your own feel. Things don't happen at the snap of a finger. Those that want things to move faster are free to step up and contribute to making them go faster :-) For instance, one could use the sourcejucr project to contribute spec files for more recent versions of gcc. Then after testing and approval those built packages could move into the contrib repo and viola, nice and crunchy gcc bits for all to use. Cheers, -- / Jim Langston Sun Microsystems, Inc. (513) 702-4741 (Cell) (877) 854-5583 (AccessLine) AIM: jl9594 jim.langs...@sun.com ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
Jim Langston wrote: This is where my confusion rests - SUNWgcc is still 3.4.3, it is through the development package that 4.3.3 gets loaded, are they both supported ? I'm confused because SUNWgcc seems distinctly directed as core part of OS, whereas, development/gcc seems to have a you're on your own feel. As far as I know, that's more of a naming convention issue than anything. The SUNW prefix will be dropped from all packages for future OpenSolaris releases. Cheers, -- Shawn Walker ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
* Jim Langston (jim.langs...@sun.com) wrote: Glenn Lagasse wrote: * Ian Collins (i...@ianshome.com) wrote: Glenn Lagasse wrote: * ken mays (maybird1...@yahoo.com) wrote: Hello, Since developers are getting more involved in using the GCC compiler and especially the GCC 4.4.x compilers, I started wondering why not migrate to GCC 4.4.x sooner than later?? We have more community developers building, testing, and reporting on GCC 4.4.x than before. What is the price of admission for users/developers to enter the gates of GCC 4.4.x ?? Well, it's not 4.4.x but 4.3.2 is available in 2009.06. http://pkg.opensolaris.org/release/en/search.shtml?token=gccaction=Search As Ken says, 4.4.x is where all the gcc effort is going, especially with C++. Shouldn't OpenSolaris be moving with the times? Of course it should. And at some point, I'm sure 4.4.x (or whatever the most recent version available is at the time the person doing the integrating sees) will hit the repositories. However, 4.3.2 is a nice upgrade from the 3.4.3 that was in 2008.11 wouldn't you say? This is where my confusion rests - SUNWgcc is still 3.4.3, it is through the development package that 4.3.3 gets loaded, are they both supported ? I'm confused because SUNWgcc seems distinctly directed as core part of OS, whereas, development/gcc seems to have a you're on your own feel. I can't speak definitively about this, but my best guess is that SUNWgcc is still 3.4.3 because the ON consolidation hasn't qualified later builds of GCC for building ON. And so, the supported method for compiling code using GCC in ON is to use 3.4.3 until such time as someone does the work to update ON to build using later versions. Which I'd imagine will have to happen at some point. And of course, users/developers of OpenSolaris want something quite a bit newer (understandably) than 3.4.3 and so 4.3.2 was included in the repositories. That's my take on it at least. I don't think the inclusion of both necessarily indicates one is 'more blessed' than the other. I think they each have their place. If you want to build the ON consolidation, you have to use 3.4.3 since that's what is currently supported. If you want to build other things that don't state a GCC version requirement, then use 4.3.2. Cheers, -- Glenn ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
* Shawn Walker (swal...@opensolaris.org) wrote: Jim Langston wrote: This is where my confusion rests - SUNWgcc is still 3.4.3, it is through the development package that 4.3.3 gets loaded, are they both supported ? I'm confused because SUNWgcc seems distinctly directed as core part of OS, whereas, development/gcc seems to have a you're on your own feel. As far as I know, that's more of a naming convention issue than anything. The SUNW prefix will be dropped from all packages for future OpenSolaris releases. As I stated in my reply to Jim, I think it's a bit more than that (ON requires 3.4.3 currently). Until the ON consolidation (for starters) qualifies later builds of GCC, 3.4.3 has to stick around. Cheers, -- Glenn ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
Glenn Lagasse wrote: * Jim Langston (jim.langs...@sun.com) wrote: Glenn Lagasse wrote: * Ian Collins (i...@ianshome.com) wrote: Glenn Lagasse wrote: * ken mays (maybird1...@yahoo.com) wrote: Hello, Since developers are getting more involved in using the GCC compiler and especially the GCC 4.4.x compilers, I started wondering why not migrate to GCC 4.4.x sooner than later?? We have more community developers building, testing, and reporting on GCC 4.4.x than before. What is the price of admission for users/developers to enter the gates of GCC 4.4.x ?? Well, it's not 4.4.x but 4.3.2 is available in 2009.06. http://pkg.opensolaris.org/release/en/search.shtml?token=gccaction=Search As Ken says, 4.4.x is where all the gcc effort is going, especially with C++. Shouldn't OpenSolaris be moving with the times? Of course it should. And at some point, I'm sure 4.4.x (or whatever the most recent version available is at the time the person doing the integrating sees) will hit the repositories. However, 4.3.2 is a nice upgrade from the 3.4.3 that was in 2008.11 wouldn't you say? This is where my confusion rests - SUNWgcc is still 3.4.3, it is through the development package that 4.3.3 gets loaded, are they both supported ? I'm confused because SUNWgcc seems distinctly directed as core part of OS, whereas, development/gcc seems to have a you're on your own feel. I can't speak definitively about this, but my best guess is that SUNWgcc is still 3.4.3 because the ON consolidation hasn't qualified later builds of GCC for building ON. And so, the supported method for compiling code using GCC in ON is to use 3.4.3 until such time as someone does the work to update ON to build using later versions. Which I'd imagine will have to happen at some point. Spot on -- http://mail.opensolaris.org/pipermail/tools-discuss/2009-June/004652.html ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
Glenn Lagasse wrote: * Shawn Walker (swal...@opensolaris.org) wrote: Jim Langston wrote: This is where my confusion rests - SUNWgcc is still 3.4.3, it is through the development package that 4.3.3 gets loaded, are they both supported ? I'm confused because SUNWgcc seems distinctly directed as core part of OS, whereas, development/gcc seems to have a you're on your own feel. As far as I know, that's more of a naming convention issue than anything. The SUNW prefix will be dropped from all packages for future OpenSolaris releases. As I stated in my reply to Jim, I think it's a bit more than that (ON requires 3.4.3 currently). Until the ON consolidation (for starters) qualifies later builds of GCC, 3.4.3 has to stick around. Right. I was responding to the naming aspect, because there seemed to be an implication that the name of it was somehow determining it's blessedness :) Cheers, -- Shawn Walker ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
* Mark Martin (storycraf...@gmail.com) wrote: I can't speak definitively about this, but my best guess is that SUNWgcc is still 3.4.3 because the ON consolidation hasn't qualified later builds of GCC for building ON. And so, the supported method for compiling code using GCC in ON is to use 3.4.3 until such time as someone does the work to update ON to build using later versions. Which I'd imagine will have to happen at some point. Spot on -- http://mail.opensolaris.org/pipermail/tools-discuss/2009-June/004652.html Cool! Glad to see it's in the works. Good luck and I can't wait to see your result :-) Cheers, -- Glenn ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
Glenn Lagasse wrote: I can't speak definitively about this, but my best guess is that SUNWgcc is still 3.4.3 because the ON consolidation hasn't qualified later builds of GCC for building ON. And so, the supported method for compiling code using GCC in ON is to use 3.4.3 until such time as someone does the work to update ON to build using later versions. Which I'd imagine will have to happen at some point. You can at least compile ON with gcc 4.x now, though that's a recent development. See CR 6795209. Scott -- Scott Rotondo Principal Engineer, Solaris Security Technologies President, Trusted Computing Group Phone/FAX: +1 408 850 3655 (Internal x68278) ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
* Scott Rotondo (scott.roto...@sun.com) wrote: Glenn Lagasse wrote: I can't speak definitively about this, but my best guess is that SUNWgcc is still 3.4.3 because the ON consolidation hasn't qualified later builds of GCC for building ON. And so, the supported method for compiling code using GCC in ON is to use 3.4.3 until such time as someone does the work to update ON to build using later versions. Which I'd imagine will have to happen at some point. You can at least compile ON with gcc 4.x now, though that's a recent development. See CR 6795209. That's awesome! Things are even further along than I thought. Thanks for pointing this out Scott (great job). Cheers, -- Glenn ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
#define developers please i think ppl are using gcc on *solaris because: a) they dont know that suncc exist b) they havent got enough skill to fix gccism b2) there are too many gccism and they are lazy On Thu, Jun 11, 2009 at 9:57 PM, ken maysmaybird1...@yahoo.com wrote: Hello, Since developers are getting more involved in using the GCC compiler and especially the GCC 4.4.x compilers, I started wondering why not migrate to GCC 4.4.x sooner than later?? We have more community developers building, testing, and reporting on GCC 4.4.x than before. What is the price of admission for users/developers to enter the gates of GCC 4.4.x ?? ~ Ken Mays ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Andy http://blog.sartek.net ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
sorry, forgot the c) hardcore opensource/gnu fanboyz On Fri, Jun 12, 2009 at 12:43 AM, Andras Barnaandras.ba...@gmail.com wrote: #define developers please i think ppl are using gcc on *solaris because: a) they dont know that suncc exist b) they havent got enough skill to fix gccism b2) there are too many gccism and they are lazy On Thu, Jun 11, 2009 at 9:57 PM, ken maysmaybird1...@yahoo.com wrote: Hello, Since developers are getting more involved in using the GCC compiler and especially the GCC 4.4.x compilers, I started wondering why not migrate to GCC 4.4.x sooner than later?? We have more community developers building, testing, and reporting on GCC 4.4.x than before. What is the price of admission for users/developers to enter the gates of GCC 4.4.x ?? ~ Ken Mays ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Andy http://blog.sartek.net -- Andy http://blog.sartek.net ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
You do a disservice by dismissing anyone who may know about Sun Studio as either lacking skill or being lazy. There are plenty of developers who have written software on other platforms (OS X, Linux, etc.) who have written perfectly good software with gcc-isms, and have users (like us) appealing to them to port it over to Solaris. Having not-up-to-date matching compilers only makes Solaris look bad, and gives the developers an excuse for not porting their software. cheers, steve Andras Barna wrote: #define developers please i think ppl are using gcc on *solaris because: a) they dont know that suncc exist b) they havent got enough skill to fix gccism b2) there are too many gccism and they are lazy On Thu, Jun 11, 2009 at 9:57 PM, ken maysmaybird1...@yahoo.com wrote: Hello, Since developers are getting more involved in using the GCC compiler and especially the GCC 4.4.x compilers, I started wondering why not migrate to GCC 4.4.x sooner than later?? We have more community developers building, testing, and reporting on GCC 4.4.x than before. What is the price of admission for users/developers to enter the gates of GCC 4.4.x ?? ~ Ken Mays ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- stephen lau | ste...@opensolaris.org | www.whacked.net ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
the discussion is not about having or not having gcc *in* solaris. gcc3 as well as gcc4 is available in opensolaris 2009.06 On Fri, Jun 12, 2009 at 12:49 AM, Stephen Lauste...@opensolaris.org wrote: You do a disservice by dismissing anyone who may know about Sun Studio as either lacking skill or being lazy. There are plenty of developers who have written software on other platforms (OS X, Linux, etc.) who have written perfectly good software with gcc-isms, and have users (like us) appealing to them to port it over to Solaris. Having not-up-to-date matching compilers only makes Solaris look bad, and gives the developers an excuse for not porting their software. cheers, steve Andras Barna wrote: #define developers please i think ppl are using gcc on *solaris because: a) they dont know that suncc exist b) they havent got enough skill to fix gccism b2) there are too many gccism and they are lazy On Thu, Jun 11, 2009 at 9:57 PM, ken maysmaybird1...@yahoo.com wrote: Hello, Since developers are getting more involved in using the GCC compiler and especially the GCC 4.4.x compilers, I started wondering why not migrate to GCC 4.4.x sooner than later?? We have more community developers building, testing, and reporting on GCC 4.4.x than before. What is the price of admission for users/developers to enter the gates of GCC 4.4.x ?? ~ Ken Mays ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- stephen lau | ste...@opensolaris.org | www.whacked.net -- Andy http://blog.sartek.net ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
Stephen Lau wrote: You do a disservice by dismissing anyone who may know about Sun Studio as either lacking skill or being lazy. There are plenty of developers who have written software on other platforms (OS X, Linux, etc.) who have written perfectly good software with gcc-isms, and have users (like us) appealing to them to port it over to Solaris. Having not-up-to-date matching compilers only makes Solaris look bad, and gives the developers an excuse for not porting their software. I have to agree with Stephen. While I don't believe developers should use gccisms (because I think portability and adhering to language standards is more important), sometimes there is no viable alternative or you are targeting a specific platform and it doesn't matter. I also believe Sun Studio to be a better compiler, in general, and that's after using gcc since 1993 or 1994... Regardless, as long as Sun Studio remains closed, it is important that the OpenSolaris community provide a viable, up-to-date, open source option as much as possible. Cheers, -- Shawn Walker ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
Glenn Lagasse wrote: I can't speak definitively about this, but my best guess is that SUNWgcc is still 3.4.3 because the ON consolidation hasn't qualified later builds of GCC for building ON. And so, the supported method for compiling code using GCC in ON is to use 3.4.3 until such time as someone does the work to update ON to build using later versions. Which I'd imagine will have to happen at some point. You can at least compile ON with gcc 4.x now, though that's a recent development. See CR 6795209. I'm sure this is really it compiles and it seems to run? Or was a gcc 4.4 compiled ON send to PIT? Casper ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
Shawn Walker wrote: Stephen Lau wrote: You do a disservice by dismissing anyone who may know about Sun Studio as either lacking skill or being lazy. There are plenty of developers who have written software on other platforms (OS X, Linux, etc.) who have written perfectly good software with gcc-isms, and have users (like us) appealing to them to port it over to Solaris. Having not-up-to-date matching compilers only makes Solaris look bad, and gives the developers an excuse for not porting their software. I have to agree with Stephen. While I don't believe developers should use gccisms (because I think portability and adhering to language standards is more important), sometimes there is no viable alternative or you are targeting a specific platform and it doesn't matter. For certain definitions of language standards... One might be able to argue that gcc (+autoconfig) has become the defacto standard for writing applications on *nix. At least for FOSS. But I digress. I agree with you in principle. And yes, I'm counting Apple. I also believe Sun Studio to be a better compiler, in general, and that's after using gcc since 1993 or 1994... Regardless, as long as Sun Studio remains closed, it is important that the OpenSolaris community provide a viable, up-to-date, open source option as much as possible. Depending on which end of the FOSS spectrum you hang your hat, obviously. :) OpenSolaris and Debian being, as examples, tending towards opposite ends of that spectrum. At the end of the day, this is a lot of hot air over little. Gcc 4.3 is available on The OpenSolaris(tm) today. Someone could package 4.4 tomorrow. It'd be _real easy_ to do if you used 4.3's spec as a start. This is great for app developers. Gcc 4.ish should be able to build ON very shortly based on recent work. This is great for porters and folks who believe strongly in the Open moniker. All along, suncc worked for everything. This is great for everyone. (Well, except porters, but again, I digress). ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GCC 4.4: Can we handle it?!?
casper@sun.com wrote: Glenn Lagasse wrote: I can't speak definitively about this, but my best guess is that SUNWgcc is still 3.4.3 because the ON consolidation hasn't qualified later builds of GCC for building ON. And so, the supported method for compiling code using GCC in ON is to use 3.4.3 until such time as someone does the work to update ON to build using later versions. Which I'd imagine will have to happen at some point. You can at least compile ON with gcc 4.x now, though that's a recent development. See CR 6795209. I'm sure this is really it compiles and it seems to run? Or was a gcc 4.4 compiled ON send to PIT? Casper All I claim is that the ON code compiles cleanly. I'm not certain that the resulting kernel will even boot. This putback was a collection of minor syntax fixes for errors reported by gcc 4.x but not 3.x. I have a snv_115 machine to test that. I'm fine if it BFU's into a warm brick but of course, I'd hope for better. Dennis ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org