Date: Sun, 17 Apr 2011 19:11:08 +0000 From: Baptiste Daroussin <bapt@freebsd.org> To: Evan Martin <evan@chromium.org> Cc: chromium@freebsd.org, Andriy Gapon <avg@freebsd.org> Subject: Re: extra -lc in generated build files [Re: [solved] chromium doesn't open any page] Message-ID: <BANLkTim3q4X4czkvcj6VNM_huyjV_mFLww@mail.gmail.com> In-Reply-To: <BANLkTi=sK_yPW8yvOb_PBtFLXk3r0n=F8g@mail.gmail.com> References: <BANLkTikA9kAvBaZOC0TNxEegNE3NfOJyPw@mail.gmail.com> <BANLkTi=%2B3RZ%2BU%2BRTwxRDgBd2PFnSKcqGdA@mail.gmail.com> <BANLkTi=sK_yPW8yvOb_PBtFLXk3r0n=F8g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2011/4/17 Baptiste Daroussin <bapt@freebsd.org>: > 2011/4/17 Baptiste Daroussin <bapt@freebsd.org>: >> 2011/4/17 Evan Martin <evan@chromium.org>: >>> On Sun, Apr 17, 2011 at 11:38 AM, Baptiste Daroussin <bapt@freebsd.org>= wrote: >>>>> I am responsible for the code that generates the .mk files. =A0Can yo= u >>>>> 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 f= ile. >>> >>> 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'<!@(<(pkg-config) --libs-only-l gtk+-2.0 gt= hread-2.0)', >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0'<!@(<(pkg-config) --libs-only-l gtk+-unix-p= rint-2.0)', >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0'<!@(<(pkg-config) --libs-only-l nss= | sed -e "s/-lssl3//")', >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0'<!@(<(pkg-config) --libs-only-l nss= )', >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0'<!@(<(pkg-config) --libs-only-l freetype2)'= , >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0'<!@(<(pkg-config) --libs-only-l fontconfig)= ', >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0'<!@(<(pkg-config) --libs-only-l gdk-2.0)', >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0'<!@(<(pkg-config) --libs-only-l gconf-2.0)'= , >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0'<!@(<(pkg-config) --libs-only-l x11)', >>> =A0 =A0 =A0 =A0 =A0 =A0'<!@(<(pkg-config) --libs-only-l xi)', >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0'<!@(<(pkg-config) --libs-only-l xext)', >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0'<!@(<(pkg-config) --libs-only-l gno= me-keyring-1)', >>> =A0 =A0 =A0 =A0 =A0'<!@(<(pkg-config) --libs-only-l dbus-glib-1)', >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0'<!@(<(pkg-config) --libs-only-l ibus-1.0)', >>> >> >> none provides -lc >> >> regards, >> bapt >> > > ok this is provided by one of our changes: s/ldl/lc/ I'll see how to > change that cleanly > this is it, I am doing some testing on the fix and commit it if it is ok. Thanks all. Bapt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTim3q4X4czkvcj6VNM_huyjV_mFLww>