Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 2015 17:07:12 +0200
From:      Christoph Moench-Tegeder <cmt@burggraben.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: Cannot build latest Chromium
Message-ID:  <20150430150711.GA1465@elch.exwg.net>
In-Reply-To: <CADL2u4gfYKqBqWmnym2XPt-owP3suG8XANBM2AsPvEdkosEPzA@mail.gmail.com>
References:  <553FABB0.4000609@netfence.it> <CAJ_iqtYirjxGpYy7aUzmHn3v9v39fF2VPOStySPKSz_zGy%2B8_w@mail.gmail.com> <CADL2u4h_0LKCUeaj5%2BGp%2BpXDbc6-Vf7KdRq39H0gJRLMG%2ByA5Q@mail.gmail.com> <CAJ_iqtYjO5vXrXfZTE64wcHVxK6Pc%2BMuvW9-QvRR3Ah1qvQz_Q@mail.gmail.com> <CADL2u4gSyXe8c3tmfDEaQzYLyqFwtK=hhCc_WgDA2ysjJEPDZg@mail.gmail.com> <CAJ_iqtZ1aSok3mxuiWO-FW=yXe2Ozh2b%2BwzsFE9gYtTVAh7u%2Bw@mail.gmail.com> <CADL2u4gfYKqBqWmnym2XPt-owP3suG8XANBM2AsPvEdkosEPzA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
## René Ladan (rene@freebsd.org):

> > `OpaqueBrowserFrameViewPlatformSpecific::Create(OpaqueBrowserFrameView*,
> > OpaqueBrowserFrameViewLayout*, Profile*)':
> > opaque_browser_frame_view_platform_specific.cc:(.text._ZN38OpaqueBrowserFrameViewPlatformSpecific6CreateEP22OpaqueBrowserFrameViewP28OpaqueBrowserFrameViewLayoutP7Profile+0x0):
> > multiple definition of
> > `OpaqueBrowserFrameViewPlatformSpecific::Create(OpaqueBrowserFrameView*,
> > OpaqueBrowserFrameViewLayout*, Profile*)'
> > obj/chrome/libbrowser_ui.a(browser_ui.opaq):opaque_browser_frame_view_linux.cc:(.text._ZN38OpaqueBrowserFrameViewPlatformSpecific6CreateEP22OpaqueBrowserFrameViewP28OpaqueBrowserFrameViewLayoutP7Profile+0x0):
> > first defined here
> > collect2: error: ld returned 1 exit status
> 
> So somehow with GCC the Create() function is defined twice, which
> leads to this error.

It's always defined twice, but looks like clang deals better with that
here.

> Maybe it will be automagically fixed in 42.0.2311.135, which I will
>>  commit as soon as the tarballs are available.

It isn't. Here's what fixed the 9.3-gcc build for me:
https://github.com/moench-tegeder/freebsd-chromium/commit/7e7d6d48f1426967e6cef605122a7bc251c640d7
A build on 10.1-clang is still running (I dont't have that many cores...)

Regards,
Christoph

-- 
Spare Space



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