This is the mail archive of the gcc@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]

Re: bootstrap of HEAD fails on FreeBSD AMD2 due to __clzdi2



On Aug 3, 2004, at 11:46 AM, Steve Kargl wrote:


On Tue, Aug 03, 2004 at 11:29:06AM -0700, Andrew Pinski wrote:

On Aug 3, 2004, at 11:22 AM, Steve Kargl wrote:


libbackend.a(real.o)(.text+0x3138): In function `floor_log2':
../../gcc/gcc/toplev.h:180: undefined reference to `__clzdi2'
libbackend.a(rtlanal.o)(.text+0x87d8):../../gcc/gcc/toplev.h:180: more
undefined references to `__clzdi2' follow

This sounds like you started with one compiler and the continued with another.


The only compiler on the system is


dhcp-78-96:sgk[233] gcc --version
gcc (GCC) 3.4.2 [FreeBSD] 20040728


Then this is a bug your system compiler and you have the wrong version of libgcc as these
symbols come from there.


These builtins (__builtin_clzll and __builtin_clzl) were new for 3.4.0.

Thanks,
Andrew Pinski


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