public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: apoorvar@hexaware.com
To: gcc-gnats@gcc.gnu.org
Subject: other/7645: nisa-elf-gcc fails to compile a helloworld application.
Date: Tue, 20 Aug 2002 02:27:00 -0000	[thread overview]
Message-ID: <20020820091121.15032.qmail@sources.redhat.com> (raw)


>Number:         7645
>Category:       other
>Synopsis:       nisa-elf-gcc fails to compile a helloworld application.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 20 02:16:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     apoorvar@hexaware.com
>Release:        gcc 2.95
>Organization:
>Environment:
SUSE/Linux 8.0 targetting nisa-elf
>Description:
nisa-elf-gcc -I /home/opt/uClinux/blackfin/build-install/nisa-elf/lib/include -L /home/opt/uClinux/blackfin/install-libs/lib -v hello.c -N

fails with the following error:
 
Reading specs from /home/opt/uClinux/blackfin/build-install/lib/gcc-lib/nisa-elf/2.95.3/specs
gcc version 2.95.3 20010315 (release)
 /home/opt/uClinux/blackfin/build-install/lib/gcc-lib/nisa-elf/2.95.3/cpp0 -lang-c -v -I /home/opt/uClinux/blackfin/build-install/nisa-elf/lib/include -D__GNUC__=2 -D__GNUC_MINOR__=95 -Dnisa -DNISA -DFRIO -Dfrio -D__nisa__ -D__NISA__ -D__FRIO__ -D__frio__ -D__nisa -D__NISA -D__FRIO -D__frio hello.c /tmp/ccNZBWdQ.i
GNU CPP version 2.95.3 20010315 (release) (BlackFin nisa)
#include "..." search starts here:
#include <...> search starts here:
 /home/opt/uClinux/blackfin/build-install/nisa-elf/lib/include
 /home/opt/uClinux/blackfin/build-install/lib/gcc-lib/nisa-elf/2.95.3/include
 /home/opt/uClinux/blackfin/build-install/lib/gcc-lib/nisa-elf/2.95.3/../../../../nisa-elf/sys-include
 /home/opt/uClinux/blackfin/build-install/lib/gcc-lib/nisa-elf/2.95.3/../../../../nisa-elf/include
End of search list.
The following default directories have been omitted from the search path:
 /home/opt/uClinux/blackfin/build-install/lib/gcc-lib/nisa-elf/2.95.3/../../../../include/g++-3
End of omitted list.
 /home/opt/uClinux/blackfin/build-install/lib/gcc-lib/nisa-elf/2.95.3/cc1 /tmp/ccNZBWdQ.i -O2 -quiet -dumpbase hello.c -version -o /tmp/ccsSsVnx.s
GNU C version 2.95.3 20010315 (release) (nisa-elf) compiled by GNU C version 2.95.3 20010315 (SuSE).
 /home/opt/uClinux/blackfin/build-install/nisa-elf/bin/as -I /home/opt/uClinux/blackfin/build-install/nisa-elf/lib/include -I /home/opt/uClinux/blackfin/build-install/lib/gcc-lib/nisa-elf/2.95.3/include/asm -o /tmp/cc3aErrf.o /tmp/ccsSsVnx.s
 /home/opt/uClinux/blackfin/build-install/lib/gcc-lib/nisa-elf/2.95.3/collect2 -N crt0.o -L /home/opt/uClinux/blackfin/install-libs/lib -L/home/opt/uClinux/blackfin/build-install/lib/gcc-lib/nisa-elf/2.95.3 -L/home/opt/uClinux/blackfin/build-install/nisa-elf/lib /tmp/cc3aErrf.o -lgcc -lc -lgcc
/home/opt/uClinux/blackfin/build-install/nisa-elf/bin/ld: warning: cannot find entry symbol start; defaulting to 00000000
crt0.o: In function `_start':
crt0.o(.text+0x10): undefined reference to `__uClibc_main'
/home/opt/uClinux/blackfin/install-libs/lib/libc.a(dtostr.o): In function `___dtostr':
dtostr.o(.text+0x74): undefined reference to `___nedf2'
dtostr.o(.text+0xa8): undefined reference to `___eqdf2'
dtostr.o(.text+0xc8): undefined reference to `___ltdf2'
dtostr.o(.text+0xde): undefined reference to `___negdf2'
dtostr.o(.text+0x106): undefined reference to `___muldf3'
dtostr.o(.text+0x11e): undefined reference to `___eqdf2'
dtostr.o(.text+0x182): undefined reference to `___muldf3'
dtostr.o(.text+0x1b6): undefined reference to `___ltdf2'
dtostr.o(.text+0x204): undefined reference to `___muldf3'
dtostr.o(.text+0x228): undefined reference to `___ltdf2'
dtostr.o(.text+0x242): undefined reference to `___muldf3'
dtostr.o(.text+0x282): undefined reference to `___divdf3'
dtostr.o(.text+0x2a4): undefined reference to `___gedf2'
dtostr.o(.text+0x2ba): undefined reference to `___divdf3'
dtostr.o(.text+0x300): undefined reference to `___gedf2'
dtostr.o(.text+0x31e): undefined reference to `___divdf3'
dtostr.o(.text+0x348): undefined reference to `_(float, int, long long, double, float, short, int)'
dtostr.o(.text+0x350): undefined reference to `___floatsidf'
dtostr.o(.text+0x364): undefined reference to `___subdf3'
dtostr.o(.text+0x384): undefined reference to `___muldf3'
collect2: ld returned 1 exit status


>How-To-Repeat:
configure and build per description.
I used binutils 2.9.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2002-08-20  9:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-20  2:27 apoorvar [this message]
2003-02-18  6:23 bje

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=20020820091121.15032.qmail@sources.redhat.com \
    --to=apoorvar@hexaware.com \
    --cc=gcc-gnats@gcc.gnu.org \
    /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).