[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/24538] GAS crashes caused by corrupted input files
From: |
mtest1 at testlt dot pl |
Subject: |
[Bug gas/24538] GAS crashes caused by corrupted input files |
Date: |
Tue, 14 May 2019 07:19:29 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24538
--- Comment #6 from mtest1 at testlt dot pl ---
(In reply to Nick Clifton from comment #4)
> Created attachment 11772 [details]
> Proposed patch
>
> Hi mtest1,
>
> Ah - yes - I know why I could not reproduce this problem now ... There is
> a long standing problem with Fedora which makes it impossible to build
> 32-bit binaries with address sanitization enabled. So my i386-elf
> toolchain
> actually has 64-bit executables in it rather than 32-bit ones.
>
> Please could you try out the uploaded patch and let me know if it resolves
> the problem ? It may not work however as all it does is to (try to) stop
> the illegal memory access inside i386_intel_simplify_register(). It does
> not address the underlying problem of why an illegal register number was
> being used in the first place.
>
> Cheers
> Nick
Hello Nick,
your patch fixed the problem:
$ ./as-i386
~/tmp/result/ini386_intel_simplify_registerconfig_tc-i386-intel.c\:289/avx512f_vaes-wig.s_401709.out.min
/home/shm/tmp/result/ini386_intel_simplify_registerconfig_tc-i386-intel.c:289/avx512f_vaes-wig.s_401709.out.min:
Assembler messages:
/home/shm/tmp/result/ini386_intel_simplify_registerconfig_tc-i386-intel.c:289/avx512f_vaes-wig.s_401709.out.min:3:
Error: bignum invalid
/home/shm/tmp/result/ini386_intel_simplify_registerconfig_tc-i386-intel.c:289/avx512f_vaes-wig.s_401709.out.min:3:
Error: invalid register number
May I ask you to let us know when you commit the patches?
Best Regards!
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/24538] New: GAS crashes caused by corrupted input files, mtest1 at testlt dot pl, 2019/05/08
- [Bug gas/24538] GAS crashes caused by corrupted input files, nickc at redhat dot com, 2019/05/10
- [Bug gas/24538] GAS crashes caused by corrupted input files, nickc at redhat dot com, 2019/05/10
- [Bug gas/24538] GAS crashes caused by corrupted input files, mtest1 at testlt dot pl, 2019/05/13
- [Bug gas/24538] GAS crashes caused by corrupted input files, nickc at redhat dot com, 2019/05/13
- [Bug gas/24538] GAS crashes caused by corrupted input files, amodra at gmail dot com, 2019/05/14
- [Bug gas/24538] GAS crashes caused by corrupted input files,
mtest1 at testlt dot pl <=
- [Bug gas/24538] GAS crashes caused by corrupted input files, cvs-commit at gcc dot gnu.org, 2019/05/14
- [Bug gas/24538] GAS crashes caused by corrupted input files, cvs-commit at gcc dot gnu.org, 2019/05/14
- [Bug gas/24538] GAS crashes caused by corrupted input files, nickc at redhat dot com, 2019/05/14
- [Bug gas/24538] GAS crashes caused by corrupted input files, clyon at gcc dot gnu.org, 2019/05/14
- [Bug gas/24538] GAS crashes caused by corrupted input files, nickc at redhat dot com, 2019/05/14
- [Bug gas/24538] GAS crashes caused by corrupted input files, cvs-commit at gcc dot gnu.org, 2019/05/15