Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Apr 2011 11:23:10 -0700
From:      Evan Martin <evan@chromium.org>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        chromium@freebsd.org
Subject:   Re: [solved] chromium doesn't open any page
Message-ID:  <BANLkTinXtc1Y239HbE6rjRS7Soyu6Ymhvw@mail.gmail.com>
In-Reply-To: <4DAB0EA9.7010201@FreeBSD.org>
References:  <4DA33595.40203@FreeBSD.org> <4DA857AC.9030604@FreeBSD.org> <4DA97CAE.5040403@FreeBSD.org> <4DAB0EA9.7010201@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 17, 2011 at 9:00 AM, Andriy Gapon <avg@freebsd.org> wrote:
> Doing the following substitution in the port's work directory before buil=
d fixes
> chromium behavior on stable/8 for me:
> find . -name "*.mk" | xargs -n1 sed -i '' -e 's/-lc //'
>
> Apparently explicit -lc causes trouble for threaded applications even if =
they
> linked with -pthread. =A0See this for the gory details:
> http://thread.gmane.org/gmane.os.freebsd.devel.hackers/43117/focus=3D4957

I don't see any mention of -lc in the Chrome source:
http://codesearch.google.com/codesearch?hl=3Den&vert=3Dchromium&lr=3D&q=3D%=
5C-lc%5Cb+-file%3Athird_party+-file%3Anative_client+-file%3Altmain.sh&sbtn=
=3DSearch

I am responsible for the code that generates the .mk files.  Can you
paste the area around the file that contains the -lc flag?  I will
help diagnose where it's coming from.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTinXtc1Y239HbE6rjRS7Soyu6Ymhvw>