From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25727 invoked by alias); 2 Apr 2010 18:05:07 -0000 Received: (qmail 25281 invoked by uid 22791); 2 Apr 2010 18:05:03 -0000 X-SWARE-Spam-Status: No, hits=0.1 required=5.0 tests=BAYES_40,TW_LG,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from relay2.gtri.gatech.edu (HELO relay1.gtri.gatech.edu) (130.207.199.168) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 02 Apr 2010 18:04:56 +0000 Received: from apatlisdmfe1.core.gtri.org (apatlisdmfe1.core.gtri.org [130.207.199.70]) by relay1.gtri.gatech.edu (Spam Firewall) with ESMTP id 45F408005F2 for ; Fri, 2 Apr 2010 14:03:01 -0400 (EDT) Received: from apatlisdmfe1.core.gtri.org (apatlisdmfe1.core.gtri.org [130.207.199.70]) by relay1.gtri.gatech.edu with ESMTP id r0LAICcqV3uuWFvl for ; Fri, 02 Apr 2010 14:03:03 -0400 (EDT) Received: from apccrseamail26.seal.gtri.org ([130.207.222.104]) by apatlisdmfe1.core.gtri.org ([2002:82cf:c746::82cf:c746]) with mapi; Fri, 2 Apr 2010 14:03:01 -0400 From: To: Date: Fri, 02 Apr 2010 18:05:00 -0000 Subject: Help with an Wierd Error Message-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2010-04/txt/msg00039.txt.bz2 Hello Everyone, I am trying to build an OpenRISC port of GCC. I am not getting much r= esponse from the OR32 people, and this error sounds a bit generic from goog= le searches so I thought if someone would know how to solve it. I build binutils, gcc and newlib as they mentioned in the or32 website. Bu= t now I am getting this wierd error when I am trying to compile "Hello Worl= d" program =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D or32-elf-gcc -v /tmp/test.c Reading specs from /opt/or32/lib/gcc/or32-elf/4.2.2/specs Target: or32-elf Configured with: ../gcc-4.2.2/configure --target=3Dor32-elf --prefix=3D/opt= /or32 --with-gnu-as --with-gnu-ld --disable-libssp --with-newlib --enable-l= anguages=3Dc --disable-checking Thread model: single gcc version 4.2.2 /opt/or32/libexec/gcc/or32-elf/4.2.2/cc1 -quiet -v test.c -quiet -dumpbase= test.c -auxbase test -version -o /var/folders/kX/kXco8IKOGbKCP9ef7v-8K++++= TI/-Tmp-//cch1Gb3x.s ignoring nonexistent directory "/opt/or32/lib/gcc/or32-elf/4.2.2/../../../.= ./or32-elf/sys-include" #include "..." search starts here: #include <...> search starts here: /opt/or32/lib/gcc/or32-elf/4.2.2/include /opt/or32/lib/gcc/or32-elf/4.2.2/../../../../or32-elf/include End of search list. GNU C version 4.2.2 (or32-elf) compiled by GNU C version 4.2.1 (Apple Inc. build 5646) (dot 1). GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 Compiler executable checksum: 9e4259fc872a297ae129c5bc285bd4ea /opt/or32/lib/gcc/or32-elf/4.2.2/../../../../or32-elf/bin/as -o /var/folde= rs/kX/kXco8IKOGbKCP9ef7v-8K++++TI/-Tmp-//ccMYERCM.o /var/folders/kX/kXco8IK= OGbKCP9ef7v-8K++++TI/-Tmp-//cch1Gb3x.s /opt/or32/libexec/gcc/or32-elf/4.2.2/collect2 /opt/or32/lib/gcc/or32-elf/4= .2.2/../../../../or32-elf/lib/crt0.o -L/opt/or32/lib/gcc/or32-elf/4.2.2 -L/= opt/or32/lib/gcc/or32-elf/4.2.2/../../../../or32-elf/lib /var/folders/kX/kX= co8IKOGbKCP9ef7v-8K++++TI/-Tmp-//ccMYERCM.o -lgcc -lc -lgcc -lor32 -lc -lgc= c -lc -lor32 /opt/or32/lib/gcc/or32-elf/4.2.2/../../../../or32-elf/lib/crt0.o: In functi= on `loop': (.text+0x54): undefined reference to `_stack' /opt/or32/lib/gcc/or32-elf/4.2.2/../../../../or32-elf/lib/crt0.o: In functi= on `loop': (.text+0x64): undefined reference to `___bss_start' /opt/or32/lib/gcc/or32-elf/4.2.2/../../../../or32-elf/lib/crt0.o: In functi= on `loop': (.text+0x6c): undefined reference to `__end' /opt/or32/lib/gcc/or32-elf/4.2.2/../../../../or32-elf/lib/libc.a(lib_a-find= fp.o): In function `__sfmoreglue': /home_dir/Research/OpenRISC/b-gcc/or32-elf/newlib/libc/stdio/../../../../..= /gcc-4.2.2/newlib/libc/stdio/findfp.c:88: undefined reference to `___mulsi3' /opt/or32/lib/gcc/or32-elf/4.2.2/../../../../or32-elf/lib/libor32.a(sbrk.o)= : In function `sbrk': /home_dir/Research/OpenRISC/b-gcc/or32-elf/libgloss/or32/../../../../gcc-4.= 2.2/libgloss/or32/sbrk.c:37: undefined reference to `__stack' /home_dir/Research/OpenRISC/b-gcc/or32-elf/libgloss/or32/../../../../gcc-4.= 2.2/libgloss/or32/sbrk.c:35: undefined reference to `__end' /opt/or32/lib/gcc/or32-elf/4.2.2/../../../../or32-elf/lib/libc.a(lib_a-vfpr= intf.o): In function `_vfprintf_r': /home_dir/Research/OpenRISC/b-gcc/or32-elf/newlib/libc/stdio/../../../../..= /gcc-4.2.2/newlib/libc/stdio/vfprintf.c:1314: undefined reference to `___um= odsi3' /home_dir/Research/OpenRISC/b-gcc/or32-elf/newlib/libc/stdio/../../../../..= /gcc-4.2.2/newlib/libc/stdio/vfprintf.c:1315: undefined reference to `___ud= ivsi3' /home_dir/Research/OpenRISC/b-gcc/or32-elf/newlib/libc/stdio/../../../../..= /gcc-4.2.2/newlib/libc/stdio/vfprintf.c:1597: undefined reference to `___mo= dsi3' /home_dir/Research/OpenRISC/b-gcc/or32-elf/newlib/libc/stdio/../../../../..= /gcc-4.2.2/newlib/libc/stdio/vfprintf.c:1598: undefined reference to `___di= vsi3' /opt/or32/lib/gcc/or32-elf/4.2.2/../../../../or32-elf/lib/libc.a(lib_a-dtoa= .o): In function `quorem': /home_dir/Research/OpenRISC/b-gcc/or32-elf/newlib/libc/stdlib/../../../../.= ./gcc-4.2.2/newlib/libc/stdlib/dtoa.c:60: undefined reference to `___udivsi= 3' /home_dir/Research/OpenRISC/b-gcc/or32-elf/newlib/libc/stdlib/../../../../.= ./gcc-4.2.2/newlib/libc/stdlib/dtoa.c:73: undefined reference to `___mulsi3' /home_dir/Research/OpenRISC/b-gcc/or32-elf/newlib/libc/stdlib/../../../../.= ./gcc-4.2.2/newlib/libc/stdlib/dtoa.c:74: undefined reference to `___mulsi3' /opt/or32/lib/gcc/or32-elf/4.2.2/../../../../or32-elf/lib/libc.a(lib_a-mpre= c.o): In function `__multiply': /home_dir/Research/OpenRISC/b-gcc/or32-elf/newlib/libc/stdlib/../../../../.= ./gcc-4.2.2/newlib/libc/stdlib/mprec.c:366: undefined reference to `___muls= i3' /home_dir/Research/OpenRISC/b-gcc/or32-elf/newlib/libc/stdlib/../../../../.= ./gcc-4.2.2/newlib/libc/stdlib/mprec.c:368: undefined reference to `___muls= i3' /home_dir/Research/OpenRISC/b-gcc/or32-elf/newlib/libc/stdlib/../../../../.= ./gcc-4.2.2/newlib/libc/stdlib/mprec.c:383: undefined reference to `___muls= i3' /opt/or32/lib/gcc/or32-elf/4.2.2/../../../../or32-elf/lib/libc.a(lib_a-mpre= c.o):/home_dir/Research/OpenRISC/b-gcc/or32-elf/newlib/libc/stdlib/../../..= /../../gcc-4.2.2/newlib/libc/stdlib/mprec.c:386: more undefined references = to `___mulsi3' follow /opt/or32/lib/gcc/or32-elf/4.2.2/../../../../or32-elf/lib/libc.a(lib_a-mpre= c.o): In function `__s2b': /home_dir/Research/OpenRISC/b-gcc/or32-elf/newlib/libc/stdlib/../../../../.= ./gcc-4.2.2/newlib/libc/stdlib/mprec.c:201: undefined reference to `___divs= i3' /opt/or32/lib/gcc/or32-elf/4.2.2/../../../../or32-elf/lib/libc.a(lib_a-call= ocr.o): In function `_calloc_r': /home_dir/Research/OpenRISC/b-gcc/or32-elf/newlib/libc/stdlib/../../../../.= ./gcc-4.2.2/newlib/libc/stdlib/mallocr.c:3202: undefined reference to `___m= ulsi3' /opt/or32/lib/gcc/or32-elf/4.2.2/libgcc.a(_muldi3.o): In function `__muldi3= ': /home_dir/Research/OpenRISC/b-gcc/gcc/../../gcc-4.2.2/gcc/libgcc2.c:536: un= defined reference to `___mulsi3' /home_dir/Research/OpenRISC/b-gcc/gcc/../../gcc-4.2.2/gcc/libgcc2.c:536: un= defined reference to `___mulsi3' /home_dir/Research/OpenRISC/b-gcc/gcc/../../gcc-4.2.2/gcc/libgcc2.c:536: un= defined reference to `___mulsi3' /home_dir/Research/OpenRISC/b-gcc/gcc/../../gcc-4.2.2/gcc/libgcc2.c:536: un= defined reference to `___mulsi3' /opt/or32/lib/gcc/or32-elf/4.2.2/libgcc.a(_muldi3.o):/home_dir/Research/Ope= nRISC/b-gcc/gcc/../../gcc-4.2.2/gcc/libgcc2.c:538: more undefined reference= s to `___mulsi3' follow collect2: ld returned 1 exit status =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D Any help is highly appreciated! Yours Sincerely, Balaji V. Iyer. PS. Please CC me in your response since I am not a subscribed member of thi= s mailing list. Balaji V. Iyer, Ph.D. Research Engineer, Sensors & EM Applications Laboratory, Georgia Tech Research Institute