List Info

Thread: build v6.6 -m32 on x86_64




build v6.6 -m32 on x86_64
country flaguser name
United States
2007-02-18 16:42:39
Hello,

Are there ./configure options which will result in building
a 32 bit
version of gdb.  I'm currently running FC6 64 on an AMD
Athon 64 X2
system.

I have the FC6 32bit 6.5 rpm installed but am getting an
"thread_get_info_callback: cannot get thread info:
generic error"
when trying to debug programs linked with libpthread.so.

So thought I'd try 6.6.

Thanks
Barry Branham


Re: build v6.6 -m32 on x86_64
country flaguser name
United States
2007-02-18 19:25:07
On Sun, Feb 18, 2007 at 04:42:39PM -0600, Barry Branham
wrote:
> Hello,
> 
> Are there ./configure options which will result in
building a 32 bit
> version of gdb.  I'm currently running FC6 64 on an AMD
Athon 64 X2
> system.
> 
> I have the FC6 32bit 6.5 rpm installed but am getting
an
> "thread_get_info_callback: cannot get thread info:
generic error"
> when trying to debug programs linked with
libpthread.so.
> 
> So thought I'd try 6.6.

You just need to set CC or CFLAGS appropriately before
running
configure.  However, I know of at least one kernel bug in
the x86_64
ptrace emulation for 32-bit processes, so I really don't
recommend
doing this if you can avoid it - I would expect trouble with
thread
debugging as a symptom of that.

-- 
Daniel Jacobowitz
CodeSourcery

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )