This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug symtab/16902] GDB use-after-free segfault when loading certain program's debug symbols


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]