From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29719 invoked by alias); 30 Aug 2010 06:29:06 -0000 Received: (qmail 29702 invoked by uid 22791); 30 Aug 2010 06:29:05 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-qy0-f175.google.com (HELO mail-qy0-f175.google.com) (209.85.216.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 30 Aug 2010 06:29:00 +0000 Received: by qyk8 with SMTP id 8so2889853qyk.20 for ; Sun, 29 Aug 2010 23:28:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.73.131 with SMTP id q3mr1649399qaj.44.1283149738554; Sun, 29 Aug 2010 23:28:58 -0700 (PDT) Received: by 10.229.28.200 with HTTP; Sun, 29 Aug 2010 23:28:58 -0700 (PDT) In-Reply-To: <20100829234708.GA39872@troutmask.apl.washington.edu> References: <1283114926.2376.4.camel@localhost.localdomain> <20100829234708.GA39872@troutmask.apl.washington.edu> Date: Mon, 30 Aug 2010 07:42:00 -0000 Message-ID: Subject: Re: For testing: full __float128 patch From: Uros Bizjak To: Steve Kargl Cc: Fortran List , FX , "gcc@gcc.gnu.org" Content-Type: multipart/mixed; boundary=0015175cb9665c34b5048f0494f6 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2010-08/txt/msg00446.txt.bz2 --0015175cb9665c34b5048f0494f6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-length: 2328 On Mon, Aug 30, 2010 at 1:47 AM, Steve Kargl wrote: >> > Further testing on i386-*-freebsd runs into undefined symbols. >> > >> > libquad.so: undefined reference to `__getf2' >> > libquad.so: undefined reference to `__eqtf2' >> > libquad.so: undefined reference to `__addtf3' >> > libquad.so: undefined reference to `__floatsitf' >> > libquad.so: undefined reference to `__trunctfxf2' >> > libquad.so: undefined reference to `__divtf3' >> > libquad.so: undefined reference to `__letf2' >> > libquad.so: undefined reference to `__unordtf2' >> > libquad.so: undefined reference to `__fixtfdi' >> > libquad.so: undefined reference to `__fixtfsi' >> > libquad.so: undefined reference to `__lttf2' >> > libquad.so: undefined reference to `__netf2' >> > libquad.so: undefined reference to `__extendxftf2' >> > libquad.so: undefined reference to `__extenddftf2' >> > libquad.so: undefined reference to `__multf3' >> > libquad.so: undefined reference to `__gttf2' >> > libquad.so: undefined reference to `__subtf3' >> > libgfortran.so: undefined reference to `__floatunditf' >> > libquad.so: undefined reference to `__trunctfdf2' >> > >> > >> > AFAICT, these should come from libgcc_s.so.1, but for whatever >> > reason these are missing. =A0I have been unable to find how >> > to induce gcc to build the required files. >> >> Try to build gcc with attached patch... >> > > Thanks for the patch. =A0It is clearly a step in the right > direction. =A0Unfortunately, my build dies with fixtfti.c, > fixunstfti.c, floattitf.c, and floatuntitf.c, which I > assume are used with conversions involving TI and TF modes. > If I use #if 0 ... #endif to block out the code in > those files, my build proceeds to libgomp, which dies with > only two missing symbols, > > /usr/home/kargl/gcc/obj4x/./gcc/libgcc_s.so: undefined reference to `__fa= bstf2' > /usr/home/kargl/gcc/obj4x/./gcc/libgcc_s.so: undefined reference to `__co= pysigntf3' > > I suppose this means that on FreeBSD, I need to enable TI mode > as well as TF. Oh, additional patch for libgcc is also needed. Attached patch will enable filtering out TImode on 32bits and will also enable fallbacks for the two missing functions, so no need for any other changes. Can you please regression test these two patches on freebsd (32 and 64 bit)? Uros. --0015175cb9665c34b5048f0494f6 Content-Type: text/plain; charset=US-ASCII; name="d.diff.txt" Content-Disposition: attachment; filename="d.diff.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gdgy5l8h0 Content-length: 777 SW5kZXg6IGNvbmZpZy5ob3N0Cj09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0t IGNvbmZpZy5ob3N0CShyZXZpc2lvbiAxNjM2MzApCisrKyBjb25maWcuaG9z dAkod29ya2luZyBjb3B5KQpAQCAtNjA4LDcgKzYwOCw4IEBACiAgIGlbMzQ1 NjddODYtKi1saW51eCogfCB4ODZfNjQtKi1saW51eCogfCBcCiAgIGlbMzQ1 NjddODYtKi1nbnUqIHwgXAogICBpWzM0NTY3XTg2LSotc29sYXJpczIqIHwg XAotICBpWzM0NTY3XTg2LSotY3lnd2luKiB8IGlbMzQ1NjddODYtKi1taW5n dyogfCB4ODZfNjQtKi1taW5ndyopCisgIGlbMzQ1NjddODYtKi1jeWd3aW4q IHwgaVszNDU2N104Ni0qLW1pbmd3KiB8IHg4Nl82NC0qLW1pbmd3KiB8IFwK KyAgaVszNDU2N104Ni0qLWZyZWVic2QqIHwgeDg2XzY0LSotZnJlZWJzZCop CiAJaWYgdGVzdCAiJHtob3N0X2FkZHJlc3N9IiA9IDMyOyB0aGVuCiAJCXRt YWtlX2ZpbGU9IiR7dG1ha2VfZmlsZX0gdC1zb2Z0ZnAgaTM4Ni8ke2hvc3Rf YWRkcmVzc30vdC1mcHJ1bGVzLXNvZnRmcCIKIAlmaQo= --0015175cb9665c34b5048f0494f6--