From owner-freebsd-questions@FreeBSD.ORG Fri Apr 20 19:34:45 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A280616A401 for ; Fri, 20 Apr 2007 19:34:45 +0000 (UTC) (envelope-from hyogeollee@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.250]) by mx1.freebsd.org (Postfix) with ESMTP id 6229513C45B for ; Fri, 20 Apr 2007 19:34:45 +0000 (UTC) (envelope-from hyogeollee@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1087851ana for ; Fri, 20 Apr 2007 12:34:44 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:x-enigmail-version:content-type:content-transfer-encoding; b=onzCvA0ABCT6uNHLZPWUH/7qsjMNcfosOS4oCw00llDlI+h6KO4qmboE1EeFnwv7Uc2MViLaTI/Y6q92aKWotu5yRxSpgitglzLpStrIDgEQn9bbAleIZqfBOBu1DVIHTSsMfoW5sHzn+hdrHm3KAYxucpLcf361QPK58K1IbKg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:x-enigmail-version:content-type:content-transfer-encoding; b=qGHyaT40AG9piQzelFd4rHSYfg6LhHxuVMT87qROJBdzMz7AQmpcQiISP8wQAmnKuVFqk3jsyIfs2eX5vZT8P/6JIdUUBkXTqH+XoICF//0CYdpGlbyEng/tWpRVL3R03UW3JHgsDGegxmptP+OfMEqzyqGDgIkSHZLS3j0Er4E= Received: by 10.114.195.19 with SMTP id s19mr1394209waf.1177096113898; Fri, 20 Apr 2007 12:08:33 -0700 (PDT) Received: from ?192.168.0.2? ( [61.79.93.213]) by mx.google.com with ESMTP id y25sm1827383pod.2007.04.20.12.08.32; Fri, 20 Apr 2007 12:08:33 -0700 (PDT) Message-ID: <46290FB4.3040007@gmail.com> Date: Sat, 21 Apr 2007 04:08:36 +0900 From: "Hyo geol, Lee" User-Agent: Thunderbird 1.5.0.10 (X11/20070319) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.94.3.0 Content-Type: text/plain; charset=EUC-KR Content-Transfer-Encoding: 7bit Subject: Linking error with __float128 conversions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2007 19:34:45 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hello. I had problem in linking error with __float128 conversion functions. I am using FreeBSD/amd64 -current and test code is below. #include int main(void) { __float128 a; long double b; bzero(&a, sizeof(__float128)); bzero(&b, sizeof(long double)); a = b; b = a; return (0); } When I build above code, I got linking error. Is this just unsupported functions or something missing in header or linking options? Error message is below. ez8@~/tmp : uname -a FreeBSD localhost.localdomain 7.0-CURRENT FreeBSD 7.0-CURRENT #54: Sat Apr 21 03:00:42 KST 2007 root@localhost.localdomain:/usr/obj/usr/src/sys/EZ8KERNEL amd64 ez8@~/tmp : gcc -v Using built-in specs. Configured with: FreeBSD/amd64 system compiler Thread model: posix gcc version 3.4.6 [FreeBSD] 20060825 ez8@~/tmp : cc -O0 test_float128.c /var/tmp//cc9c9baG.o(.text+0x38): In function `main': : undefined reference to `__extendxftf2' /var/tmp//cc9c9baG.o(.text+0x5e): In function `main': : undefined reference to `__trunctfxf2' Thanks. HG, Lee. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGKQ+01D7/GiH6QSERCpwuAKDCK7R7Epl/tp+croit8pCOc3BRIQCgwQYm 6Znx4dXOuhZjaXrcE7ywWg8= =V49A -----END PGP SIGNATURE-----