https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65644
--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- > (%edi) etc. in 64-bit mode should be assembled as addr32 (0x67) prefix on the > instruction. If Solaris assembler doesn't handle it, guess first somebody > needs to investigate if it has a different syntax for the same thing, or just > doesn't support it at all, what versions are affected etc. > If it doesn't support it at all, it would mean -mx32 support would be > impossible, and the addr32 pieces in e.g. ix86_decompose_address would need to > be disabled based on some configure macro. The versions of /usr/ccs/bin/as I have assemble it just fine, on both Solaris 10 and 11. I haven't investigated the original Solaris 10 FCS assembler, but suggest just installing the latest assembler patch (119961-11) and be done with it. Rainer