[uClibc] Problem building SH4 gcc-3.3.1 toolchain

Paul van Gool paul.vangool at rinconnetworks.com
Fri Sep 19 18:48:26 UTC 2003


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



More information about the uClibc mailing list