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

* [Bug build/10751] GDB 7.0 doesn't build with -arch x86_64
  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 ` 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
  2 siblings, 0 replies; 4+ messages in thread
From: dusk at woofle dot net @ 2009-10-09  4:47 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |10752
              nThis|                            |


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

* [Bug build/10751] GDB 7.0 doesn't build with -arch x86_64
  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
  2 siblings, 0 replies; 4+ messages in thread
From: captsolo at gmail dot com @ 2010-02-23  9:50 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From captsolo at gmail dot com  2010-02-23 09:50 -------
I can confirm that the bug is present on Mac OS X 10.6.2. 

There is a related MacPorts bug report at http://trac.macports.org/ticket/19871#comment:17

Note: why does it say the target amd64-apple-darwin10.0.0 when the error appears compiling it on an 
Intel CPU (as present on Mac hardware)? is there a way to disable compiling for AMD64?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1


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

* [Bug build/10751] GDB 7.0 doesn't build with -arch x86_64
  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
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2010-02-23 17:30 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From tromey at redhat dot com  2010-02-23 17:30 -------
> Note: why does it say the target amd64-apple-darwin10.0.0

That is just the canonical name for this architecture.
Don't worry about it, it doesn't imply that anything has gone wrong.

-- 


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).