This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

other/7645: nisa-elf-gcc fails to compile a helloworld application.


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]