X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_BG,TW_GC,TW_JC,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <1281990025.7012.82.camel@YAAKOV04> References: <1281990025 DOT 7012 DOT 82 DOT camel AT YAAKOV04> Date: Wed, 25 Aug 2010 16:20:10 +0200 Message-ID: Subject: Re: gcc-4.5 notes From: Reini Urban To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi Dave, Aside from Yaakov's notes I have nothing to fix. Just to add that it is working fine for me. I've rebuilt some of my perls with extensive testsuites and everything so far was fine. Yaakov's tests are obviously better than mine. May I ask when can we expect gcc-4.5.0 going stable? Because I want the pending perl-5.10.1-4 update which changes cc from gcc to gcc-4 and fixes some more minor stuff to be done with the new gcc-4.5.x. But if it's more than one week I'll revert to the old compiler. 2010/8/16 Yaakov (Cygwin/X): > Dave, > Several notes about gcc-4.5.0: > > 1) I'm using a new FIONREAD patch for Classpath which solves several > issues. =A0Matching patch for gcc-4.5 attached. > > 2) fix-libtool-scripts-for-latest-gcc-runtimes.sh doesn't actually do > anything; 's|echo sed|sed|g' fixes that. > > 3) libgnat import libs are missing: > > $ gnatmake hello.adb -bargs -shared > gcc -c hello.adb > gnatbind -shared -x hello.ali > gnatlink hello.ali -shared-libgcc > /usr/lib/gcc/i686-pc-cygwin/4.5.0/../../../../i686-pc-cygwin/bin/ld: > cannot find -lgnat-4.5 > collect2: ld returned 1 exit status > gnatlink: error when calling /usr/bin/gcc.exe > gnatmake: *** link failed. > > Looking at gcc/ada/gcc-interface/Makefile.in, it looks like there is > supposed to be a adalib/libgnat-4.5.dll.a symlink, but it's not quite > right. =A0Patch for 4.5.1 attached. > > 4) After creating said symlink, the resulting binary outputs "Hello, > world!" but does not exit, and requires kill -f to terminate. =A0The same > code linked statically (IOW w/o "-bargs -shared") runs and exits > correctly. > > 5) Several -4-suffixed programs have no unversioned alternatives; this > includes: aot-compile, gccbug, jcf-dump, rebuild-gcj-db. =A0(Of course, if > we drop gcc3, or at least its alternatives, then gcc4 can be > unversioned, making this point moot.) > > 6) Are the gcj tools working? =A0If not, perhaps they should just be > dropped until they get figured out. =A0An alternative would be for me to > ITP my Classpath-based stack. > > 7) jni.h and jni_md.h should probably be shipped with gcc4-java instead > of gcc4-core. > > 8) It would be helpful if gcc4-core would provide a libffi.pc pkg-config > file, since for us this is *the* libffi. --=20 Reini Urban http://phpwiki.org/=A0 =A0 =A0 =A0 =A0=A0 http://murbreak.at/ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple