From owner-freebsd-chromium@FreeBSD.ORG Sun Apr 17 18:58:48 2011 Return-Path: Delivered-To: chromium@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46049106566B; Sun, 17 Apr 2011 18:58:48 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id F2C8B8FC1F; Sun, 17 Apr 2011 18:58:47 +0000 (UTC) Received: by iwn33 with SMTP id 33so4500448iwn.13 for ; Sun, 17 Apr 2011 11:58:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=CfFnNZYW9cYl0BI2s/5di67jd2v81YzsKL+Y8gbTkfk=; b=ARyI0lEJO2jh0Zo9BjDD1V51u9OQRi47JpqT5sUbeolRRAkBgizMvps7tuxzFpRDn4 N/hSN3Ovvi5ZdsC/eq9H/rgkG+TvVBJojR8hc96pXzSWz8E9ckoYL6OidtMkBaSWnqoy kdLyjemmZ1ZlbAv7Aip0M/p8Mo8IYsu3EdUew= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=pHuYQ/VhoVVSk4cWIsood25rg7MZckQ5Rbh6Qc8i5/8LIokPh51etFrNaPmr2xxjz0 StQ9AWx3afMccOXrFmRE1H4xH7+mKgf4Vefe1qinDmfi7SIycrsqirsBcmskQL9AJkcb F69R4HWXLTjQXLLnFlfR3ZyLPyxhNYwXN9lA4= Received: by 10.231.66.146 with SMTP id n18mr3288196ibi.14.1303066727103; Sun, 17 Apr 2011 11:58:47 -0700 (PDT) MIME-Version: 1.0 Sender: baptiste.daroussin@gmail.com Received: by 10.231.173.198 with HTTP; Sun, 17 Apr 2011 11:58:27 -0700 (PDT) In-Reply-To: References: From: Baptiste Daroussin Date: Sun, 17 Apr 2011 18:58:27 +0000 X-Google-Sender-Auth: GwKQPtX6eR2oFdWzIdzlr8b1Db8 Message-ID: To: Evan Martin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: chromium@freebsd.org, Andriy Gapon Subject: Re: extra -lc in generated build files [Re: [solved] chromium doesn't open any page] X-BeenThere: freebsd-chromium@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Chromium issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2011 18:58:48 -0000 2011/4/17 Evan Martin : > On Sun, Apr 17, 2011 at 11:38 AM, Baptiste Daroussin w= rote: >>> I am responsible for the code that generates the .mk files. =A0Can you >>> paste the area around the file that contains the -lc flag? =A0I will >>> help diagnose where it's coming from. >> >> Here they are: >> >> app/app_unittests.target.mk.bak: =A0 =A0 =A0 =A0-lc \ >> chrome/automated_ui_tests.target.mk.bak: =A0 =A0 =A0 =A0-lc \ > > Hm, it seems most likely that we're picking that up from a pkg-config fil= e. > > Can you try something like: > > $ grep -- -lc /usr/lib/pkgconfig/* > > (you might need to adjust the paths, I'm on Linux, sorry) > to see if any libraries we use are including it? > > You can see the list of packages imported via pkg-config by looking at > build/linux/system.gyp in the Chrome tree. > > $ grep libs-only-l build/linux/system.gyp > =A0 =A0 =A0 =A0 =A0 =A0 =A0' =A0 =A0 =A0 =A0 =A0 =A0 =A0' =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0' =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0' =A0 =A0 =A0 =A0 =A0 =A0 =A0' =A0 =A0 =A0 =A0 =A0 =A0 =A0' =A0 =A0 =A0 =A0 =A0 =A0 =A0' =A0 =A0 =A0 =A0 =A0 =A0 =A0' =A0 =A0 =A0 =A0 =A0 =A0 =A0' =A0 =A0 =A0 =A0 =A0 =A0' =A0 =A0 =A0 =A0 =A0 =A0 =A0' =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0' =A0 =A0 =A0 =A0 =A0' =A0 =A0 =A0 =A0 =A0 =A0 =A0' none provides -lc regards, bapt