[Debian-med-packaging] Bug#727657: unconditional build dependency on g++-multilib

Dejan Latinovic Dejan.Latinovic at rt-rk.com
Fri Oct 25 18:38:14 UTC 2013


Hi,

> > uc-echo has an unconditional build dependency on g++-multilib, which
is not
> > available on all architectures.
> do you know a better choice?


maybe the better way would be to list all architectures that support
g++-multilib.
For sid those architectures are:  amd64, i386, kfreebsd-amd64, mips,
mipsel, powerpc, ppc64, s390x, sparc, sparc64, x32
For example, g++-multilib [amd64 i386 kfreebsd-amd64 mips mipsel powerpc
ppc64 s390x sparc sparc64 x32]


> > also, it fails to build on mips* which does have g++-multilib, so it
seems that
> > this package has hardcoded ix86 assumptions.
>
> The problem on mips* is not g++-multilib but the parameter "-m64" for gcc.
> Somewhere I read that -mabi=64 is default on mips, but 'gcc -dumpspecs'
> tells me:
>  *multilib_defaults:
>  EB mips1 mabi=32
> I guess I am totally confused now :-(. Can you please point me in the
> right direction?

Mips doesn't support neither "-m64" nor "-m32" options.
For MIPS64 you should use -mips64 -mabi=64.
For MIPS32 you should use defaults options.


Cheers,
Dejan Latinović



More information about the Debian-med-packaging mailing list