Cannot build latest Chromium
Christoph Moench-Tegeder
cmt at burggraben.net
Thu Apr 30 15:07:18 UTC 2015
## René Ladan (rene at 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
More information about the freebsd-ports
mailing list