[uClibc] Problem building SH4 gcc-3.3.1 toolchain

Paul van Gool paul.vangool at rinconnetworks.com
Fri Sep 19 19:24:00 UTC 2003


I guess it's a different issue after all. I now get:

Finding missing symbols in libc.a ...
    partial linking...
Symbol __sdivsi3_i4 needed by libc.a but not found in libgcc.a
Symbol __udivsi3_i4 needed by libc.a but not found in libgcc.a

Paul

On Fri, Sep 19, 2003 at 11:48:26AM -0700, Paul van Gool wrote:
> Darn, that's where the ADD_LIBGCC_FUNCTIONS option is for, right? I ran
> into that before several months ago. I knew it seemed familiar ;-).
> 
> Thanks.
> 
> Paul
> 
> On Fri, Sep 19, 2003 at 12:20:00PM -0600, Manuel Novoa III wrote:
> > On Fri, Sep 19, 2003 at 11:16:09AM -0700, Paul van Gool wrote:
> > > /home/vangool/toolchain/gcc-3.3.1/toolchain_sh/sh-linux/lib/libc.so:
> > > undefined reference to `__sdivsi3_i4'
> > > /home/vangool/toolchain/gcc-3.3.1/toolchain_sh/sh-linux/lib/libc.so:
> > > undefined reference to `__udivsi3_i4'
> > > collect2: ld returned 1 exit status
> > 
> > > Any idea where those two symbols are (or should be)?
> > 
> > Probably libgcc support routines.  It should be done automaticly,
> > but try adding -lgcc to your link.
> > 
> > Manuel
> 
> -- 
> Paul van Gool                                               Rincon Networks
> paul.vangool at rinconnetworks.com                              (805)-705-1442
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://uclibc.org/mailman/listinfo/uclibc

-- 
Paul van Gool                                               Rincon Networks
paul.vangool at rinconnetworks.com                              (805)-705-1442



More information about the uClibc mailing list