[Bug 196770] www/chromium does not run if built with DEBUG option

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jun 4 22:17:46 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196770

Arto Pekkanen <aksyom at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aksyom at gmail.com

--- Comment #13 from Arto Pekkanen <aksyom at gmail.com> ---
(In reply to Ed Maste from comment #11)

Just FYI, I've been debugging Chromium to produce core dumps succesfully.
However, I never even tried running the debug version of chromium.

Instead what I did:
- installed www/chromium from packages
- separately built the www/chromium port with make build (without installing
the port)
- located the debug binary (a 4 GB file) in the port working directory
- gdb -s <path-to-debug-binary>  /usr/local/share/chromium/chrome

Like this the gdb loads debug symbols from the debug binary, but runs the
actual chrome binary. Works fine.

Although I have to say this is an ugly workaround.

Would it be possible to strip the debug symbols from the resulting binary,
store them in a separate file?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-chromium mailing list