public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Problem with egcs-971008 on Linux Sparc
@ 1997-10-11 10:00 Daniel.Veillard
  0 siblings, 0 replies; only message in thread
From: Daniel.Veillard @ 1997-10-11 10:00 UTC (permalink / raw)
  To: egcs; +Cc: Daniel.Veillard

  Trying to compile egcs-971008 on a Linux-Sparc (SS5, pure RH-4.2 setup)
failed as soon as the new cross compiler is invoked. It seems that the
.eh_frame section has unaligned data :


~/src/egcs-971008/gcc -> make
./xgcc -B./  -DIN_GCC   -DUSE_GNULIBC_1 -g -I./include     -DNO_MEM 
-DNO_LONG_DOUBLE_IO -O0 -I. -c ./enquire.c
/tmp/cca32084.s: Assembler messages:
/tmp/cca32084.s:22916: Error: misaligned data
/tmp/cca32084.s:22931: Error: misaligned data

/tmp/cca32084.s:23846: Error: misaligned data
make: *** [enquire.o] Error 1
~/src/egcs-971008/gcc -> ./xgcc -B./  -DIN_GCC   -DUSE_GNULIBC_1 -g 
-I./include     -DNO_MEM -DNO_LONG_DOUBLE_IO -O0 -I. -S ./enquire.c


----------- "enquire.s" line 22892 of 23855 --96%-- ----------
.section        ".eh_frame",#alloc,#write
__FRAME_BEGIN__:
        .uaword .LLECIE1-.LLSCIE1
.LLSCIE1:
        .uaword 0xffffffff
        .byte   0x1
        .byte   0x0
        .byte   0x1
        .byte   0x7c
        .byte   0x65
        .byte   0xc
        .byte   0xe
        .byte   0x0
        .byte   0x9
        .byte   0x65
        .byte   0xf
        .align 4
.LLECIE1:
        .uaword .LLEFDE1-.LLSFDE1
.LLSFDE1:
        .uaword __FRAME_BEGIN__
        .uaword .LLFB1
        .uaword .LLFE1-.LLFB1
        .byte   0x4
        .uaword .LLCFI0-.LLFB1
        .byte   0xd
---------------------------------------------------------------

   All the warnings come from uaword misplaced after a byte. I guess
that uaword means "unaligned word", but the assembler choke on this.

~/src/egcs-971008/gcc -> as -v
GNU assembler version 2.7 (sparc-unknown-linux), using BFD version 2.7.0.2

  Do I need to upgrade my binutils before using Egcs, David any idea ?

BTW I keep on using egcs-latest with -O6 as my standard compiler on the
linux-i386, works well, good job guys !

  Daniel



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-10-11 10:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-11 10:00 Problem with egcs-971008 on Linux Sparc Daniel.Veillard

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