ESP32 board compile/link error on declaration of a variable

If I declare a variable with the name 'magic' I get a linker error. This error is only generated on the ESP32 board (all Espressive versions 1.0.0-1.0.4) . Other boards like arduino AVR, attinyXX, esp8266, digistump behave normally. I.e. compile without error

My sketch:

int magic=55;
void setup() {}
void loop() {}

The error I get is

...\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/lib\liblwip.a(magic.o): In function `magic':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/netif/ppp/magic.c:185: multiple definition of `magic'
sketch\magic-test.ino.cpp.o:(.data.magic+0x0): first defined here
.../arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-80-g6c4433a-5.2.0/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: Warning: size of symbol `magic' changed from 4 in sketch\magic-test.ino.cpp.o to 17 in C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/lib\liblwip.a(magic.o)
.../arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-80-g6c4433a-5.2.0/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: Warning: type of symbol `magic' changed from 1 to 2 in C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/lib\liblwip.a(magic.o)
collect2.exe: error: ld returned 1 exit status

Although a work-around is obvious, I would expect sketch variables being separated from library varaibles.
If this is a bug worth filing, can anyone post me the proper link?