[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: arm buildd fails kdelibs



On Mon, 2003-04-14 at 08:35, Chris Cheney wrote:
> I noticed that the arm buildd is failing to build kdelibs. It gives an
> error about a multiply defined function. I do not understand why it is
> failing though since it works on all the other buildds. Can someone
> familiar with arm look into it?
> 
> Here is the log:
> 
> http://buildd.debian.org/fetch.php?&pkg=kdelibs&ver=4%3A3.1.1-1&arch=arm&stamp=1049165170&file=log&as=raw

Oh, sorry, I'd planned to file a bug about this but I forgot.

I think the problem is with libtool's overly-conservative view of ARM
dynamic linker behaviour, which is leading it to statically link a whole
slew of libraries that should be shared.

The particular piece of code that's to blame is this section in
libtool.m4.in:

linux*)
  case $host_cpu in
  alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* |
sparc* | s390* | sh* | x86_64* )
    lt_cv_deplibs_check_method=pass_all ;;
  *)
    # glibc up to 2.1.1 does not perform some relocations on ARM
    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit
[[LM]]SB (shared object|dynamic lib )' ;;
  esac

Adding "arm*" to the list of cpu types on the first line of the case
will probably make the problem go away.

p.



Reply to: