2024-04-04 02:15 AM
I get the following warning during the compiler. Does someone know why it needs this assembler file.
Also, when I tried to look through temp folder I couldn't any files with that name.
2024-04-04 02:43 AM
What, exactly, are you doing when you get that message?
What are you trying to compile?
2024-04-04 05:06 AM
I have a project based on Cortex M4 that was created on cubeIDE 1.11, and I am now using the latest version of IDE 1.15.
When I build the system, I keep getting this message.
2024-04-04 09:40 AM
Just a wild guess - it looks like GCC is compiling a c or c++ file to assembly then running that through the assembler. That would explain the random-character file name and location in your "temp" directory. Updating the IDE from 1.11 to 1.15 changed GCC tool chain versions. The newer versions probably have more diagnostic messages enabled than the older versions, which might explain why you see those messages not and didn't see them before.
What to do about it? Look at the build log to see what was being compiled when you got that message. A very quick internet search for that warning message led me to this post as the first search result::
https://forums.freertos.org/t/hard-fault-assembly-code-pc-relative-load-warning/11900
2024-04-04 09:48 AM
@Bob S wrote:That would explain the random-character file name and location in your "temp" directory.
:thumbs_up:
Indeed. And would also explain why the file is no longer there after the build has completed.
2024-04-04 11:29 PM
Thank you @Bob S. For now, I am going to ignore it.
2024-04-05 07:40 AM
Geeze, is this the month of half-baked programmers/developers? Why ignore a warning that your code may not work? The fix is easy enough, presuming the above link describes the cause of your issue.