Hi,

On Tue, 23 Feb 2021 08:49:22 +0100 Christian Marillat <maril...@debian.org> 
wrote:
> Package: binutils
> Version: 2.35.2-2
> Severity: serious
> 
> Dear Maintainer,
> 
> Fell free to reassign this bug if needed.
> 
> Since this binutils version I'm unable to build any package.
> 
> I'm building i386 packages under pebuilder amd64.
> 
> These crashes aren't related to hardware.  I able to reproduce that under an
> I7 2600K and AMD 3900 XT.
> 
> Log are for mjpegtools_2.1.0+debian-6 and gst-plugins-bad1.0_1.18.3-1 
> packages.
> 
> Attached files are the build ouput from pebuilder *.build.gz files and GCC
> Preprocessed source.

From a quick look, it seems you are trying cross compilation in some
unsupported way. For example, one of your logs shows:

----------------8<----------------8<----------------8<-----------------
checking whether we are cross compiling... configure: error: in 
`/build/mjpegtools-2.1.0+debian':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
        tail -v -n \+0 config.log
----------------8<----------------8<----------------8<------------------

I could cross compile mjpegtools to i386 locally with sbuild, using the
following (check the logs attached)

sbuild --dist unstable --host i386 mjpegtools

Note that for cross compilation to work, dpkg-buildpackage needs to get
an appropriate -a/--host-arch parameter. For example this is what the
above sbuild invocation produces:

Command: dpkg-buildpackage --sanitize-env -ai386 -Pcross,nocheck -us -uc 
-rfakeroot -j2

You log for mjpegtools, for example, shows:

dpkg-buildpackage -us -uc -B -us -uc -j24

Attachment: mjpegtools_i386-2021-02-23T11:05:53Z.build.gz
Description: application/gzip

Attachment: signature.asc
Description: PGP signature

Reply via email to