From patchwork Thu Mar 24 11:11:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sedat Dilek X-Patchwork-Id: 8659891 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E6FCF9F36E for ; Thu, 24 Mar 2016 11:11:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 359282038A for ; Thu, 24 Mar 2016 11:11:48 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 6E1C220165 for ; Thu, 24 Mar 2016 11:11:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BDB4E6E96C; Thu, 24 Mar 2016 11:11:38 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-vk0-x235.google.com (mail-vk0-x235.google.com [IPv6:2607:f8b0:400c:c05::235]) by gabe.freedesktop.org (Postfix) with ESMTPS id AAABC6E5F2 for ; Thu, 24 Mar 2016 11:11:35 +0000 (UTC) Received: by mail-vk0-x235.google.com with SMTP id e185so53590570vkb.1 for ; Thu, 24 Mar 2016 04:11:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to; bh=iJ6sBeulxdlYcMKISueEpnlI5U/ZGHw1RCVjzAMY0yw=; b=ESJaEhZZSsc7Bh2KUXH7l51FCrLjqnp+HpZJ1jA6uXdBTOeGBul1q/m/6IpY6FWn5Q 3xKcezR9CUwEhz5z+9Q13An/qdjVOyURjYlwN/5TMLu8FbHLcpMmzOT4R5DuTcz5pI87 3aPkGY6Uyob250iPXzhaqjrJbxUa5SjCVNmgCE0p7QGVEfvREU7YVj4nmKJ6MH6Sctuo D8kmcjcPw9mN3lYDSuRFJGOEQLdLMeyqQfZE9+pdvYnHgf9fwRKMJAdCwYBPo+Qebyxe 0EL3taRSmJjaj6H6wp/SIF5WmwN7//ayLTPc0YnFu9y/EuvEA1LQSz1KJBa5IvaYlA8I 6Kjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :date:message-id:subject:from:to; bh=iJ6sBeulxdlYcMKISueEpnlI5U/ZGHw1RCVjzAMY0yw=; b=XZGbZikwCIhZ/0TntMV35C3jRKzgdBLk1DNrsBYTxd0J9w+9WBsPNuUGj8qp1FVZ6h SyaehyMnC0x5qisbh9JdwQwKoJCA8DeGYxRprWrukZ12cVinl2Cd5j+MJRn8SI/hixwD +335nWodikZwzCgPM//f3s/LEGJmZkaGRHTxSsug6XBlbXDVDmPAD5hXMVGcmjE2K4uh sdmKT4xYBPRUmzsJUTYwLf+st7ro2UTzAKO+18qUu2cpJ9V5yKncXoQSv6hcCjnrJYL9 WYjhK9+0/SYqUTguR0n0TXf1OLcbg9K3P/zIbCuB7Rm7GbbBoUbBpVVsjsbnnR0/fgKY 6mhQ== X-Gm-Message-State: AD7BkJKOgKeKyjLdfh7+WlrcszEwWKD9mNSB2uiTga6eXY8HFMHFaw4bast+tqt46m9EjT8JJ3Rt3XaawfJshA== MIME-Version: 1.0 X-Received: by 10.176.2.239 with SMTP id 102mr4055860uah.152.1458817893952; Thu, 24 Mar 2016 04:11:33 -0700 (PDT) Received: by 10.103.112.68 with HTTP; Thu, 24 Mar 2016 04:11:33 -0700 (PDT) In-Reply-To: <20160324110101.GC27742@nuc-i3427.alporthouse.com> References: <20160324110101.GC27742@nuc-i3427.alporthouse.com> Date: Thu, 24 Mar 2016 12:11:33 +0100 Message-ID: From: Sedat Dilek To: Chris Wilson , Sedat Dilek , intel-gfx Subject: Re: [Intel-gfx] [intelddx][strlcpy | strlcat | clock_gettime] clang-3.8: error: linker command failed with exit code 1 X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sedat.dilek@gmail.com Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Thu, Mar 24, 2016 at 12:01 PM, Chris Wilson wrote: > On Thu, Mar 24, 2016 at 11:44:45AM +0100, Sedat Dilek wrote: >> [ Please see attached files (build-script, full logs etc.) ] >> >> With my selfmade llvm-toolchain v3.8.0 I see these errors/warnings... > >> conftest.c:(.text+0x12): undefined reference to `strlcpy' >> clang-3.8: error: linker command failed with exit code 1 (use -v to >> see invocation) > > We don't even use strlcat! Try: > > diff --git a/configure.ac b/configure.ac > index c18ad96..b121515 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -62,9 +62,6 @@ AC_DISABLE_STATIC > AC_PROG_LIBTOOL > AC_SYS_LARGEFILE > > -# Check for common libc routines redefined by os.h > -AC_CHECK_FUNCS([strlcpy strlcat strndup], [], []) > - > # Platform specific settings > case $host_os in > *linux*) > > So I collected all three "issues" here and sent you the generated logs. Hope this helps. Feel free to add my credits. - Sedat - From 1f951b5d65bc9b5b78606f06025a78facd5b402d Mon Sep 17 00:00:00 2001 From: Sedat Dilek Date: Thu, 24 Mar 2016 12:05:25 +0100 Subject: [PATCH 3/3] configure: Remove unused common libc routines check --- configure.ac | 3 --- 1 file changed, 3 deletions(-) diff --git a/configure.ac b/configure.ac index 0457d52c04df..840fb3d96947 100644 --- a/configure.ac +++ b/configure.ac @@ -62,9 +62,6 @@ AC_DISABLE_STATIC AC_PROG_LIBTOOL AC_SYS_LARGEFILE -# Check for common libc routines redefined by os.h -AC_CHECK_FUNCS([strlcpy strlcat strndup], [], []) - # Platform specific settings case $host_os in *linux*) -- 2.7.4