You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have bisected to this commit 5fb9b50 which is simply a code formatting PR, however this must break some syntax within the assembly code
Compiling with gcc -m32 on current master I get the following. Going back one further commit works as expected.
lib/freertos_kernel/portable/GCC/IA32_flat/portASM.S: Assembler messages:
lib/freertos_kernel/portable/GCC/IA32_flat/portASM.S:179: Warning: no instruction mnemonic suffix given and no register operands; using default for `add'
lib/freertos_kernel/portable/GCC/IA32_flat/portASM.S:196: Warning: no instruction mnemonic suffix given and no register operands; using default for `sub'
lib/freertos_kernel/portable/GCC/IA32_flat/portASM.S:231: Error: unknown pseudo-op: `.'
lib/freertos_kernel/portable/GCC/IA32_flat/portASM.S:231: Error: no such instruction: `if 1==1'
lib/freertos_kernel/portable/GCC/IA32_flat/portASM.S:231: Error: invalid character '(' in mnemonic
lib/freertos_kernel/portable/GCC/IA32_flat/portASM.S:231: Warning: no instruction mnemonic suffix given and no register operands; using default for `add'
lib/freertos_kernel/portable/GCC/IA32_flat/portASM.S:254: Warning: no instruction mnemonic suffix given and no register operands; using default for `sub'
lib/freertos_kernel/portable/GCC/IA32_flat/portASM.S:254: Error: junk `movl( % eax)' after register
lib/freertos_kernel/portable/GCC/IA32_flat/portASM.S:254: Error: unknown pseudo-op: `.'
lib/freertos_kernel/portable/GCC/IA32_flat/portASM.S:254: Error: no such instruction: `if 1==1'
lib/freertos_kernel/portable/GCC/IA32_flat/portASM.S:254: Error: invalid character '(' in mnemonic
lib/freertos_kernel/portable/GCC/IA32_flat/portASM.S:254: Error: ".endif" without ".if"
lib/freertos_kernel/portable/GCC/IA32_flat/portASM.S:258: Error: ".endif" without ".if"
Target
i686-elf-gcc
custom x86 target
Host
Host OS: Windows 11 (WSL2 Ubuntu)
To Reproduce
Seems to only occur with configUSE_COMMON_INTERRUPT_ENTRY_POINT enabled. One line command to replicate:
Hi @Ryzee119
Thank you for pointing out the issue. We were able to reproduce the issue you mentioned, and raised a patch to fix the same. Could you please give this a try to see if it fixes the issue?
Describe the bug
I have bisected to this commit 5fb9b50 which is simply a code formatting PR, however this must break some syntax within the assembly code
The problem appears to lie within portable/GCC/IA32_flat/ISR_Support.h which is included by
portASM.S
.Compiling with
gcc -m32
on current master I get the following. Going back one further commit works as expected.Target
Host
To Reproduce
Seems to only occur with
configUSE_COMMON_INTERRUPT_ENTRY_POINT
enabled. One line command to replicate:Expected behavior
Should compile. It works as expected if I go one commit back. ie to 01820d3
Screenshots
N/A
The text was updated successfully, but these errors were encountered: