Re: Something fishy with the toolchain in unstable

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

On Sat, 2015-08-15 at 11:14 +0900, Mike Hommey wrote:
> On Sat, Aug 15, 2015 at 11:01:00AM +0900, Mike Hommey wrote:
> > The build error manifests itself in the form of multiple lines of the
> > form:
> > jsimd_mips_dspr2.S:: Error: float register should be even, was 
> > number>
> > 
> > I wish I could test a downgrade of binutils in the schroot on the porter
> > box, but I can't.
> > 
> > Could someone please look into this?
> 
> Okay, I found the difference:
> gcc passes -mips2 -mfpxx to as that it wasn't passing before. Removing
> -mfpxx fixes the issue.
> 
> Now the question is whether this is expected, and the libjpeg-turbo code
> changed accordingly, or whether gcc shouldn't pass those new flags?

Yes this is an expected change. For gcc-5, the MIPS ABI was altered
slightly by enabling FPXX, so gcc-5 passing -mfpxx to as is an expected
change. See #789612.

This page has all the gory details of the FPXX ABI:
https://dmz-portal.mips.com/wiki/MIPS_O32_ABI_-_FR0_and_FR1_Interlinking

Any C code and any assembly which does not use the FPU is not affected,
but some assembly which does use the FPU might need altering and it
looks like libjpeg-turbo is one of those cases. I'll have a look at it
in a moment.

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

iQIcBAABCgAGBQJV0ad/AAoJEMfxZ23qLQHvyBYQALLBY6rwsDJP280vFFKyk+XX
IO0MaQxxmFiZDJGC0bL42GrG3pojwJkOUmmZWwsokGfcI6l8IrNUN7vM99XnHM8q
RKxjl9d2PQY73Y/QzMf9QpG/GI8xbv2ZBFZ9IB4MNZgU3hP7TSym07Y85fnP0Zbo
hPX9v4WzfFRaqx7R3hnPBnKidXUpDDrpIvGnD7YfQ2qLzw76y0X9M7Wuu+w0ZmY1
ykf0xSFG52d9SCjB9rg2+XfpfUA0lhsNdZuUNd6fzs9B+dIkkGgAUjPoRKd9PGI3
713GHAlxrE1vUBZav0VwGMiBDKpcjzo9wtSUxasZDBxjlT7B2+tTs9q6EYpCfFKq
JYg3kmpxbu+mhOjDKiaHk41jivynv4umiOlcjBjeC7p1e593YVIZAIarFFxJ2+uw
l6eHs/eJ4NWcq0pY4dntPtYQGoziN/F3vabAN+7y2jKQ+raNTkWAUXNGzXzReKHt
YQhbeT7/KAFOiNRUdzeK5PNG25iZPoD1o+qh5jqSvuY9n9nb24YK1AFfGPPVdHSZ
+IlhsZWp4uGQWt8ofRTVMrG+iOtfyHNwX0z2W0xyCqTdTjT+3+s7Ez/bidPNq+sm
TDY+iqiTSF8y0+Q0kXk5rwwwKbrD2/0/Q9Lbqe9NqT8LxJpWnPm9ueoM5pL0cLcw
Oj9Zy3NTHOXPqH+YhgO6
=ty4c
-----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.