Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Regressions on x86
@ 2007-06-19  4:17 Markus Deuling
  2007-06-19 12:01 ` Daniel Jacobowitz
  0 siblings, 1 reply; 8+ messages in thread
From: Markus Deuling @ 2007-06-19  4:17 UTC (permalink / raw)
  To: GDB discuss; +Cc: drow, Ulrich Weigand


Hi,

I have regressions on x86 testsuite.

Starting program:
/home/deuling/gdb/dev/build/gdb/testsuite/gdb.arch/i386-gnu-cfi ^M
Using host libthread_db library "/lib/tls/libthread_db.so.1".^M
Error while reading shared library symbols:^M
I'm sorry, Dave, I can't do that.  Symbol format `elf32-i386' unknown.^M
Error while reading shared library symbols:^M
I'm sorry, Dave, I can't do that.  Symbol format `elf32-i386' unknown.^M
Error while reading shared library symbols:^M I'm sorry, Dave, I can't do
that.  Symbol format `elf32-i386' unknown.^M
^M
Program received signal SIGABRT, Aborted.^M 0x006b77a2 in ?? () from
/lib/ld-linux.so.2^M (gdb) UNRESOLVED: gdb.arch/i386-gnu-cfi.exp: continue
to abort()

Is anyone else seeing this?



--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com


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

* Re: Regressions on x86
  2007-06-19  4:17 Regressions on x86 Markus Deuling
@ 2007-06-19 12:01 ` Daniel Jacobowitz
  2007-06-19 12:39   ` Markus Deuling
  0 siblings, 1 reply; 8+ messages in thread
From: Daniel Jacobowitz @ 2007-06-19 12:01 UTC (permalink / raw)
  To: Markus Deuling; +Cc: GDB discuss, Ulrich Weigand

On Tue, Jun 19, 2007 at 06:17:39AM +0200, Markus Deuling wrote:
> 
> Hi,
> 
> I have regressions on x86 testsuite.
> 
> Starting program:
> /home/deuling/gdb/dev/build/gdb/testsuite/gdb.arch/i386-gnu-cfi ^M
> Using host libthread_db library "/lib/tls/libthread_db.so.1".^M
> Error while reading shared library symbols:^M
> I'm sorry, Dave, I can't do that.  Symbol format `elf32-i386' unknown.^M

Was elfread.o linked in?  If not, what does config.log say about the
-lbfd test?

-- 
Daniel Jacobowitz
CodeSourcery


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

* Re: Regressions on x86
  2007-06-19 12:01 ` Daniel Jacobowitz
@ 2007-06-19 12:39   ` Markus Deuling
  2007-06-19 13:05     ` Daniel Jacobowitz
  0 siblings, 1 reply; 8+ messages in thread
From: Markus Deuling @ 2007-06-19 12:39 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: GDB discuss, Ulrich Weigand

Daniel Jacobowitz wrote:
> On Tue, Jun 19, 2007 at 06:17:39AM +0200, Markus Deuling wrote:
>> Hi,
>>
>> I have regressions on x86 testsuite.
>>
>> Starting program:
>> /home/deuling/gdb/dev/build/gdb/testsuite/gdb.arch/i386-gnu-cfi ^M
>> Using host libthread_db library "/lib/tls/libthread_db.so.1".^M
>> Error while reading shared library symbols:^M
>> I'm sorry, Dave, I can't do that.  Symbol format `elf32-i386' unknown.^M
> 
> Was elfread.o linked in?  If not, what does config.log say about the
> -lbfd test?
> 

bfd/elf.o was compiled. elfread.o not.

-- 
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com


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

* Re: Regressions on x86
  2007-06-19 12:39   ` Markus Deuling
@ 2007-06-19 13:05     ` Daniel Jacobowitz
  2007-06-19 13:19       ` Markus Deuling
  0 siblings, 1 reply; 8+ messages in thread
From: Daniel Jacobowitz @ 2007-06-19 13:05 UTC (permalink / raw)
  To: Markus Deuling; +Cc: GDB discuss, Ulrich Weigand

On Tue, Jun 19, 2007 at 02:37:35PM +0200, Markus Deuling wrote:
> > Was elfread.o linked in?  If not, what does config.log say about the
> > -lbfd test?
> 
> bfd/elf.o was compiled. elfread.o not.

Then see the other part of my question :-)

-- 
Daniel Jacobowitz
CodeSourcery


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

* Re: Regressions on x86
  2007-06-19 13:05     ` Daniel Jacobowitz
@ 2007-06-19 13:19       ` Markus Deuling
  2007-06-19 13:36         ` Daniel Jacobowitz
  0 siblings, 1 reply; 8+ messages in thread
From: Markus Deuling @ 2007-06-19 13:19 UTC (permalink / raw)
  To: GDB discuss, Daniel Jacobowitz

Daniel Jacobowitz wrote:
> On Tue, Jun 19, 2007 at 02:37:35PM +0200, Markus Deuling wrote:
>>> Was elfread.o linked in?  If not, what does config.log say about the
>>> -lbfd test?
>> bfd/elf.o was compiled. elfread.o not.
> 
> Then see the other part of my question :-)
> 


configure:21807: checking for ELF support in BFD
configure:21831: gcc -o conftest -g -O2 -I/home/deuling/gdb/dev/gdb/../include -I/../bfd -I/home/deuling/gdb/dev/gdb/../bfd   -L../bfd -L../libiberty conftest.c -lncurses -lm  -lbfd -liberty >&5
In file included from /home/deuling/gdb/dev/gdb/../bfd/elf-bfd.h:27,
                 from conftest.c:133:
/home/deuling/gdb/dev/gdb/../include/elf/external.h:248: error: syntax error before "Elf_External_Versym"
/home/deuling/gdb/dev/gdb/../include/elf/external.h:248: warning: data definition has no type or storage class
In file included from conftest.c:133:
/home/deuling/gdb/dev/gdb/../bfd/elf-bfd.h:1459: error: syntax error before '*' token
/home/deuling/gdb/dev/gdb/../bfd/elf-bfd.h:1461: error: syntax error before "Elf_External_Versym"



-- 
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com


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

* Re: Regressions on x86
  2007-06-19 13:19       ` Markus Deuling
@ 2007-06-19 13:36         ` Daniel Jacobowitz
  2007-06-19 14:06           ` Markus Deuling
  0 siblings, 1 reply; 8+ messages in thread
From: Daniel Jacobowitz @ 2007-06-19 13:36 UTC (permalink / raw)
  To: Markus Deuling; +Cc: GDB discuss

On Tue, Jun 19, 2007 at 03:18:22PM +0200, Markus Deuling wrote:
> Daniel Jacobowitz wrote:
> > On Tue, Jun 19, 2007 at 02:37:35PM +0200, Markus Deuling wrote:
> >>> Was elfread.o linked in?  If not, what does config.log say about the
> >>> -lbfd test?
> >> bfd/elf.o was compiled. elfread.o not.
> > Then see the other part of my question :-)
> 
> 
> configure:21807: checking for ELF support in BFD
> configure:21831: gcc -o conftest -g -O2 -I/home/deuling/gdb/dev/gdb/../include 
> -I/../bfd -I/home/deuling/gdb/dev/gdb/../bfd   -L../bfd -L../libiberty 
> conftest.c -lncurses -lm  -lbfd -liberty >&5
> In file included from /home/deuling/gdb/dev/gdb/../bfd/elf-bfd.h:27,
>                 from conftest.c:133:
> /home/deuling/gdb/dev/gdb/../include/elf/external.h:248: error: syntax error 
> before "Elf_External_Versym"
> /home/deuling/gdb/dev/gdb/../include/elf/external.h:248: warning: data 
> definition has no type or storage class
> In file included from conftest.c:133:
> /home/deuling/gdb/dev/gdb/../bfd/elf-bfd.h:1459: error: syntax error before '*' 
> token
> /home/deuling/gdb/dev/gdb/../bfd/elf-bfd.h:1461: error: syntax error before 
> "Elf_External_Versym"

That is ATTRIBUTE_PACKED, which is always defined by ansidecl.h, which
is always included by bfd.h.  "-I/../bfd" is not a good sign.  It
looks like I messed up.  Please try this patch?

-- 
Daniel Jacobowitz
CodeSourcery

2007-06-19  Daniel Jacobowitz  <dan@codesourcery.com>

	* configure.ac: Do not use ${objdir}.
	* configure: Regenerated.

Index: configure
===================================================================
RCS file: /cvs/src/src/gdb/configure,v
retrieving revision 1.226
diff -u -p -r1.226 configure
--- configure	18 Jun 2007 15:46:37 -0000	1.226
+++ configure	19 Jun 2007 13:34:55 -0000
@@ -21801,7 +21801,7 @@ esac
 OLD_CFLAGS=$CFLAGS
 OLD_LDFLAGS=$LDFLAGS
 OLD_LIBS=$LIBS
-CFLAGS="$CFLAGS -I${srcdir}/../include -I${objdir}/../bfd -I${srcdir}/../bfd"
+CFLAGS="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd"
 LDFLAGS="$LDFLAGS -L../bfd -L../libiberty"
 LIBS="$LIBS -lbfd -liberty"
 echo "$as_me:$LINENO: checking for ELF support in BFD" >&5
Index: configure.ac
===================================================================
RCS file: /cvs/src/src/gdb/configure.ac,v
retrieving revision 1.47
diff -u -p -r1.47 configure.ac
--- configure.ac	18 Jun 2007 15:46:38 -0000	1.47
+++ configure.ac	19 Jun 2007 13:34:55 -0000
@@ -1259,7 +1259,7 @@ AC_SUBST(WIN32LIBS)
 OLD_CFLAGS=$CFLAGS
 OLD_LDFLAGS=$LDFLAGS
 OLD_LIBS=$LIBS
-CFLAGS="$CFLAGS -I${srcdir}/../include -I${objdir}/../bfd -I${srcdir}/../bfd"
+CFLAGS="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd"
 LDFLAGS="$LDFLAGS -L../bfd -L../libiberty"
 LIBS="$LIBS -lbfd -liberty"
 AC_CACHE_CHECK([for ELF support in BFD], gdb_cv_var_elf,


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

* Re: Regressions on x86
  2007-06-19 13:36         ` Daniel Jacobowitz
@ 2007-06-19 14:06           ` Markus Deuling
  2007-06-19 15:15             ` Luis Machado
  0 siblings, 1 reply; 8+ messages in thread
From: Markus Deuling @ 2007-06-19 14:06 UTC (permalink / raw)
  To: Daniel Jacobowitz, GDB discuss

Daniel Jacobowitz wrote:
> On Tue, Jun 19, 2007 at 03:18:22PM +0200, Markus Deuling wrote:
>> Daniel Jacobowitz wrote:
>>> On Tue, Jun 19, 2007 at 02:37:35PM +0200, Markus Deuling wrote:
>>>>> Was elfread.o linked in?  If not, what does config.log say about the
>>>>> -lbfd test?
>>>> bfd/elf.o was compiled. elfread.o not.
>>> Then see the other part of my question :-)
>>
>> configure:21807: checking for ELF support in BFD
>> configure:21831: gcc -o conftest -g -O2 -I/home/deuling/gdb/dev/gdb/../include 
>> -I/../bfd -I/home/deuling/gdb/dev/gdb/../bfd   -L../bfd -L../libiberty 
>> conftest.c -lncurses -lm  -lbfd -liberty >&5
>> In file included from /home/deuling/gdb/dev/gdb/../bfd/elf-bfd.h:27,
>>                 from conftest.c:133:
>> /home/deuling/gdb/dev/gdb/../include/elf/external.h:248: error: syntax error 
>> before "Elf_External_Versym"
>> /home/deuling/gdb/dev/gdb/../include/elf/external.h:248: warning: data 
>> definition has no type or storage class
>> In file included from conftest.c:133:
>> /home/deuling/gdb/dev/gdb/../bfd/elf-bfd.h:1459: error: syntax error before '*' 
>> token
>> /home/deuling/gdb/dev/gdb/../bfd/elf-bfd.h:1461: error: syntax error before 
>> "Elf_External_Versym"
> 
> That is ATTRIBUTE_PACKED, which is always defined by ansidecl.h, which
> is always included by bfd.h.  "-I/../bfd" is not a good sign.  It
> looks like I messed up.  Please try this patch?
> 
configure:21807: checking for ELF support in BFD
configure:21831: gcc -o conftest -g -O2 -I../../gdb/../include -I../bfd -I../../gdb/../bfd   -L../bfd -L../libiberty conftest.c -lncurses -lm  -lbfd -liberty >&5

# of expected passes            11552
# of unexpected failures        25

Looks good :-)


-- 
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com


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

* Re: Regressions on x86
  2007-06-19 14:06           ` Markus Deuling
@ 2007-06-19 15:15             ` Luis Machado
  0 siblings, 0 replies; 8+ messages in thread
From: Luis Machado @ 2007-06-19 15:15 UTC (permalink / raw)
  To: Markus Deuling; +Cc: Daniel Jacobowitz, GDB discuss

Daniel,

That fixed problems on POWER as well. Thanks.

Best regards,
Luis

Markus Deuling wrote:
> Daniel Jacobowitz wrote:
>> On Tue, Jun 19, 2007 at 03:18:22PM +0200, Markus Deuling wrote:
>>> Daniel Jacobowitz wrote:
>>>> On Tue, Jun 19, 2007 at 02:37:35PM +0200, Markus Deuling wrote:
>>>>>> Was elfread.o linked in?  If not, what does config.log say about the
>>>>>> -lbfd test?
>>>>> bfd/elf.o was compiled. elfread.o not.
>>>> Then see the other part of my question :-)
>>>
>>> configure:21807: checking for ELF support in BFD
>>> configure:21831: gcc -o conftest -g -O2 
>>> -I/home/deuling/gdb/dev/gdb/../include -I/../bfd 
>>> -I/home/deuling/gdb/dev/gdb/../bfd   -L../bfd -L../libiberty 
>>> conftest.c -lncurses -lm  -lbfd -liberty >&5
>>> In file included from /home/deuling/gdb/dev/gdb/../bfd/elf-bfd.h:27,
>>>                 from conftest.c:133:
>>> /home/deuling/gdb/dev/gdb/../include/elf/external.h:248: error: 
>>> syntax error before "Elf_External_Versym"
>>> /home/deuling/gdb/dev/gdb/../include/elf/external.h:248: warning: 
>>> data definition has no type or storage class
>>> In file included from conftest.c:133:
>>> /home/deuling/gdb/dev/gdb/../bfd/elf-bfd.h:1459: error: syntax error 
>>> before '*' token
>>> /home/deuling/gdb/dev/gdb/../bfd/elf-bfd.h:1461: error: syntax error 
>>> before "Elf_External_Versym"
>>
>> That is ATTRIBUTE_PACKED, which is always defined by ansidecl.h, which
>> is always included by bfd.h.  "-I/../bfd" is not a good sign.  It
>> looks like I messed up.  Please try this patch?
>>
> configure:21807: checking for ELF support in BFD
> configure:21831: gcc -o conftest -g -O2 -I../../gdb/../include 
> -I../bfd -I../../gdb/../bfd   -L../bfd -L../libiberty conftest.c 
> -lncurses -lm  -lbfd -liberty >&5
>
> # of expected passes            11552
> # of unexpected failures        25
>
> Looks good :-)
>
>



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

end of thread, other threads:[~2007-06-19 15:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-19  4:17 Regressions on x86 Markus Deuling
2007-06-19 12:01 ` Daniel Jacobowitz
2007-06-19 12:39   ` Markus Deuling
2007-06-19 13:05     ` Daniel Jacobowitz
2007-06-19 13:19       ` Markus Deuling
2007-06-19 13:36         ` Daniel Jacobowitz
2007-06-19 14:06           ` Markus Deuling
2007-06-19 15:15             ` Luis Machado

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox