{"action":"created","issue":{"url":"https://api.github.com/repos/arduino/arduino-builder/issues/26","labels_url":"https://api.github.com/repos/arduino/arduino-builder/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/arduino/arduino-builder/issues/26/comments","events_url":"https://api.github.com/repos/arduino/arduino-builder/issues/26/events","html_url":"https://github.com/arduino/arduino-builder/issues/26","id":109615078,"number":26,"title":"Arduino builder builds the same sketch with different size","user":{"login":"NicoHood","id":6888294,"avatar_url":"https://avatars.githubusercontent.com/u/6888294?v=3","gravatar_id":"","url":"https://api.github.com/users/NicoHood","html_url":"https://github.com/NicoHood","followers_url":"https://api.github.com/users/NicoHood/followers","following_url":"https://api.github.com/users/NicoHood/following{/other_user}","gists_url":"https://api.github.com/users/NicoHood/gists{/gist_id}","starred_url":"https://api.github.com/users/NicoHood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicoHood/subscriptions","organizations_url":"https://api.github.com/users/NicoHood/orgs","repos_url":"https://api.github.com/users/NicoHood/repos","events_url":"https://api.github.com/users/NicoHood/events{/privacy}","received_events_url":"https://api.github.com/users/NicoHood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-03T09:58:34Z","updated_at":"2015-10-03T15:47:57Z","closed_at":null,"body":"Very weird bug: Hitting compile several times results in different flash usage, even with no change at all.\r\n\r\nUsed this IDE for linux64bit (okay I made some changes to the usb code, but this should not matter here. also I compiled this myself, just that you get an idea of the build date).\r\nhttps://github.com/arduino/Arduino/pull/3896#issuecomment-144994262\r\n\r\n**I compiled for Arduino Mega. Uno and leonardo works fine.**\r\n\r\nSketch size is between 7238 and 7246. Very useful for debugging and getting the last byte out of the code ;) (not)\r\n\r\nThe sketch (requires FastLED3.1 release, no  dev version or sth like this)\r\n(sketch edited and shrinked after some time)\r\n``` arduino\r\n// FastLED\r\n#include \"FastLED.h\"\r\n\r\nvoid setup() {\r\n\r\n}\r\n\r\nvoid loop() {\r\n\r\n}\r\n```\r\n\r\nArduino builder commands:\r\n```\r\n/Arduino/build/linux/work/arduino-builder -dump-prefs -logger=machine -hardware \"/Arduino/build/linux/work/hardware\" -hardware \".arduino15/packages\" -hardware \"/sketchbook/hardware\" -tools \"/Arduino/build/linux/work/tools-builder\" -tools \"/Arduino/build/linux/work/hardware/tools/avr\" -tools \".arduino15/packages\" -libraries \"/sketchbook/libraries\" -libraries \"/Arduino/build/linux/work/libraries\" -fqbn=arduino:avr:mega:cpu=atmega2560 -ide-version=10606 -build-path \"/tmp/buildc0fbe65fc3436bea157b420c01dcd579.tmp\" -warnings=all -prefs=build.warn_data_percentage=75 -verbose \"/tmp/arduino_c0fbe65fc3436bea157b420c01dcd579/sketch_oct03b.ino\"\r\n/Arduino/build/linux/work/arduino-builder -compile -logger=machine -hardware \"/Arduino/build/linux/work/hardware\" -hardware \".arduino15/packages\" -hardware \"/sketchbook/hardware\" -tools \"/Arduino/build/linux/work/tools-builder\" -tools \"/Arduino/build/linux/work/hardware/tools/avr\" -tools \".arduino15/packages\" -libraries \"/sketchbook/libraries\" -libraries \"/Arduino/build/linux/work/libraries\" -fqbn=arduino:avr:mega:cpu=atmega2560 -ide-version=10606 -build-path \"/tmp/buildc0fbe65fc3436bea157b420c01dcd579.tmp\" -warnings=all -prefs=build.warn_data_percentage=75 -verbose \"/tmp/arduino_c0fbe65fc3436bea157b420c01dcd579/sketch_oct03b.ino\"\r\n```\r\n\r\nIt seems this only happens with the mega and the FastLED3.1 library.\r\n\r\n\\cc @kriegsman and @focalintent "},"comment":{"url":"https://api.github.com/repos/arduino/arduino-builder/issues/comments/145260176","html_url":"https://github.com/arduino/arduino-builder/issues/26#issuecomment-145260176","issue_url":"https://api.github.com/repos/arduino/arduino-builder/issues/26","id":145260176,"user":{"login":"NicoHood","id":6888294,"avatar_url":"https://avatars.githubusercontent.com/u/6888294?v=3","gravatar_id":"","url":"https://api.github.com/users/NicoHood","html_url":"https://github.com/NicoHood","followers_url":"https://api.github.com/users/NicoHood/followers","following_url":"https://api.github.com/users/NicoHood/following{/other_user}","gists_url":"https://api.github.com/users/NicoHood/gists{/gist_id}","starred_url":"https://api.github.com/users/NicoHood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicoHood/subscriptions","organizations_url":"https://api.github.com/users/NicoHood/orgs","repos_url":"https://api.github.com/users/NicoHood/repos","events_url":"https://api.github.com/users/NicoHood/events{/privacy}","received_events_url":"https://api.github.com/users/NicoHood/received_events","type":"User","site_admin":false},"created_at":"2015-10-03T15:47:57Z","updated_at":"2015-10-03T15:47:57Z","body":"I now got a weird error:\r\nIt said a function is not declared, marked it red in the IDE, skipped and compiled fine. The error was there but compiling finished still fine.\r\n\r\nI could not reproduce this error once more."}}