Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4CB4F200BE7 for ; Tue, 20 Dec 2016 22:03:31 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4B5B4160B29; Tue, 20 Dec 2016 21:03:31 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 966BD160B12 for ; Tue, 20 Dec 2016 22:03:30 +0100 (CET) Received: (qmail 27674 invoked by uid 500); 20 Dec 2016 21:03:29 -0000 Mailing-List: contact dev-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@impala.incubator.apache.org Delivered-To: mailing list dev@impala.incubator.apache.org Received: (qmail 27657 invoked by uid 99); 20 Dec 2016 21:03:29 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Dec 2016 21:03:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 0E679C14D8 for ; Tue, 20 Dec 2016 21:03:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.02 X-Spam-Level: X-Spam-Status: No, score=-0.02 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=cloudera-com.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id uvSpV5quBlrn for ; Tue, 20 Dec 2016 21:03:26 +0000 (UTC) Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 49C8B5F4EE for ; Tue, 20 Dec 2016 21:03:26 +0000 (UTC) Received: by mail-wm0-f42.google.com with SMTP id g23so131497509wme.1 for ; Tue, 20 Dec 2016 13:03:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudera-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=GdDKHHntUR+BDBq5EvFgTIbCoI55eDF7he7BYSOZaEA=; b=Qaxz7b9QJGA2j9pUmsUTMiOfnskKSD7KhxMKhRmZ1yZJRdHPsVxZ8+MSaG6mSIRu32 IHYnqFNr5wj6x3AWMQCrrKzUWa6IBbm0XzIK2Q1uZU6xKnwDnZ/dNI+2AZXdpDdsvSv5 AkujZYUkIH8X9ZnFq9ccXFlkOieVkyUIbvYqyJD28sc9jlMSzeQ/TzoAIkEgd+kNOtS3 nGC4NLHpFhg5Gn8MPF68ZJgSSCRrX9aWB3eEZIs4x6yAyB4k39J/LZyVyLL9Rk6g/Ml+ o/IZhN8ftOrrY0HADFtze7/ENaTwcHhDN4WFQwVL18qCrQDsIMF4Iiz8pO8hLsdAVRrj y6lA== 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; bh=GdDKHHntUR+BDBq5EvFgTIbCoI55eDF7he7BYSOZaEA=; b=JlIH1M7e97Q7yOP7Zfln5U3G75nNmYRB1+4Fr5iGen8q7Z///r6WcNkuV9EngKTzq3 rc850hfRRHGA3+i+2G0dRd1I2SbUFsH87IbYhzQ/paC4XVLQRUGonQOh3+5mfpwj7zxw LmyEdvTv1hQE45W8zuBvzXYQtoftLxOBy8lP9hHcdmKChGuWjoFZC0w/L6SUr2pUFuRl GOgTJnupgsXIPtJ+n3Vin1IdcLMysZ1HFQxHLCHffxtIYRWH6zL1dwrZN/2mgtpxVinJ WWPBJ5Z7ehAWCIOMup7QPn6VEUQmZfpVtB+BH8rBQznNAMXLNOOrVPaL/QBpcn4HeKcR 9T9Q== X-Gm-Message-State: AIkVDXLxFVZGcXqyveZAjHnluGNqlXPMXRwzkKmHHyAtUWzOix2YaxcGqPa6bKfF63CzcePYnHHv7J2rS9AwjMFT X-Received: by 10.28.54.97 with SMTP id d94mr1741086wma.28.1482267805659; Tue, 20 Dec 2016 13:03:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.103.215 with HTTP; Tue, 20 Dec 2016 13:02:45 -0800 (PST) In-Reply-To: References: From: Jim Apple Date: Tue, 20 Dec 2016 13:02:45 -0800 Message-ID: Subject: Re: Linking failure when static linking asan build To: "dev@impala" Content-Type: text/plain; charset=UTF-8 archived-at: Tue, 20 Dec 2016 21:03:31 -0000 Unfortunately, that didn't fix it for me. On Tue, Dec 20, 2016 at 12:57 PM, Tim Armstrong wrote: > I've seen some odd problems like this before when using the switch_compiler > distcc command - I've accidentally got into a state where I've built some > files with clang and some with gcc. It's a real mess since ccache interacts > badly with the distcc wrapper script - it can't account for the wrapper > script transparently switching between compilers. > > I had to clear ccache to get out of the situation a couple of times > > On Tue, Dec 20, 2016 at 11:45 AM, Jim Apple wrote: > >> I get the following when static linking the asan build. Has anyone >> seen something like this before? I imagine this is an environment >> issue, as this is working in jenkins.impala.io >> >> /opt/Impala-Toolchain/kudu-e018a83/release/lib/libkudu_client.so.0.1.0: >> error: undefined reference to '__cxa_throw_bad_array_new_length', >> version 'CXXABI_1.3.8' >> /opt/Impala-Toolchain/kudu-e018a83/release/lib/libkudu_client.so.0.1.0: >> error: undefined reference to 'std::__throw_out_of_range_fmt(char >> const*, ...)', version 'GLIBCXX_3.4.20' >> /opt/Impala-Toolchain/gcc-4.9.2/lib/gcc/x86_64-unknown- >> linux-gnu/4.9.2/../../../../include/c++/4.9.2/bitset:770: >> error: undefined reference to 'std::__throw_out_of_range_fmt(char >> const*, ...)' >> /opt/Impala-Toolchain/gcc-4.9.2/lib/gcc/x86_64-unknown- >> linux-gnu/4.9.2/../../../../include/c++/4.9.2/bits/stl_vector.h:803: >> error: undefined reference to 'std::__throw_out_of_range_fmt(char >> const*, ...)' >> /opt/Impala-Toolchain/gcc-4.9.2/lib/gcc/x86_64-unknown- >> linux-gnu/4.9.2/../../../../include/c++/4.9.2/bitset:770: >> error: undefined reference to 'std::__throw_out_of_range_fmt(char >> const*, ...)' >> /data/jenkins/workspace/verify-impala-toolchain-package-build/label/ec2- >> package-ubuntu-14-04/toolchain/build/gcc-4.9.2/ >> include/c++/4.9.2/bits/basic_string.h:324: >> error: undefined reference to 'std::__throw_out_of_range_fmt(char >> const*, ...)' >> >> I have tried bin/clean, opening a new terminal window, >> bootstrap_toolchain, and deleting CMakeCache from Impala-lzo. >>