Skip to content

Duplicate error messages: "SRAM .bss' is not within region `ram'" #2417

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
JulyJim opened this issue Nov 5, 2014 · 5 comments
Closed

Duplicate error messages: "SRAM .bss' is not within region `ram'" #2417

JulyJim opened this issue Nov 5, 2014 · 5 comments
Labels
Component: Compilation Related to compilation of Arduino sketches Component: IDE user interface The Arduino IDE's user interface Type: Bug
Milestone

Comments

@JulyJim
Copy link

JulyJim commented Nov 5, 2014

1.5.8 on Due.

IMHO this is not a big deal, just would be nice to know "how much".
I am planning to do some simple image analysis and just checking things out for now.

It seems that the "pregnant pause" AKA initial "compiling" no verbose feedback is still there.
Again no biggie, just an observation.

But it seems to print duplicate messages at random when it gets printing - see attached.

c:/program files/arduino_all/arduino-nightly_nov4/hardware/tools/gcc-arm-none-eabi-4.8.3-2014q1/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld.exe: address 0x200b8b18 of C:\DOCUME~1\Vaclav\LOCALS~1\Temp\build4303004924085407826.tmp/Audio_DUE_27.cpp.elf section `.bss' is not within region`ram'
c:/program files/arduino_all/arduino-nightly_nov4/hardware/tools/gcc-arm-none-eabi-4.8.3-2014q1/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld.exe: address 0x200b8b18 of C:\DOCUME~1\Vaclav\LOCALS~1\Temp\build4303004924085407826.tmp/Audio_DUE_27.cpp.elf section `.bss' is not within region`ram'
c:/program files/arduino_all/arduino-nightly_nov4/hardware/tools/gcc-arm-none-eabi-4.8.3-2014q1/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld.exe: address 0x200b8b18 of C:\DOCUME~1\Vaclav\LOCALS~1\Temp\build4303004924085407826.tmp/Audio_DUE_27.cpp.elf section `.bss' is not within region`ram'
c:/program files/arduino_all/arduino-nightly_nov4/hardware/tools/gcc-arm-none-eabi-4.8.3-2014q1/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld.exe: address 0x200b8b18 of C:\DOCUME~1\Vaclav\LOCALS~1\Temp\build4303004924085407826.tmp/Audio_DUE_27.cpp.elf section `.bss' is not within region`ram'
c:/program files/arduino_all/arduino-nightly_nov4/hardware/tools/gcc-arm-none-eabi-4.8.3-2014q1/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld.exe: address 0x200b8b18 of C:\DOCUME~1\Vaclav\LOCALS~1\Temp\build4303004924085407826.tmp/Audio_DUE_27.cpp.elf section `.bss' is not within region`ram'
collect2.exe: error: ld returned 1 exit status
c:/program files/arduino_all/arduino-nightly_nov4/hardware/tools/gcc-arm-none-eabi-4.8.3-2014q1/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld.exe: address 0x200b8b18 of C:\DOCUME~1\Vaclav\LOCALS~1\Temp\build4303004924085407826.tmp/Audio_DUE_27.cpp.elf section `.bss' is not within region`ram'
collect2.exe: error: ld returned 1 exit status
Error compiling.
Error compiling.
@cmaglie cmaglie changed the title SRAM .bss' is not within region `ram' Duplicate error messages: "SRAM .bss' is not within region `ram'" Nov 9, 2014
@cmaglie cmaglie added the Component: IDE The Arduino IDE label Nov 9, 2014
@cmaglie
Copy link
Member

cmaglie commented Nov 11, 2014

The only way I managed to reproduce this bug is by double-clicking on the "verify" icon.
Usually it needs only a single-click to start the build, but if I double-click the build is started twice, in parallel, and it's very likely to fail too.

@VaclavSal is this the problem you're facing? are you double clicking on the verify/upload icon?

@cmaglie
Copy link
Member

cmaglie commented Nov 11, 2014

In any case this is a bug and must be fixed on the UI.
Disabling build/upload buttons until the build is finished should be enough.

@cmaglie cmaglie added Type: Bug Version: 1.5.x Component: IDE user interface The Arduino IDE's user interface and removed Component: IDE The Arduino IDE labels Nov 11, 2014
@facchinm
Copy link
Member

Still happens on 1.6.6 (the double click bug, not the linker one)
Could be solved together with #766 and #3568 by making both "verify" and "upload" buttons stateful; the alternate state would ideally stop (kill) the spawned process (compiler or programmer)

@ffissore ffissore assigned ffissore and unassigned cmaglie Aug 13, 2015
@ffissore ffissore added the Component: Compilation Related to compilation of Arduino sketches label Aug 13, 2015
@ffissore ffissore added this to the Release 1.6.6 milestone Sep 8, 2015
@ffissore
Copy link
Contributor

ffissore commented Sep 8, 2015

Merged into #3771

@ffissore ffissore closed this as completed Sep 8, 2015
@JulyJim
Copy link
Author

JulyJim commented Sep 8, 2015

I would like to add a similar problem, but not sure if I can really describe it.
I suspect it has something to do with my OS "double clicking" ( wireless mouse) also.
I am getting status message "Uploading" but I can see no "...erase.. reset cpu " messages and no RX/TX COM LED flashing either. ( Using Due)
Sometime I get something about "unable to access COMx " in red as status or "unable to access I such and such file " i have not edited for a while(!) , also in red, but no Upload.
The worst part , I just discovered recently - I can change stuff in editor, click "Upload " , it executes upload but the edited file does not get updated! ( I have not tried to analyze the compiler output to see if the file I was editing is in fact recompiled) .
This got so bad I had to reload another version of 1.6.6 ( nightly) to fix it, but it is still happening occasionally.
The weird part is - sometime the editor jumps from current file / tab to FIRST tab and highlights ( in pink) the first line in it as an error(?) I think that also indicates that multiple mouse clicks are detected by IDE.
I be happy to provide details if necessary or pay attention to some specifics, but so far I am just an user, not an IDE developer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Compilation Related to compilation of Arduino sketches Component: IDE user interface The Arduino IDE's user interface Type: Bug
Projects
None yet
Development

No branches or pull requests

4 participants