GCC on OpenCSW

Dagobert Michelsen dam at opencsw.org
Mon Dec 5 09:22:50 CET 2016


Hi Methieu,

Am 28.11.2016 um 18:22 schrieb ROPERT Mathieu <Mathieu.ROPERT at murex.com>:
> I see in your logs that CC_FOR_BUILD and CXX_FOR_BUILD differ (explicit path to gcc 5.2 vs implicit "g++").
> Could that resolve to different versions of GCC?

I’ll have a look when I have some time.

> In my case I used a locally compiled gcc 4.9.2 as a bootstrap for gcc 6.2 and it worked fine.
> I used binutils gas for assembly but kept Solaris's ld as linker as per GCC's recommendation.
> The command line was something like this: configure --with-gnu-as --with-as=/path/to/binutils/bin/as --without-gnu-ld --with-ld=/usr/ccs/bin/ld
> 
> As for becoming a maintainer, what does it require exactly?

Mainly that you are capable of spending some time on maintaining the package.
It needs to be build, probably patched, the patches pushed to upstream and
respond to bugs as needed. This will be best for packages you use yourself
and that you use in production.


Best regards

  — Dago

> 
> Regards,
> Mathieu
> 
> -----Original Message-----
> From: Dagobert Michelsen [mailto:dam at opencsw.org]
> Sent: lundi 28 novembre 2016 18:02
> To: ROPERT Mathieu <Mathieu.ROPERT at murex.com>
> Cc: buildfarm <buildfarm at lists.opencsw.org>
> Subject: Re: GCC on OpenCSW
> 
> Hi Mathieu,
> 
> Am 28.11.2016 um 14:19 schrieb ROPERT Mathieu <Mathieu.ROPERT at murex.com>:
>> Hello Dagobert,
>> 
>> First, sorry about the direct email but I couldn’t manage to contact you through the interface on opencsw.org (something about a missing captcha?).
>> 
>> Anyway, I am currently studying the use of GCC on Solaris and I’ve noticed than both GCC 4.9 and GCC 5 packages are still in “unstable” stage.
>> Could you tell me if there are plans to move to stable in the future and if there’s something we can do to help.
> 
> Ah, ok, now I see. Regarding the catalogs: we are just not having enough maintainers to properly track a „stable“ release and only use the automatic push. If you are using the packages at your company please consider joining the project and maintain a couple of packages.
> 
> You may want to have a look at my GCC 5.3.0 in experimental:
>  http://buildfarm.opencsw.org/experimental.html#gcc5
> 
> For GCC 6.2.0 I get this error for Solaris 10 x86:
> 
>> gmake "DESTDIR=" "RPATH_ENVVAR=LD_LIBRARY_PATH"
>> "TARGET_SUBDIR=i386-pc-solaris2.10" "bindir=/opt/csw/bin"
>> "datadir=/opt/csw/share" "exec_prefix=/opt/csw"
>> "includedir=/opt/csw/include" "datarootdir=/opt/csw/share"
>> "docdir=/opt/csw/share/doc/" "infodir=/opt/csw/share/info"
>> "pdfdir=/opt/csw/share/doc/" "htmldir=/opt/csw/share/doc/"
>> "libdir=/opt/csw/lib" "libexecdir=/opt/csw/libexec" "lispdir="
>> "localstatedir=/var/opt/csw" "mandir=/opt/csw/share/man"
>> "oldincludedir=/usr/include" "prefix=/opt/csw" "sbindir=/opt/csw/sbin"
>> "sharedstatedir=/opt/csw/share" "sysconfdir=/etc/opt/csw"
>> "tooldir=/opt/csw/i386-pc-solaris2.10"
>> "build_tooldir=/opt/csw/i386-pc-solaris2.10"
>> "target_alias=i386-pc-solaris2.10" "AWK=gawk" "BISON=bison"
>> "CC_FOR_BUILD=/opt/csw/bin/gcc-5.2" "CFLAGS_FOR_BUILD=-g -O2"
>> "CXX_FOR_BUILD=g++ -std=gnu++98" "EXPECT=expect" "FLEX=flex"
>> "INSTALL=/opt/csw/bin/ginstall -c" "INSTALL_DATA=/opt/csw/bin/ginstall
>> -c -m 644" "INSTALL_PROGRAM=/opt/csw/bin/ginstall -c"
>> "INSTALL_SCRIPT=/opt/csw/bin/ginstall -c" "LDFLAGS_FOR_BUILD="
>> "LEX=flex" "M4=gm4" "MAKE=gmake" "RUNTEST=runtest" "RUNTESTFLAGS="
>> "SED=/opt/csw/bin/gsed" "SHELL=/bin/bash" "YACC=bison -y" "`echo
>> 'ADAFLAGS=' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "ADA_CFLAGS="
>> "AR_FLAGS=rc" "`echo 'BOOT_ADAFLAGS=-gnatpg' | sed -e
>> s'/[^=][^=]*=$/XFOO=/'`" "BOOT_CFLAGS=-g -O2" "BOOT_LDFLAGS="
>> "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "LDFLAGS=" "LIBCFLAGS=-g -O2"
>> "LIBCXXFLAGS=-g -O2 -fno-implicit-templates"
>> "STAGE1_CHECKING=--enable-checking=yes,types"
>> "STAGE1_LANGUAGES=c,ada,c++,lto" "GNATBIND=gnatbind"
>> "GNATMAKE=gnatmake"
>> "AR_FOR_TARGET=/opt/csw/i386-pc-solaris2.10/bin/ar"
>> "AS_FOR_TARGET=/opt/csw/i386-pc-solaris2.10/bin/as"
>> "CC_FOR_TARGET=/home/dam/mgar/pkg/gcc6/trunk/work/solaris10-i386/build
>> -isa-pentium_pro/objdir/./gcc/xgcc
>> -B/home/dam/mgar/pkg/gcc6/trunk/work/solaris10-i386/build-isa-pentium_
>> pro/objdir/./gcc/" "CFLAGS_FOR_TARGET=-g -O2" "CPPFLAGS_FOR_TARGET="
>> "CXXFLAGS_FOR_TARGET=-g -O2"
>> "DLLTOOL_FOR_TARGET=/opt/csw/i386-pc-solaris2.10/bin/dlltool"
>> "FLAGS_FOR_TARGET=-B/opt/csw/i386-pc-solaris2.10/bin/
>> -B/opt/csw/i386-pc-solaris2.10/lib/ -isystem
>> /opt/csw/i386-pc-solaris2.10/include -isystem
>> /opt/csw/i386-pc-solaris2.10/sys-include"
>> "GCJ_FOR_TARGET=/home/dam/mgar/pkg/gcc6/trunk/work/solaris10-i386/buil
>> d-isa-pentium_pro/objdir/./gcc/gcj
>> -B/home/dam/mgar/pkg/gcc6/trunk/work/solaris10-i386/build-isa-pentium_
>> pro/objdir/./gcc/"
>> "GFORTRAN_FOR_TARGET=/home/dam/mgar/pkg/gcc6/trunk/work/solaris10-i386
>> /build-isa-pentium_pro/objdir/./gcc/gfortran
>> -B/home/dam/mgar/pkg/gcc6/trunk/work/solaris10-i386/build-isa-pentium_
>> pro/objdir/./gcc/"
>> "GOC_FOR_TARGET=/home/dam/mgar/pkg/gcc6/trunk/work/solaris10-i386/buil
>> d-isa-pentium_pro/objdir/./gcc/gccgo
>> -B/home/dam/mgar/pkg/gcc6/trunk/work/solaris10-i386/build-isa-pentium_
>> pro/objdir/./gcc/" "GOCFLAGS_FOR_TARGET=-O2 -g"
>> "LD_FOR_TARGET=/opt/csw/i386-pc-solaris2.10/bin/ld"
>> "LIPO_FOR_TARGET=lipo" "LDFLAGS_FOR_TARGET=" "LIBCFLAGS_FOR_TARGET=-g
>> -O2" "LIBCXXFLAGS_FOR_TARGET=-g -O2 -fno-implicit-templates"
>> "NM_FOR_TARGET=/opt/csw/i386-pc-solaris2.10/bin/nm"
>> "OBJDUMP_FOR_TARGET=/opt/csw/i386-pc-solaris2.10/bin/objdump"
>> "OBJCOPY_FOR_TARGET=/opt/csw/i386-pc-solaris2.10/bin/objcopy"
>> "RANLIB_FOR_TARGET=/opt/csw/i386-pc-solaris2.10/bin/ranlib"
>> "READELF_FOR_TARGET=/opt/csw/bin/greadelf"
>> "STRIP_FOR_TARGET=/opt/csw/i386-pc-solaris2.10/bin/strip"
>> "WINDRES_FOR_TARGET=windres" "WINDMC_FOR_TARGET=windmc"
>> "BUILD_CONFIG=" "`echo 'LANGUAGES=' | sed -e s'/[^=][^=]*=$/XFOO=/'`"
>> "LEAN=false" "STAGE1_CFLAGS=-g" "STAGE1_CXXFLAGS=-g" "STAGE1_TFLAGS="
>> "STAGE2_CFLAGS=-g -O2" "STAGE2_CXXFLAGS=-g -O2" "STAGE2_TFLAGS="
>> "STAGE3_CFLAGS=-g -O2" "STAGE3_CXXFLAGS=-g -O2" "STAGE3_TFLAGS="
>> "STAGE4_CFLAGS=-g -O2" "STAGE4_CXXFLAGS=-g -O2" "STAGE4_TFLAGS="
>> "STAGEprofile_CFLAGS=-g -O2 -fprofile-generate"
>> "STAGEprofile_CXXFLAGS=-g -O2 -fprofile-generate"
>> "STAGEprofile_TFLAGS=" "STAGEfeedback_CFLAGS=-g -O2 -fprofile-use"
>> "STAGEfeedback_CXXFLAGS=-g -O2 -fprofile-use" "STAGEfeedback_TFLAGS="
>> "CXX_FOR_TARGET= $r/./gcc/xg++ -B$r/./gcc/ -nostdinc++ `if test -f
>> $r/i386-pc-solaris2.10/libstdc++-v3/scripts/testsuite_flags; then
>> /bin/bash $r/i386-pc-solaris2.10/libstdc++-v3/scripts/testsuite_flags
>> --build-includes; else echo -funconfigured-libstdc++-v3 ; fi`
>> -L$r/i386-pc-solaris2.10/libstdc++-v3/src
>> -L$r/i386-pc-solaris2.10/libstdc++-v3/src/.libs
>> -L$r/i386-pc-solaris2.10/libstdc++-v3/libsupc++/.libs" "TFLAGS="
>> "CONFIG_SHELL=/bin/bash" "MAKEINFO=makeinfo --split-size=5000000
>> --split-size=5000000"  compare
>> gmake[2]: Entering directory '/home/dam/mgar/pkg/gcc6/trunk/work/solaris10-i386/build-isa-pentium_pro/objdir'
>> gmake[3]: Entering directory '/home/dam/mgar/pkg/gcc6/trunk/work/solaris10-i386/build-isa-pentium_pro/objdir'
>> rm -f stage_current
>> gmake[3]: Leaving directory '/home/dam/mgar/pkg/gcc6/trunk/work/solaris10-i386/build-isa-pentium_pro/objdir'
>> Comparing stages 2 and 3
>> warning: gcc/cc1obj-checksum.o differs
>> warning: gcc/cc1plus-checksum.o differs
>> warning: gcc/cc1-checksum.o differs
>> Bootstrap comparison failure!
>> gcc/tree-sra.o differs
>> gcc/tree-cfg.o differs
>> gcc/tree-eh.o differs
>> gmake[2]: *** [Makefile:23853: compare] Error 1
>> gmake[2]: Leaving directory
>> '/home/dam/mgar/pkg/gcc6/trunk/work/solaris10-i386/build-isa-pentium_p
>> ro/objdir‘
> 
> 
> Best regards
> 
>  — Dago
> 
> 
> --
> "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896
> 
> *******************************
> 
> This e-mail contains information for the intended recipient only. It may contain proprietary material or confidential information. If you are not the intended recipient you are not authorised to distribute, copy or use this e-mail or any attachment to it. Murex cannot guarantee that it is virus free and accepts no responsibility for any loss or damage arising from its use. If you have received this e-mail in error please notify immediately the sender and delete the original email received, any attachments and all copies from your system.

--
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.opencsw.org/pipermail/buildfarm/attachments/20161205/af41e1b5/attachment.asc>


More information about the buildfarm mailing list