This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug build/20526] [7.12 Regression] fail to build 64bit gdb on 32bit targets (powerpc, x86)
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 12 Sep 2016 12:56:53 +0000
- Subject: [Bug build/20526] [7.12 Regression] fail to build 64bit gdb on 32bit targets (powerpc, x86)
- Auto-submitted: auto-generated
- References: <bug-20526-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20526
Pedro Alves <palves at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |palves at redhat dot com
--- Comment #1 from Pedro Alves <palves at redhat dot com> ---
> cd /«PKGBUILDDIR»/build/objdir64 && CC="gcc -m64" CFLAGS="-g -O2 -fdebug-prefix-
GDB 7.12 builds with a C++ compiler by default. You need to set CXX and
CXXFLAGS too. I suspect that should fix it.
If you want to build with a C compiler for some reason, you still can, by
passing --disable-build-with-cxx. That won't work any longer after 7.12.
--
You are receiving this mail because:
You are on the CC list for the bug.