From: Joel Sherrill <joel@OARcorp.com>
To: gas2@cygnus.com
Subject: binutils 2.9 powerpc-rtems breakage
Date: Mon, 13 Apr 1998 14:21:00 -0000 [thread overview]
Message-ID: <Pine.BSF.3.96.980413161444.20980a-100000@vespucci.advicom.net> (raw)
I switched binutils 2.9 in my tree for gas-980314 and was unable to
complete a one-tree style build of binutils 2.9, egcs 1.0.2, and newlib
1.8.0. The compilation aborted when trying to compile libgcc2.c for
_muldi3. I cut the command down to the following:
/usr1/rtems/work/tools/build-powerpc-tools/gcc/xgcc \
-B/usr1/rtems/work/tools/build-powerpc-tools/gcc/ -O2 -DCROSS_COMPILE \
-DIN_GCC -O2 -I./include -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED \
-fexceptions -Dinhibit_libc -mlittle -mrelocatable-lib -mno-eabi \
-mstrict-align -I. -I../../src/gcc -I../../src/gcc/config -DL_muldi3 \
../../src/gcc/libgcc2.c -c -v
which produces the following output:
Reading specs from /usr1/rtems/work/tools/build-powerpc-tools/gcc/specs
gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)
/usr1/rtems/work/tools/build-powerpc-tools/gcc/cpp -lang-c -v -I./include
-I. -I../../src/gcc -I../../src/gcc/config -isystem
/usr1/rtems/work/tools/build-powerpc-tools/gcc/include -undef -D__GNUC__=2
-D__GNUC_MINOR__=90 -DPPC -Drtems -D__rtems__ -D__PPC__ -D__rtems__
-D__rtems__ -D__PPC -D__rtems -Asystem(rtems) -Acpu(powerpc)
-Amachine(powerpc) -D__CHAR_UNSIGNED__ -D__OPTIMIZE__ -g1 -D_RELOCATABLE
-D_CALL_SYSV -D_LITTLE_ENDIAN -D__LITTLE_ENDIAN__ -Amachine(littleendian)
-D_ARCH_PPC -DCROSS_COMPILE -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-Dinhibit_libc -DL_muldi3 ../../src/gcc/libgcc2.c /tmp/cca06464.i
GNU CPP version egcs-2.90.27 980315 (egcs-1.0.2 release) (PowerPC
Embedded)
#include "..." search starts here:
#include <...> search starts here:
include
.
../../src/gcc
../../src/gcc/config
/usr1/rtems/work/tools/build-powerpc-tools/gcc/include
/home/joel/egcs-1.0.2/powerpc-rtems/lib/gcc-lib/powerpc-rtems/egcs-2.90.27/include
/home/joel/egcs-1.0.2/powerpc-rtems/powerpc-rtems/include
End of search list.
/usr1/rtems/work/tools/build-powerpc-tools/gcc/cc1 /tmp/cca06464.i -quiet
-dumpbase libgcc2.c -mlittle -mrelocatable-lib -mno-eabi -mstrict-align
-g1 -O2 -O2 -version -fexceptions -o /tmp/cca06464.s
GNU C version egcs-2.90.27 980315 (egcs-1.0.2 release) (powerpc-rtems)
compiled by GNU C version 2.7.2.3.
/usr1/rtems/work/tools/build-powerpc-tools/gcc/as -mppc -V -Qy
-mrelocatable-lib -mlittle -o libgcc2.o /tmp/cca06464.s
GNU assembler version 2.9 (powerpc-rtems), using BFD version 2.9
Assembler messages:
FATAL: Can't create libgcc2.o: Invalid bfd target
1 returned
I can produce a .s file using -s and then assemble that file with:
./as -mppc -V -Qy -mrelocatable-lib libgcc2.s
which indicates to me that somehow the rtems configuration lost support
for the -mlittle option. powerpc-rtems should be identical to
powerpc-eabi if that trips anyone's memory.
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
next reply other threads:[~1998-04-13 14:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-04-13 14:21 Joel Sherrill [this message]
[not found] <199804132223.SAA11602@subrogation.cygnus.com>
1998-04-14 11:21 ` Joel Sherrill
1998-04-14 10:42 ` Ian Lance Taylor
1998-04-14 11:21 ` Joel Sherrill
1998-04-14 11:21 ` Ian Lance Taylor
1998-04-14 11:58 ` Joel Sherrill
1998-04-14 11:58 ` Ian Lance Taylor
1998-04-14 12:49 ` Joel Sherrill
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.980413161444.20980a-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).