This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug build/10751] New: GDB 7.0 doesn't build with -arch x86_64
- From: "dusk at woofle dot net" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 9 Oct 2009 04:44:02 -0000
- Subject: [Bug build/10751] New: GDB 7.0 doesn't build with -arch x86_64
- Reply-to: sourceware-bugzilla at sourceware dot org
On Darwin 10.0 (Mac OS 10.6), attempting to build a 64-bit gdb7 with
export CFLAGS="-arch x86_64"
export CXXFLAGS="-arch x86_64"
export LDFLAGS="-arch x86_64"
yields a frustrating last-moment link error:
gcc -arch x86_64 -arch x86_64 \
-o gdb gdb.o libgdb.a \
../readline/libreadline.a ../opcodes/libopcodes.a ../bfd/libbfd.a
./../intl/libintl.a -liconv ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a -lncurses -lz -lm -liconv -lpython2.6
-lexpat ../libiberty/libiberty.a gnulib/libgnu.a
Undefined symbols:
"_amd64_darwin_thread_state_reg_offset", referenced from:
_darwin_complete_target in libgdb.a(i386-darwin-nat.o)
"_amd64_darwin_thread_state_num_regs", referenced from:
_darwin_complete_target in libgdb.a(i386-darwin-nat.o)
ld: symbol(s) not found
--
Summary: GDB 7.0 doesn't build with -arch x86_64
Product: gdb
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: build
AssignedTo: unassigned at sourceware dot org
ReportedBy: dusk at woofle dot net
CC: gdb-prs at sourceware dot org
GCC build triplet: amd64-apple-darwin10.0.0
GCC host triplet: amd64-apple-darwin10.0.0
GCC target triplet: amd64-apple-darwin10.0.0
http://sourceware.org/bugzilla/show_bug.cgi?id=10751
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.