Re: Something fishy with the toolchain in unstable

James Cowgill <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <[email protected]>
Hi,

On Mon, 2015-08-17 at 08:07 +0000, Jurica Stanojkovic wrote:
> Hello,
> 
> Package that I have used for build are:
> 
> libgccjit-5-dev_5.1.1-14
> libgccjit0_5.1.1-14
> gcc-5-base_5.1.1-14
> 
> With those packages installed error:
> /tmp/libgccjit-JbKzhg/fake.s:14: Error: `fp=xx' used with a cpu 
> lacking ldc1/sdc1 instructions
> those not occur during pygccjit build any more.

So in GCC 5, the FPXX ABI has been enabled by default.

FPXX does not work when compiling for mips1 CPUs so the GCC driver will
always pass '-march=mips2 -mfpxx' to as so that this error doesn't
occur. The error could also happen if the CPU was overridden in the .s
file (eg by '.set mips1').

Is it possible for you to get the contents of fake.s and the gcc driver
invocation which it tried to compile it with (it should be invoking
mipsel-linux-gnu-gcc-5 with some args)?

This build log was run against gcc-5_5.1.1-13 and gives a different
error:
https://buildd.debian.org/status/fetch.php?pkg=pygccjit&arch=mipsel&ver=0.4-4&stamp=1436320448

Thanks,
James
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAABCgAGBQJV0ar9AAoJEMfxZ23qLQHvcUIP/2c9B6/kaBVCe18XEvXYcurT
4yHPpj7SmgW55nYPAo1BKVYMMJtvqnrMCTcts+rBS/802yAvg3zQxPbBbYtXi9jf
ZDKo+rGUVKNB1IIQe1lgdHoDCJS3xvaY9fjatGHafIAObVZiZL8Gvx49179Ki8n4
glTOG4a3l505dIeV1CZApHNTD4Z/Tr95wvO7mhRpWzAkCBJzoYW5lYF3iYq4IHmF
RvXB41UrcjNtdThPTzO+lSEehpyS6l02oUh9SDl7JikF3RX+zeSNqplezLyl8JFJ
Nwd8OS9GMeQTNaa2o4f/hbX9PbGysZ3v/b85PHz0SRqQJzHuPBBRHNLVyOFe25fy
UBSqXF0UqEbly2wH/MOXJY7F/UmCfHq63k/KB6uKgxnM90rb3f1qv8SoPa+16drR
65AaWFG291Wkuzill+vIFdUzon7ycNAZcOwauN7nmVoJFp1UcWPMHoXjCwQE//6S
svbw8i9DsmRcfhuhBIvUPQKaOs6Bk91/M9FsgGLTsl0DQn1mYXyM3d41ExwM0B1u
iDtK6q48IEvQ/n44soWtoQeZOomAOJWOP8TXDMYAcJuSOrCL3bd27tqfsLS5TOkX
FqKgV7x8AserrvQhrdCzKBEeeLzUGltsS5h+AfPD1NdieVW8BLLpuSL7kiaSvNUi
O/eZj56xFSZj4aVxJgCz
=aeHV
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.