On Tue, Oct 21, 2014 at 10:17:23AM +0200, Aurelien Jarno wrote:
> On Tue, Oct 21, 2014 at 07:48:14AM +0200, Yann Dirson wrote:
> > Hello,
> > 
> > The new tau package fails to build on mips because it does not find
> > sys/cdefs.h.  Looks like all other archs have that header in the
> > default build environment, but for mips it seems to require
> > libc6-dev-mips64, which is probably not indended for 32bit targets.
> 
> MIPS also have <sys/cdefs.h> in /usr/include/<multiarch>/sys/cdefs.h by
> libc-6-dev like any other architectures. The problem there is that the
> build is forced to 64 bits via -mabi=64. In that case the 64-bit headers
> provided by libc6-dev-mips64 should be installed.
> 
> > What do you suggest ?
> > 
> > https://buildd.debian.org/status/package.php?p=tau&suite=unstable
> > https://packages.debian.org/search?searchon=contents&keywords=sys%2Fcdefs.h&mode=path&suite=unstable&arch=mips
> 
> Providing a 64-bit binary for a 32-bit architecture is not a good idea,
> the best would be to disable this -mabi=64 in the build.

It looks like the whole configure part is broken, assuming that MIPS CPU
are all sicortex (which is a platform dead for years) and that 32-bit
CPU are using the N32 abi.

It happened to build on mipsel because passing -arch=mipsel is not
recognized. Maybe that's the way to go, passing something like
-arch=generic to disable parts of the configure script?

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurel...@aurel32.net                 http://www.aurel32.net


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141021105145.gz...@hall.aurel32.net

Reply via email to