Date: Sun, 17 Apr 2011 18:58:27 +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: <BANLkTi=%2B3RZ%2BU%2BRTwxRDgBd2PFnSKcqGdA@mail.gmail.com> In-Reply-To: <BANLkTikA9kAvBaZOC0TNxEegNE3NfOJyPw@mail.gmail.com> References: <BANLkTikA9kAvBaZOC0TNxEegNE3NfOJyPw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2011/4/17 Evan Martin <evan@chromium.org>: > On Sun, Apr 17, 2011 at 11:38 AM, Baptiste Daroussin <bapt@freebsd.org> 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'<!@(<(pkg-config) --libs-only-l gtk+-2.0 gthr= ead-2.0)', > =A0 =A0 =A0 =A0 =A0 =A0 =A0'<!@(<(pkg-config) --libs-only-l gtk+-unix-pri= nt-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 gnome= -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTi=%2B3RZ%2BU%2BRTwxRDgBd2PFnSKcqGdA>