public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/10751] New: GDB 7.0 doesn't build with -arch x86_64
@ 2009-10-09  4:44 dusk at woofle dot net
  2009-10-09  4:47 ` [Bug build/10751] " dusk at woofle dot net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dusk at woofle dot net @ 2009-10-09  4:44 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-02-23 17:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-09  4:44 [Bug build/10751] New: GDB 7.0 doesn't build with -arch x86_64 dusk at woofle dot net
2009-10-09  4:47 ` [Bug build/10751] " dusk at woofle dot net
2010-02-23  9:50 ` captsolo at gmail dot com
2010-02-23 17:30 ` tromey at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).