Re: Mono 4.6.1 FTBFS on mipsel

Aurelien Jarno <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <[email protected]>
On 2016-10-08 13:42, Aurelien Jarno wrote:
> On 2016-10-07 21:04, Jo Shields wrote:
> > Dear MIPS team,
> > 
> > 
> > It seems that between Mono 4.2 and 4.6, Mono stopped building properly on little-endian 32-bit MIPS.
> > 
> > 
> > https://buildd.debian.org/status/fetch.php?pkg=mono&arch=mipsel&ver=4.6.1.3%2Bdfsg-2&stamp=1475869442
> 
> I have just got a quick look at the code triggering the assert:
> 
> |        case OP_LMUL:
> |        case OP_LDIV:
> |        case OP_LDIV_UN:
> |        case OP_LREM:
> |        case OP_LREM_UN:
> |        case OP_LSHL:
> |        case OP_LSHR:
> |        case OP_LSHR_UN:
> |                mono_print_ins (ins);
> |                g_assert_not_reached ();
> 
> For what I understand, it means that one of the above "internal
> intermediate instruction" (sorry don't know the mono name for that) has
> been emitted, and is not yet implemented for the MIPS backend.
> 
> Could you confirm? If it is the case and the only problem, that should
> be relatively easy to implement. I'll give a try in the next days.

These opcode concerns 64-bit long values. It's actually normal they are
not implemented for 32-bit MIPS. Could it be that they are listed
incorrectly in cpu-mips.md, probably in prevision of the 64-bit MIPS
support?

Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
[email protected]                 http://www.aurel32.net
signature.asc (application/pgp-signature, 801 B)
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJX+QARAAoJELqceAYd3YybNsYP+QHFZqjP5jynS27mDZecZthu
5iv4AbnihKeGZ+jz6ZZRl6RjTrb5mzSuIwJDW/G1+2taRG/2VhhCSaU3FOWp94N/
F4baHH61WK4Uy44t5Dv9aiwRbvk8etpNVkvlKspXBBbzudtCe6wvS/do++Gm5Zxh
fwEjfREpge1/e//jo5KF3dBEOtSHSBM9YTNfrgw5/KC+d9RWC/jovt7FaHrPlr5B
hNpH6YFUy95Ap8yFJoPB/LUtt7rEgQFEsE15eb6QHEkD9hfokAAvXlRad1USSiEZ
6KK+EQbM9AvhbEE5g50GhCxspleaDhDuJZS99XLV+z9qo82I3RwYtqGutvKBA1am
S+8oGgP5WHNQlNY/oQlLYmvEBFDaIzP9Xu8EtJ8iGV5MWQ8VGOiWZqgAlQb44/bx
6uN5r4qY5HY6Jru7+V74XQ/PCujJvGvKVKdM93flxknQt7tJIWQzu5pwgAWPks2F
FqSudNS5lNAdchGF9tZkSYVEUPc2Brnul/5j+OL17U6tZhqCu/bGPf1c2ENy6MSk
0i2KM1MYS+Xi15dQxfcSS8PfW51boGzF5n2AKJJ/u2sqZRkWsDd6sgcDN04MOGoQ
9SE4N+esU09vPcZKuSmAw7fnJwUlUfXsBFr+Se9r9yum8ZFySWj4Qid/2LkLQZG7
Sm0MW5PMfAP8Uoy6Lg3F
=ePPM
-----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.