arduino / Arduino

Arduino IDE 1.x
https://www.arduino.cc/en/software
Other
14.18k stars 7.01k forks source link

Compilation fails due to overly long command generated by recipe.c.combine.pattern #6751

Closed vMeph closed 6 years ago

vMeph commented 7 years ago

i im having a issue with arduino paths being to long and dont let me compile Marlin-bugfix-2.0.x-new-layout firmware there was new arrangments on marlin and seems that now there is a problem in windows and arduino paths being to long this issue seems to afect alot people

the issue discution is on this link https://github.com/MarlinFirmware/Marlin/issues/7707#issuecomment-331312824

is there any way to fix this problem?

per1234 commented 7 years ago

Summary of the issue:

The cause of the compilation failure, as found by @bobc in the mentioned issue report, is that the large number of filenames in {object_files} when compiling the Marlin sketch causes the command to exceed the maximum command length of 32767 characters on Windows.

The Marlin sketch folder structure was recently reorganized to put most of the source files in subfolders and this caused the command length to significantly increase. I believe this version is found in the bugfix-2.0.x-new-layout branch.

When I compile the tip of that branch using the hourly build of the Arduino IDE, Windows 7, for Arduino/Genuino Mega I still only end up with a recipe.c.combine command length of 21370 so it may be that a non-default configuration of Marlin leads to a longer command.

matthijskooijman commented 7 years ago

I believe that, on Windows, the total length of the command (not the number of arguments, like on Linux) is relevant. This means that the length of the path to the sketchbook might be relevant, but more importantly the length of the path to the build / temp folder. I think this might normally be in the "user" directory, so that would suggest the username length is relevant too.

As a workaround, you could probably set build.path to "C:\build" or something similarly short in preferences.txt to do all builds in that same short directory.

bobc commented 7 years ago

Setting build.path appears to result in all sketches compiling to same folder (tested with 1.8.3), is there a way to build to different folders for each sketch, e.g. build.path=c:\temp\{sketch} or something?

fiveangle commented 7 years ago

But should the user be required to manually set a temp directory in order to build a sketch ? Am I the only one who sees this as a flaw ?

matthijskooijman commented 7 years ago

Setting build.path appears to result in all sketches compiling to same folder (tested with 1.8.3), is there a way to build to different folders for each sketch, e.g. build.path=c:\temp{sketch} or something?

Nope, it either just uses that path if it is set, or generates a new path for each sketch when it is empty.

But should the user be required to manually set a temp directory in order to build a sketch ? Am I the only one who sees this as a flaw ?

It's certainly not a proper fix, but it is useful to mention the workaround, to at least get people unstuck.

The actual problem here is the limited length of a commandline, combined with a sketch (and library) combined with a lot of files. I can't see a perfect solution for this problem, unfortunately. I do have some ideas.

You could link together groups of .o files, and then link the resulting groups together into the final binary. A common approach for this would be to use archives (.a files), which contain multiple .o files. This already happens for the core, and libraries that have enabled this in their libraries.properties file.

It would be obvious to create an archive for the core, sketch and each library separately. In practice this would probably work, but in theory, this could still break when a single library or sketch contains enough files to trip the limit. To really solve this, the final linker command should be automatically split, based on the actual commandline length.

Another downside of using .a files is that it slightly changes the linking strategy: .o files specified on the command file will be included in the link, while .o files inside .a files are only included when they are needed. Due to subsequent optimization steps, the difference between these is minimal, but it might break some corner cases.

An alternative would be to merge .o files into a new .o file. Apparently the -r option can be used for this, though I have not tried this.

One caveat is that splitting the linker command will very likely need additions to the recipes in platform.txt, since those only specify how to perform linking with a single linker step. This makes it harder to implement a fix for this.

One option that would be perfect is if you could specify the list of files to compile through stdin or through a tempory file instead of on the commandline. Looking at the gcc commandline, it supports specifying @file on the commandline, which will read commandline options and arguments from file. Looking at the linker recipe, this could be implemented by simply generating a tempfile containing .o filenames and filling {object_files} with @/path/to/tempfile. The downside is that targets that somehow do not support the @file syntax would break. An alternative would be to create a second variable to be used in platform.txt, {object_list_file} or something like that, making this an opt-in for cores (but that does need manual action for all cores, and breaks compatibility with older Arduino versions).

One point of attention is that the contents of the @file needs proper escaping of whitespace, which again adds complexity. Fortunately the escaping is fairly simple, without the full complexity of shell escaping.

Summarizing: There are solutions, but nothing that is so simple it could be very quickly implemented. The @file approach seems promising, but needs more thought, especially wrt compatibility.

bobc commented 7 years ago

Nope, it either just uses that path if it is set,

Exactly, it uses the same path for all sketches you might compile IF it is set. There is no per-sketch setting.

Using @file seems the simplest and most scalable fix. Clearly this needs to be an option, if there are targets that don't use gcc. If I knew Go, I would propose a patch.

I suspect though, anyone who encounters this issue has outgrown the Arduino IDE, which is only really usable for small sketches, and should be using a more professional tool.

facchinm commented 7 years ago

There could be a third option:

This should shorten the commandline A LOT, without any drawback (if the split doesn't recognize a filename, using the absolute path makes no harm)

A test commit is here (https://github.com/arduino/arduino-builder/compare/master...facchinm:relative_paths?expand=1)

I'm also attaching a Windows build of the builder, if anyone at Marlin still has a copy of the problematic branch it would be nice to test it live :smile: arduino-builder.zip

fiveangle commented 7 years ago

@facchinm - dropping in your arduino-builder debug build with your Windows command-line length work-workaround and previously-failing build now succeeds :+1:

However, it's unclear how because the output seems to still include the full paths (avr-gcc link command truncated at 32k in the build window):

2017-09-25_1232

linker section of build log window ``` "Archiving built core (caching) in: C:\Users\djohnson\AppData\Local\Temp\arduino_cache_424346\core\core_teensy_avr_teensypp2_usb_serial,speed_16,keys_en-us_4939f5412a75a8560acb0f9e98268f02.a Linking everything together... C:\Program Files (x86)\Arduino\hardware\teensy/../tools/avr/bin/avr-gcc" -Os -Wl,--gc-sections,--relax -mmcu=at90usb1286 -o "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523/Marlin.ino.elf" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\Marlin.ino.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\Marlin.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\I2cEeprom.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\SpiEeprom.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\servo.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_AVR\HAL_AVR.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_AVR\HAL_spi_AVR.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_AVR\MarlinSerial.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_AVR\persistent_store_impl.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_AVR\servo_AVR.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_AVR\watchdog_AVR.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_DUE\HAL_Due.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_DUE\HAL_spi_Due.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_DUE\HAL_timers_Due.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_DUE\Servo_Due.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_DUE\persistent_store_impl.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_DUE\watchdog_Due.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_LPC1768\HAL.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_LPC1768\HAL_spi.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_LPC1768\HAL_timers.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_LPC1768\HardwareSerial.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_LPC1768\LPC1768_Servo.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_LPC1768\SoftwareSerial.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_LPC1768\WInterrupts.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_LPC1768\arduino.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_LPC1768\main.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_LPC1768\persistent_store_impl.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_LPC1768\watchdog.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_TEENSY35_36\HAL_Servo_Teensy.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_TEENSY35_36\HAL_Teensy.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_TEENSY35_36\HAL_spi_Teensy.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_TEENSY35_36\HAL_timers_Teensy.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_TEENSY35_36\persistent_store_impl.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\HAL\HAL_TEENSY35_36\watchdog_Teensy.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\core\serial.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\core\utility.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\I2CPositionEncoder.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\Max7219_Debug_LEDs.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\baricuda.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\caselight.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\controllerfan.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\filwidth.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\fwretract.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\mixing.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\pause.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\snmm.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\solenoid.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\tmc2130.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\twibus.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\bedlevel\bedlevel.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\bedlevel\abl\abl.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\bedlevel\mbl\mesh_bed_leveling.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\bedlevel\ubl\G26_Mesh_Validation_Tool.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\bedlevel\ubl\ubl.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\bedlevel\ubl\ubl_G29.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\bedlevel\ubl\ubl_motion.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\dac\dac_dac084s085.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\dac\dac_mcp4728.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\dac\stepper_dac.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\digipot\digipot_mcp4018.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\digipot\digipot_mcp4451.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\leds\blinkm.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\leds\leds.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\leds\neopixel.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\leds\pca9632.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\feature\leds\tempstat.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\gcode.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\parser.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\queue.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\bedlevel\G42.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\bedlevel\M420.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\bedlevel\abl\G29.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\bedlevel\abl\M421.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\bedlevel\mbl\G29.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\bedlevel\mbl\M421.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\bedlevel\ubl\G26.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\bedlevel\ubl\G29.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\bedlevel\ubl\M421.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\bedlevel\ubl\M49.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\calibrate\G28.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\calibrate\G33.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\calibrate\M100.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\calibrate\M48.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\calibrate\M665.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\calibrate\M666.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\config\M200-M205.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\config\M218.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\config\M220.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\config\M221.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\config\M301.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\config\M302.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\config\M304.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\config\M43.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\config\M540.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\config\M92.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\control\M108_M112_M410.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\control\M111.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\control\M120_M121.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\control\M17_M18_M84.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\control\M211.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\control\M226.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\control\M280.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\control\M3-M5.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\control\M350_M351.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\control\M380_M381.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\control\M400.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\control\M42.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\control\M605.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\control\M80_M81.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\control\M85.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\control\M999.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\control\T.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\eeprom\M500-M503.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\feature\advance\M900.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\feature\baricuda\M126-M129.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\feature\camera\M240.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\feature\caselight\M355.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\feature\clean\G12.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\feature\digipot\M907-M910.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\feature\filwidth\M404-M407.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\feature\fwretract\G10_G11.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\feature\fwretract\M207-M209.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\feature\i2c\M260_M261.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\feature\leds\M150.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\feature\mixing\M163-M165.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\feature\pause\G27.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\feature\pause\M125.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\feature\pause\M600.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\feature\snmm\M702.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\feature\trinamic\M906.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\feature\trinamic\M911-M914.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\geometry\G17-G19.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\geometry\G92.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\geometry\M206_M428.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\host\M110.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\host\M113.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\host\M114.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\host\M115.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\host\M118.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\host\M119.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\lcd\M0_M1.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\lcd\M117.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\lcd\M145.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\lcd\M250.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\lcd\M300.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\motion\G0_G1.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\motion\G2_G3.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\motion\G4.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\motion\G5.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\probe\G30.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\probe\G31_G32.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\probe\G38.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\probe\M401_M402.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\probe\M851.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\scara\M360-M364.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\sdcard\M20-M30_M32-M34_M928.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\stats\M31.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\stats\M75-M78.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\temperature\M104_M109.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\temperature\M105.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\temperature\M106_M107.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\temperature\M140_M190.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\temperature\M155.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\temperature\M303.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\units\G20_G21.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\units\M149.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\gcode\units\M82_M83.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\lcd\ultralcd.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\libs\buzzer.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\libs\hex_print_routines.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\libs\least_squares_fit.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\libs\nozzle.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\libs\stopwatch.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\libs\vector_3.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\module\configuration_store.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\module\delta.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\module\endstops.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\module\motion.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\module\planner.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\module\planner_bezier.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\module\printcounter.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\module\probe.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\module\scara.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\module\stepper.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\module\stepper_indirection.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\module\temperature.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\module\tool_change.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\sd\Sd2Card.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\sd\SdBaseFile.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\sd\SdFatUtil.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\sd\SdFile.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\sd\SdVolume.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\sketch\src\sd\cardreader.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\U8glib.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\chessengine.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_bitmap.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_circle.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_clip.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_api.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_api_16gr.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_arduino_attiny85_hw_spi.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_arduino_common.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_arduino_fast_parallel.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_arduino_hw_spi.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_arduino_hw_usart_spi.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_arduino_no_en_parallel.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_arduino_parallel.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_arduino_port_d_wr.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_arduino_ssd_i2c.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_arduino_st7920_custom.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_arduino_st7920_hw_spi.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_arduino_st7920_spi.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_arduino_std_sw_spi.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_arduino_sw_spi.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_arduino_t6963.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_arduino_uc_i2c.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_atmega_hw_spi.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_atmega_parallel.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_atmega_st7920_hw_spi.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_atmega_st7920_spi.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_atmega_sw_spi.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_atxmega_hw_spi.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_atxmega_st7920_hw_spi.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_i2c.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_io.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_linux_ssd_i2c.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_msp430_hw_spi.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_null.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_psoc5_ssd_hw_parallel.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_raspberrypi_hw_spi.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_raspberrypi_ssd_i2c.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_com_std_sw_spi.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_cursor.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_delay.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_a2_micro_printer.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_flipdisc_2x7.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_gprof.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_ht1632.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_ili9325d_320x240.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_ks0108_128x64.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_lc7981_160x80.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_lc7981_240x128.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_lc7981_240x64.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_lc7981_320x64.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_ld7032_60x32.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_null.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_pcd8544_84x48.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_pcf8812_96x65.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_sbn1661_122x32.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_ssd1306_128x32.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_ssd1306_128x64.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_ssd1306_64x48.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_ssd1309_128x64.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_ssd1322_nhd31oled_bw.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_ssd1322_nhd31oled_gr.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_ssd1325_nhd27oled_bw.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_ssd1325_nhd27oled_bw_new.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_ssd1325_nhd27oled_gr.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_ssd1325_nhd27oled_gr_new.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_ssd1327_96x96_gr.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_ssd1351_128x128.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_ssd1353_160x128.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_st7565_64128n.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_st7565_dogm128.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_st7565_dogm132.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_st7565_lm6059.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_st7565_lm6063.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_st7565_nhd_c12832.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_st7565_nhd_c12864.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_st7687_c144mvgd.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_st7920_128x64.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_st7920_192x32.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_st7920_202x32.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_t6963_128x128.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_t6963_128x64.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_t6963_240x128.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_t6963_240x64.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_tls8204_84x48.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_uc1601_c128032.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_uc1608_240x128.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_uc1608_240x64.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_uc1610_dogxl160.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_uc1611_dogm240.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_uc1611_dogxl240.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_uc1701_dogs102.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_dev_uc1701_mini12864.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_ellipse.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_font.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_font_data.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_line.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_ll_api.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_page.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_pb.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_pb14v1.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_pb16h1.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_pb16h2.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_pb16v1.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_pb16v2.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_pb32h1.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_pb8h1.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_pb8h1f.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_pb8h2.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_pb8h8.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_pb8v1.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_pb8v2.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_pbxh16.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_pbxh24.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_polygon.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_rect.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_rot.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_scale.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_state.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_u16toa.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_u8toa.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\U8glib\clib\u8g_virtual_screen.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\Wire\Wire.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\Wire\WireKinetis.cpp.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523\libraries\Wire\utility\twi.c.o" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523/core\core.a" "-LC:\Users\djohnson\AppData\Local\Temp\arduino_build_422523" -lm "C:\Program Files (x86)\Arduino\hardware\teensy/../tools/avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523/Marlin.ino.elf" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523/Marlin.ino.eep" "C:\Program Files (x86)\Arduino\hardware\teensy/../tools/avr/bin/avr-objcopy" -O ihex -R .eeprom "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523/Marlin.ino.elf" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523/Marlin.ino.hex" "C:\Program Files (x86)\Arduino\hardware\teensy/../tools/stdout_redirect" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523/Marlin.ino.lst" "C:\Program Files (x86)\Arduino\hardware\teensy/../tools/avr/bin/avr-objdump" -d -S -C "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523/Marlin.ino.elf" "C:\Program Files (x86)\Arduino\hardware\teensy/../tools/stdout_redirect" "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523/Marlin.ino.sym" "C:\Program Files (x86)\Arduino\hardware\teensy/../tools/avr/bin/avr-objdump" -t -C "C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523/Marlin.ino.elf" "C:\Program Files (x86)\Arduino\hardware\teensy/../tools/teensy_post_compile" "-file=Marlin.ino" "-path=C:\Users\djohnson\AppData\Local\Temp\arduino_build_422523" "-tools=C:\Program Files (x86)\Arduino\hardware\teensy/../tools/" "-board=TEENSY2PP" Opening Teensy Loader... ```
facchinm commented 7 years ago

Hi @fiveangle , thanks for testing! I kept the output "as-is" to double check the fix; it gets printed here but the actual commandline is being modified in an internal routine.

Also, I don't know if it's a good idea to print the mangled commandline since you need to cd into the build folder to launch it correctly; the other command, on the other hand, would work from anywhere in the filesystem.

matthijskooijman commented 7 years ago

@facchinm, sounds like a practical approach, though it won't really solve the problem (just raise the bar for making the problem to occur).

What command to show is indeed an issue: I would argue that showing a different command from what's actually being run is problematic when debugging some problems. The instant-copy-pasteability of full paths is an advantage, though, so I'm not sure what side to pick (probably show the actual command being run, especially if this happens only for long commandlines).

One caveat is that there might be targets that do not like relative paths (on some of its commandline options perhaps). I don't have any examples ready, though. OTOH, if this fix is applied only for too-long commands, then these targets will only break when the build would be broken anyway.

Phr3d13 commented 7 years ago

Trying to download the arduino-builder.zip fails via antivirus https://www.microsoft.com/en-us/wdsi/threats/malware-encyclopedia-description?Name=Trojan:Win32/Fuerboos.A!cl

fiveangle commented 7 years ago

I got the same so downloaded on my Mac and scanned with clamd and determined it was just a heuristics based false positive. Regardless, after applying the debug it resolved the path length issues but then later broke building for Uno target (I suspect boards support in debug files isn’t complete).

Looking forward to a long term solution. Curious, does Arduino 1.9.0 beta include the proposed Windows command length work-around ?

facchinm commented 7 years ago

Hi @fiveangle , 1.9.0 beta contains the fix with 30000 characters limit (https://github.com/arduino/arduino-builder/pull/250/commits/f2cd784acb723e829c538ec19b6d4affc348dfe1) AND the arduino-preprocessor integration, thus it could expose other kind of problems (like missing prototype declaration in case of non-standard cores); it would be supercool if you could test it with difficult sketches and report any problem you may encounter!

Ryanf55 commented 5 years ago

For anyone curious, I also had sucess fixing this problem by upgrading to 1.9.0 beta Arduino IDE.

Eddiiie commented 5 years ago

Fixed in 1.8.9.

jdoe1024 commented 4 years ago

You could link together groups of .o files, and then link the resulting groups together into the final binary. A common approach for this would be to use archives (.a files), which contain multiple .o files. This already happens for the core, and libraries that have enabled this in their libraries.properties file.

Thanks a lot, this suggestion allowed me to finally compile latest Marlin firmware on Windows with Arduino IDE! For those stuck as well with Marlin, edit the file %USERPROFILE%\Documents\Arduino\libraries\U8glib\library.properties and add the line dot_a_linkage=true in the end. The command line is still pretty close to the limit though (31718 characters).

The @file approach seems promising, but needs more thought, especially wrt compatibility.

It does not work: {compiler.c.elf.cmd} is set to gcc most of the time, so gcc parses the command line from given file, and builds a new command line to invoke the real linker program (ld I guess) which fails because the command line is too big then.