On Fri, Jun 12, 2009 at 8:15 PM, ken mays<[email protected]> 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 [email protected]
