From: Joel Sherrill <joel@OARcorp.com>
To: gas2@cygnus.com
Subject: binutils 2.8.1 problem compiling gcc-2.8.0-971206
Date: Mon, 08 Dec 1997 06:09:00 -0000 [thread overview]
Message-ID: <Pine.BSF.3.96.971208075819.25006G-100000@vespucci.advicom.net> (raw)
I ran into this error compiling gcc-2.8.0-971206 for powerpc-rtems using
binutils 2.8.1:
for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3
_ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2
_floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi
_fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatdixf _fixunsxfsi _fixtfdi
_fixunstfdi _floatditf __gcc_bcmp _varargs __dummy _eprintf _op_new
_op_vnew _new_handler _op_delete _op_vdel _bb _shtab _clear_cache
_trampoline __main _exit _ctors _eh _pure; \
do \
echo ${name}; \
/usr1/rtems/work/tools_ada_311a/build-powerpc-tools/gcc/xgcc
-B/usr1/rtems/work/tools_ada_311a/build-powerpc-tools/gcc/ -O2
-DCROSS_COMPILE -DIN_GCC -O2 -g -I./include -g1 -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -fexceptions -mrelocatable-lib -mno-eabi
-mstrict-align -I. -I/usr1/rtems/work/tools_ada_311a/src/gcc
-I/usr1/rtems/work/tools_ada_311a/src/gcc/config -c -DL${name} \
/usr1/rtems/work/tools_ada_311a/src/gcc/libgcc2.c -o ${name}.o; \
if [ $? -eq 0 ] ; then true; else exit 1; fi; \
/usr1/rtems/work/tools_ada_311a/build-powerpc-tools/binutils/ar rc
tmplibgcc2.a ${name}.o; \
rm -f ${name}.o; \
.....
_eh
/tmp/cca08918.s:
Assembler messages: /tmp/cca08918.s:916: Internal error, aborting at
/usr1/rtems/work/tools_ada_311a/src/gas/config/tc-ppc.c line 4759 in
md_apply_fix3
I have cut off as much of the generated assembly as I could and still
produce the error. The resulting .s file is below my signature.
If there is a patch for this or if I should punt 2.8.1 and move to a
snapshot, please let me know. Thanks.
--joel
Joel Sherrill Director of Research & Development
joel@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (205) 722-9985
.file "libgcc2.c"
# rs6000/powerpc options: -msdata=data -G 8
# GNU C version 2.8.0 (powerpc-rtems) compiled by GNU C version 2.7.2.
# options passed: -mrelocatable-lib -mno-eabi -mstrict-align -g -g1 -O2
# -O2 -fexceptions
# options enabled: -fdefer-pop -fomit-frame-pointer -fcse-follow-jumps
# -fcse-skip-blocks -fexpensive-optimizations -fthread-jumps
# -fstrength-reduce -fpeephole -fforce-mem -ffunction-cse -finline
# -fkeep-static-consts -fcaller-saves -fpcc-struct-return
# -frerun-cse-after-loop -fschedule-insns -fschedule-insns2 -fPIC
# -fexceptions -fsjlj-exceptions -fcommon -fverbose-asm -fgnu-linker
# -mpowerpc -mnew-mnemonics -mno-fp-in-toc -mminimal-toc -mstrict-align
# -mrelocatable -mrelocatable-lib -mtoc -mfull-toc -mcall-sysv
# -msdata=data
.section ".text"
.Ltext0:
.align 2
.globl __default_terminate
.type __default_terminate,@function
__default_terminate:
stwu 1,-16(1)
mflr 0
stw 0,20(1)
bl abort@plt
.Lfe1:
.size __default_terminate,.Lfe1-__default_terminate
.Lscope0:
.globl __terminate_func
.section ".sdata","aw"
.align 2
.type __terminate_func,@object
.size __terminate_func,4
__terminate_func:
.LCP0:
.long (__default_terminate)@fixup
.section ".fixup","aw"
.align 2
.long .LCP0
.previous
.section ".got2","aw"
.LCTOC1 = .+32768
.LC0 = .-.LCTOC1
.long __terminate_func
.section ".text"
.align 2
.globl __terminate
.LCL0:
.long .LCTOC1-.LCF0
.type __terminate,@function
__terminate:
stwu 1,-16(1)
mflr 0
stw 30,8(1)
stw 31,12(1)
stw 0,20(1)
bl .LCF0
.LCF0:
mflr 30
lwz 0,(.LCL0-.LCF0)(30)
add 30,0,30
lwz 9,.LC0(30)
lwz 0,0(9)
mtlr 0
blrl
lwz 0,20(1)
mtlr 0
lwz 30,8(1)
lwz 31,12(1)
addi 1,1,16
blr
.Lfe2:
.size __terminate,.Lfe2-__terminate
.Lscope1:
.align 2
.globl __throw_type_match
.type __throw_type_match,@function
__throw_type_match:
stwu 1,-32(1)
mflr 0
stw 29,20(1)
stw 30,24(1)
stw 31,28(1)
stw 0,36(1)
mr 29,5
bl strcmp@plt
addic 3,3,-1
subfe 3,3,3
and 3,29,3
lwz 0,36(1)
mtlr 0
lwz 29,20(1)
lwz 30,24(1)
lwz 31,28(1)
addi 1,1,32
blr
.Lfe3:
.size __throw_type_match,.Lfe3-__throw_type_match
.Lscope2:
.align 2
.globl __empty
.type __empty,@function
__empty:
blr
.Lfe4:
.size __empty,.Lfe4-__empty
.Lscope3:
.globl __dynamic_handler_chain
.section ".sdata","aw"
.align 2
.type __dynamic_handler_chain,@object
.size __dynamic_handler_chain,4
__dynamic_handler_chain:
.LCP1:
.long (top_elt)@fixup
.section ".fixup","aw"
.align 2
.long .LCP1
.previous
.section ".got2","aw"
.LC1 = .-.LCTOC1
.long __dynamic_handler_chain
.section ".text"
.align 2
.globl __get_dynamic_handler_chain
.LCL1:
.long .LCTOC1-.LCF1
.type __get_dynamic_handler_chain,@function
__get_dynamic_handler_chain:
stwu 1,-16(1)
mflr 0
stw 30,8(1)
stw 31,12(1)
stw 0,20(1)
bl .LCF1
.LCF1:
mflr 30
lwz 0,(.LCL1-.LCF1)(30)
add 30,0,30
lwz 3,.LC1(30)
lwz 0,20(1)
mtlr 0
lwz 30,8(1)
lwz 31,12(1)
addi 1,1,16
blr
.Lfe5:
.size __get_dynamic_handler_chain,.Lfe5-__get_dynamic_handler_chain
.Lscope4:
.section ".got2","aw"
.LC2 = .-.LCTOC1
.long .L11
.LC3 = .-.LCTOC1
.long __eh_info
.LC4 = .-.LCTOC1
.long top_elt
.LC5 = .-.LCTOC1
.long __dummy
.section ".text"
.align 2
.globl __sjthrow
.LCL2:
.long .LCTOC1-.LCF2
.type __sjthrow,@function
__sjthrow:
stwu 1,-1856(1)
mflr 0
mfcr 12
stfd 14,1712(1)
stfd 15,1720(1)
stfd 16,1728(1)
stfd 17,1736(1)
stfd 18,1744(1)
stfd 19,1752(1)
stfd 20,1760(1)
stfd 21,1768(1)
stfd 22,1776(1)
stfd 23,1784(1)
stfd 24,1792(1)
stfd 25,1800(1)
stfd 26,1808(1)
stfd 27,1816(1)
stfd 28,1824(1)
stfd 29,1832(1)
stfd 30,1840(1)
stfd 31,1848(1)
stw 14,1640(1)
stw 15,1644(1)
stw 16,1648(1)
stw 17,1652(1)
stw 18,1656(1)
stw 19,1660(1)
stw 20,1664(1)
stw 21,1668(1)
stw 22,1672(1)
stw 23,1676(1)
stw 24,1680(1)
stw 25,1684(1)
stw 26,1688(1)
stw 27,1692(1)
stw 28,1696(1)
stw 29,1700(1)
stw 30,1704(1)
stw 31,1708(1)
stw 0,1860(1)
stw 12,1636(1)
mr 31,1
bl .LCF2
.LCF2:
mflr 30
lwz 0,(.LCL2-.LCF2)(30)
add 30,0,30
bl __get_dynamic_handler_chain@plt
stw 3,1608(31)
lwz 9,0(3)
lwz 0,4(9)
cmpwi 1,0,0
addi 9,9,4
stw 9,1612(31)
bc 12,6,.L9
addi 8,31,8
stw 8,1616(31)
li 0,0
stw 0,4(8)
mr 10,3
lwz 0,0(10)
stw 0,8(31)
mr 0,8
lwz 9,.LC2(30)
stwu 0,8(8)
stw 8,1620(31)
stw 9,4(8)
lwz 0,0(1)
li 9,0
stw 1,12(8)
stw 0,8(8)
b .L12
.L11:
addi 31,31,-8
bl .LCF3
.LCL3:
next reply other threads:[~1997-12-08 6:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-12-08 6:09 Joel Sherrill [this message]
1997-12-08 9:26 ` Ian Lance Taylor
1997-12-08 11:20 ` Joel Sherrill
1997-12-08 11:20 ` Ian Lance Taylor
1997-12-08 11:32 ` Joel Sherrill
1997-12-08 14:38 ` H.J. Lu
1997-12-08 14:14 ` Ian Lance Taylor
1997-12-08 14:22 ` H.J. Lu
1997-12-08 14:38 ` Ian Lance Taylor
1997-12-11 8:35 ` soname patch for gas2 H.J. Lu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.BSF.3.96.971208075819.25006G-100000@vespucci.advicom.net \
--to=joel@oarcorp.com \
--cc=gas2@cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).