This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug symtab/16902] GDB use-after-free segfault when loading certain program's debug symbols
- From: "antispam at idupree dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 06 May 2014 02:16:00 +0000
- Subject: [Bug symtab/16902] GDB use-after-free segfault when loading certain program's debug symbols
- Auto-submitted: auto-generated
- References: <bug-16902-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16902
--- Comment #3 from Isaac Dupree <antispam at idupree dot com> ---
To specify a compiler to build Lasercake, pass
-DCMAKE_C_COMPILER=/path/to/cc -DCMAKE_CXX_COMPILER=/path/to/c++
to cmake or ./dev-build.py. To specify compiler flags likewise,
-DCFLAGS='-g -O2'
sets these for both C and C++.
(unfortunately cmake's usual -DCMAKE_C(XX)_FLAGS goes earlier in the compiler
command-line than values specified in CMakeLists.txt, so it doesn't work as
well).
--
You are receiving this mail because:
You are on the CC list for the bug.