From: "Jagat Brahma" <jpbrahma@hotmail.com>
To: nickc@cygnus.com
Cc: gcc@gcc.gnu.org
Subject: RE: Build problems; Please help
Date: Mon, 24 Jul 2000 16:19:00 -0000 [thread overview]
Message-ID: <LAW2-F57lb2vHJXjzsv00003aa5@hotmail.com> (raw)
>Hi Jagat,
>
>: I have build gas as part of the package binutils. It is build and
>: it is picking up the assembler that is build for the arm. Here is
>: the output with -v flag to the gcc.
>
>: cc1 /var/tmp/ccmGXaHg.i -mthumb -g -g1 -O2 -version -fno-inline -o
>: /var/tmp/ccH7l0Fp.s
>
>: as -o libgcc/thumb/_divdi3.o /var/tmp/ccH7l0Fp.s
>
>: /var/tmp/ccH7l0Fp.s:353: Error: bad instruction `push {r4,r5,r6,r7,lr}'
>: : -------------------------------------------------
>: This shows that it is picking up the correct assembler binary.
>
>OK - I was wrong, sorry.
>
>Presumably then the compiler is producing a bad assembler output,
>which is then being rejected. Can you show us what the assembler
>output around line 353 looks like ?
Here is the output
(the actual line number in the prev mail was a typo the actual line
number is 95)
====================================================
/home/jbrahma/local/zip/build-egcs/gcc/xgcc
-B/home/jbrahma/local/zip/build-egcs/gcc/
-B/home/jbrahma/local/arm-wrs-vxworks/bin/
-I/home/jbrahma/local/arm-wrs-vxworks/include -O2
-DCROSS_COMPILE -DIN_GCC -DSVR4 -g -O2 -isystem
./include -Dinhibit_libc -fno-inline -g1 -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I.
-I../../egcs-20000717/gcc -I../../egcs-20000717/gcc/config
-I../../egcs-20000717/gcc/../include -mthumb -DL_muldi3
-c ../../egcs-20000717/gcc/libgcc2.c -o libgcc/thumb/_muldi3.o
/var/tmp/ccAGbkAf.s: Assembler messages:
/var/tmp/ccAGbkAf.s:95: Error: bad instruction `push {r4,r5,r6,r7,lr}'
make[2]: *** [libgcc/thumb/_muldi3.o] Error 1
make[2]: Leaving directory `/home/jbrahma/local/zip/build-egcs/gcc'
-----------------------------------------------------------------
-----------------------libgcc2.s---------------------------------
.stabn 162,0,0,0
.align 0
.stabs "__muldi3:F(17,7)",36,0,187,___muldi3
.stabs "u:P(17,7)",64,0,186,0
.stabs "v:P(17,7)",64,0,186,2
.global ___muldi3
.thumb_func
___muldi3:
line 95:>>>> push {r4, r5, r6, r7, lr}
@ Inlined umul_ppmm
mov r5, r0, lsr #16
mov r7, r2, lsr #16
bic r4, r0, r5, lsl #16
bic lr, r2, r7, lsl #16
mul ip, r4, lr
mul lr, r5, lr
mul r4, r7, r4
mul r7, r5, r7
adds r4, lr, r4
addcs r7, r7, #65536
adds ip, ip, r4, lsl #16
adc r7, r7, r4, lsr #16
-----------------------------------------
Moreover if I remove the option -mthumb it works.
Again it tries to build the multilib with --enable-multilib=no.
Here is the configure script that I used.
../egcs-20000717/configure --prefix=/home/jbrahma/local
--target=arm-wrs-vxworks \
--with-newlib --disable-biendian --enable-languages="c c++"
--enable-multilib=no \
--with-cpu=strongarm110
Thanks
JP Brahma
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
next reply other threads:[~2000-07-24 16:19 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-07-24 16:19 Jagat Brahma [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-07-26 16:47 Jagat Brahma
2000-07-26 16:26 Nick Clifton
2000-07-26 15:02 Jagat Brahma
2000-07-26 14:22 Nick Clifton
2000-07-26 10:26 Phil Edwards
2000-07-26 10:32 ` Philipp Thomas
2000-07-25 11:54 Jagat Brahma
2000-07-25 10:27 Jagat Brahma
2000-07-25 8:38 Phil Edwards
2000-07-25 18:09 ` Philipp Thomas
2000-07-24 17:27 Nick Clifton
2000-07-24 15:46 Mike Stump
2000-07-24 15:24 Jagat Brahma
2000-07-24 14:55 Phil Edwards
2000-07-24 19:15 ` Philipp Thomas
2000-07-24 14:33 Nick Clifton
2000-07-24 13:24 Jagat Brahma
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=LAW2-F57lb2vHJXjzsv00003aa5@hotmail.com \
--to=jpbrahma@hotmail.com \
--cc=gcc@gcc.gnu.org \
--cc=nickc@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).