From owner-freebsd-toolchain@freebsd.org Wed Jan 11 17:32:05 2017 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F3DECCAB2A0; Wed, 11 Jan 2017 17:32:04 +0000 (UTC) (envelope-from jiashiun@gmail.com) Received: from mail-qt0-x231.google.com (mail-qt0-x231.google.com [IPv6:2607:f8b0:400d:c0d::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AEFAC1475; Wed, 11 Jan 2017 17:32:04 +0000 (UTC) (envelope-from jiashiun@gmail.com) Received: by mail-qt0-x231.google.com with SMTP id l7so153016960qtd.1; Wed, 11 Jan 2017 09:32:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=KReHlXxE/ZxPTRsoKR2G8aDMKaXjK/fWvR3p8coTmGY=; b=WIysKApytifK7SnMfO0Ny3hcm8IKEwKRtSdnRJT5VXXOcnjMeA4FmHDjU1gmc6sMu7 pwX9TMJxVMpx97rpDaeYWHqdUNEGvdeNGjgjqz+96a8d9Ij1uqh+Rv+afH4XfdtqazGE PUGTHZYvttBszouYC1cKXuz0lIAfTZNs3+0E9CD4VEO6MLrqiVlM0vEnvMLk61FuYpYz s/yJiL2O7GDmdFeoVrU9TL1lDzlK4weSwNB2TW+KXGb1C5cBJpP9BZVbn8hNQe0dvU3F Oo6jwUv1sLDem0+jF1NqVJp2I67OxTB9c0ITw+aYuffL0aw8F7o0PIfco4s1nLLS+CCm XzNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=KReHlXxE/ZxPTRsoKR2G8aDMKaXjK/fWvR3p8coTmGY=; b=S+/zn+OERSVvEWm4y9KDj2Iklpul5NyLNZ/OQYBLMpYrJETEue6Y39rXgu2+eoBRa8 S02CNWQly5sWpd8t+QuHLngmoFNIp+SroJDeuh13MxYIWRwQ/hNvRgrE2xqKLZwGFVdT Vf87jlIYYXk9u1uWCQWS/ILa8HWFWExbYugqDDiw2rwV0bVVbcUHwMJYQErL7xEIG8Jt 9cD5rkxmw3knbLhX/LV/fBrPH5S+ofWmmuz120Rd3bnjrj/qzTyS6g04bKEZNHZjIsdB 8+RdkBRysj1Ckpwwc6UjLOtr9sNTZg+M46hsIPtSD75pzy+n+A/Knw6HNWhAQvfczbEx XeCQ== X-Gm-Message-State: AIkVDXKr+7gnxDWLV3gvTLFwPwzRoLT8nOpg4oCH87aJ2Ej5inULo21XWHkmC3sJP3gRQxZdxo/Qssnhn2gnJg== X-Received: by 10.237.53.201 with SMTP id d9mr3779116qte.235.1484155923608; Wed, 11 Jan 2017 09:32:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.82.149 with HTTP; Wed, 11 Jan 2017 09:31:33 -0800 (PST) In-Reply-To: References: From: Jia-Shiun Li Date: Thu, 12 Jan 2017 01:31:33 +0800 Message-ID: Subject: Re: clang on armv6 incorrectly emits call to sincos() To: Ed Maste Cc: "freebsd-arm@freebsd.org" , "freebsd-toolchain@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2017 17:32:05 -0000 On Thu, Jan 12, 2017 at 12:43 AM, Ed Maste wrote: > You're right that this needs to be fixed in the compiler or the base > system, not individual ports. LLVM has a hasSinCos() and should not be > emitting the sincos libcall on platforms that do not have it. Would > you care to submit a PR for this? > > Roger. Create bug #215977. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215977 -Jia-Shiun.