Re: Something fishy with the toolchain in unstable

Mike Hommey <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <[email protected]>
On Sat, Aug 15, 2015 at 11:01:00AM +0900, Mike Hommey wrote:
> Hi,
> 
> I noticed that recent uploads of iceweasel 38 to unstable failed to
> build on mips/mipsel on a libjpeg-turbo file that:
> - built fine in previous versions of iceweasel 38
> - built fine in a stretch backport of the current version of iceweasel
>   from unstable
> - built fine when built in the libjpeg-turbo package on buildds
> - but failed to build in libjpeg-turbo on a mips porterbox
> 
> The build error manifests itself in the form of multiple lines of the
> form:
> jsimd_mips_dspr2.S:<line>: Error: float register should be even, was <odd
> 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?

Cheers,

Mike
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.