From owner-freebsd-ports@FreeBSD.ORG Mon Jun 20 20:54:47 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47968106566C for ; Mon, 20 Jun 2011 20:54:47 +0000 (UTC) (envelope-from inyaoo@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id C7A3D8FC08 for ; Mon, 20 Jun 2011 20:54:46 +0000 (UTC) Received: by ewy1 with SMTP id 1so713455ewy.13 for ; Mon, 20 Jun 2011 13:54:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=b/6HTPYx1huu25PIxqZfe9reTEAiw4OxPL2MU0P1XsA=; b=aX4ZvtzEsqgDQy8PwJyU6KXrUkfvUbYbmTEHUHFbaXTb8lfII5xPnHzwh7AhnqUOvo 2KWUdhaU9CS/ZCouCAqnjHZvWGpk7rAgfbdAUY5yvv9NRBcKFBXhyBy2Op50RfaFww/P lc9Ydkv+FgKr29s2KLQ1+otarOOqg5fPzr7Y8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=J2HE/fmeqvc02TXiboeIfIcvtigdqPfcSFhfcUtOgGI2+SLiGXm9HQPKCFmR587HcQ L2YRtmq/aKWH/OdCM0fxY23pCPjiTLEx5oxTOCjUEgh8gVY6/va08G+9Q9JledOXR9QN uyAwsHpgwIjXLDrSK2rI2oVo+bPD1NfkU2kwE= Received: by 10.14.50.197 with SMTP id z45mr2021060eeb.248.1308603283785; Mon, 20 Jun 2011 13:54:43 -0700 (PDT) Received: from localhost (chomsky.torservers.net [77.247.181.162]) by mx.google.com with ESMTPS id p78sm3104169eep.26.2011.06.20.13.54.41 (version=SSLv3 cipher=OTHER); Mon, 20 Jun 2011 13:54:42 -0700 (PDT) From: Pan Tsu To: Roman Divacky References: <20110620153753.GA41541@freebsd.org> Date: Tue, 21 Jun 2011 00:54:37 +0400 In-Reply-To: <20110620153753.GA41541@freebsd.org> (Roman Divacky's message of "Mon, 20 Jun 2011 17:37:53 +0200") Message-ID: <86ei2ocjg2.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-ports@freebsd.org Subject: Re: [ANNOUNCE]: clang compiling ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2011 20:54:47 -0000 Roman Divacky writes: > Flz@ just run an exp-build with CC=clang and CXX=clang++. The results can be > seen here: > > http://pointyhat.freebsd.org/errorlogs/amd64-9-exp-latest/ > > A lot of these failures are trivial to fix (ie. not respecting CC setting, etc.) > and prevent a lot of other ports from building. Any extra libtool patches? I'm curious how did you work around ports/155157 foo.o: relocation R_X86_64_PC32 against symbol `bar' can not be used when making a shared object; recompile with -fPIC due to failing lt_cv_prog_compiler_pic_works check on clang warnings.