[Bug libgcc/81218] New: libgcc_s.so.1 call to __get_cpuid does not correctly code around 486 cpus lacking cpuid instruction

2017-06-26 Thread tedheadster at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: tedheadster at gmail dot com Target Milestone: --- Programs calling libgcc_s.so.1 are failing with an "illegal instruction" signal o

[Bug libgcc/81218] libgcc_s.so.1 call to __get_cpuid does not correctly code around 486 cpus lacking cpuid instruction

2017-06-26 Thread tedheadster at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81218 --- Comment #2 from Matthew Whitehead --- Here is a better backtrace with more symbols added: #0 0xb750a142 in __get_cpuid (__edx=0xbf9be478, __ecx=0xbf9be474, __ebx=0xbf9be470, __eax=0xbf9be46c, __level=0) at /var/tmp/portage/sys-devel

[Bug c++/98667] New: gcc generates endbr32 invalid opcode on -march=i486

2021-01-13 Thread tedheadster at gmail dot com via Gcc-bugs
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tedheadster at gmail dot com Target Milestone: --- Compiling the 'eix' program with gcc 9.3.0 and the '-march=i486' generated an 'endbr32' opcode. This is an undefined opcode on an i486.

[Bug c++/98667] gcc generates endbr32 invalid opcode on -march=i486

2021-01-13 Thread tedheadster at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98667 --- Comment #1 from Matthew Whitehead --- Here is the full set of compiler flags used. readelf --string-dump='.GCC.command.line' /usr/lib/debug/$( which eix ).debug String dump of section '.GCC.command.line': [ 0] -I . [ 5] -I .

[Bug target/98667] gcc generates endbr32 invalid opcode on -march=i486

2021-01-14 Thread tedheadster at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98667 --- Comment #3 from Matthew Whitehead --- This is on an actual first generation i486DX 40MHz system I use to test for code issues exactly like this case.

[Bug target/98667] gcc generates endbr32 invalid opcode on -march=i486

2021-01-14 Thread tedheadster at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98667 --- Comment #4 from Matthew Whitehead --- It looks like /usr/bin/gdb 10.1 also has this opcode in it: objdump -D /usr/bin/gdb | grep -B6 -A6 endbr32 60d7b5: 3f aas 60d7b6: 1a 3b sbb

[Bug target/98667] gcc generates endbr32 invalid opcode on -march=i486

2021-01-15 Thread tedheadster at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98667 --- Comment #11 from Matthew Whitehead --- A patch has been proposed to remove the -fcf-protection=full from the ebuild script: https://bugs.gentoo.org/765442