{"issue":{"title":"binutils sometimes fails to build from clean start, other times not","user":{"login":"jsnyder","id":9056,"url":"https://api.github.com/users/jsnyder","avatar_url":"https://secure.gravatar.com/avatar/c2d48f7960f04ba6f5ee73cbe9c150b9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"c2d48f7960f04ba6f5ee73cbe9c150b9"},"created_at":"2011-07-27T17:04:33Z","milestone":null,"state":"open","updated_at":"2011-12-28T18:06:37Z","labels":[],"id":1297276,"closed_at":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"html_url":"https://github.com/jsnyder/avr32-toolchain/issues/8","body":"Somewhat at random, builds fail with the following set of errors:\r\n```\r\nelf32-avr32.c:168: error: ‘BFD_RELOC_AVR32_DIFF32’ undeclared here (not in a function)\r\nelf32-avr32.c:169: error: ‘BFD_RELOC_AVR32_DIFF16’ undeclared here (not in a function)\r\nelf32-avr32.c:170: error: ‘BFD_RELOC_AVR32_DIFF8’ undeclared here (not in a function)\r\nelf32-avr32.c:171: error: ‘BFD_RELOC_AVR32_GOT32’ undeclared here (not in a function)\r\nelf32-avr32.c:172: error: ‘BFD_RELOC_AVR32_GOT16’ undeclared here (not in a function)\r\nelf32-avr32.c:173: error: ‘BFD_RELOC_AVR32_GOT8’ undeclared here (not in a function)\r\nelf32-avr32.c:175: error: ‘BFD_RELOC_AVR32_21S’ undeclared here (not in a function)\r\nelf32-avr32.c:176: error: ‘BFD_RELOC_AVR32_16U’ undeclared here (not in a function)\r\nelf32-avr32.c:177: error: ‘BFD_RELOC_AVR32_16S’ undeclared here (not in a function)\r\nelf32-avr32.c:178: error: ‘BFD_RELOC_AVR32_SUB5’ undeclared here (not in a function)\r\nelf32-avr32.c:179: error: ‘BFD_RELOC_AVR32_8S_EXT’ undeclared here (not in a function)\r\nelf32-avr32.c:180: error: ‘BFD_RELOC_AVR32_8S’ undeclared here (not in a function)\r\nelf32-avr32.c:182: error: ‘BFD_RELOC_AVR32_22H_PCREL’ undeclared here (not in a function)\r\nelf32-avr32.c:183: error: ‘BFD_RELOC_AVR32_18W_PCREL’ undeclared here (not in a function)\r\nelf32-avr32.c:184: error: ‘BFD_RELOC_AVR32_16B_PCREL’ undeclared here (not in a function)\r\nelf32-avr32.c:185: error: ‘BFD_RELOC_AVR32_16N_PCREL’ undeclared here (not in a function)\r\nelf32-avr32.c:186: error: ‘BFD_RELOC_AVR32_11H_PCREL’ undeclared here (not in a function)\r\nelf32-avr32.c:187: error: ‘BFD_RELOC_AVR32_10UW_PCREL’ undeclared here (not in a function)\r\nelf32-avr32.c:188: error: ‘BFD_RELOC_AVR32_9H_PCREL’ undeclared here (not in a function)\r\nelf32-avr32.c:189: error: ‘BFD_RELOC_AVR32_9UW_PCREL’ undeclared here (not in a function)\r\nelf32-avr32.c:194: error: ‘BFD_RELOC_AVR32_GOTPC’ undeclared here (not in a function)\r\nelf32-avr32.c:195: error: ‘BFD_RELOC_AVR32_GOTCALL’ undeclared here (not in a function)\r\nelf32-avr32.c:196: error: ‘BFD_RELOC_AVR32_LDA_GOT’ undeclared here (not in a function)\r\nelf32-avr32.c:197: error: ‘BFD_RELOC_AVR32_GOT21S’ undeclared here (not in a function)\r\nelf32-avr32.c:198: error: ‘BFD_RELOC_AVR32_GOT18SW’ undeclared here (not in a function)\r\nelf32-avr32.c:199: error: ‘BFD_RELOC_AVR32_GOT16S’ undeclared here (not in a function)\r\nelf32-avr32.c:202: error: ‘BFD_RELOC_AVR32_32_CPENT’ undeclared here (not in a function)\r\nelf32-avr32.c:203: error: ‘BFD_RELOC_AVR32_CPCALL’ undeclared here (not in a function)\r\nelf32-avr32.c:204: error: ‘BFD_RELOC_AVR32_16_CP’ undeclared here (not in a function)\r\nelf32-avr32.c:205: error: ‘BFD_RELOC_AVR32_9W_CP’ undeclared here (not in a function)\r\nelf32-avr32.c:207: error: ‘BFD_RELOC_AVR32_ALIGN’ undeclared here (not in a function)\r\nelf32-avr32.c:209: error: ‘BFD_RELOC_AVR32_15S’ undeclared here (not in a function)\r\nIn file included from elf32-avr32.c:3915:\r\nelf32-target.h:635: error: ‘bfd_arch_avr32’ undeclared here (not in a function)\r\nelf32-target.h:635: error: initializer element is not constant\r\nelf32-target.h:635: error: (near initialization for ‘elf32_bed.arch’)\r\nmake[5]: *** [elf32-avr32.lo] Error 1\r\nmake[4]: *** [all-recursive] Error 1\r\nmake[3]: *** [all] Error 2\r\nmake[2]: *** [all-bfd] Error 2\r\nmake[1]: *** [all] Error 2\r\nmake: *** [stamps/build-binutils] Error 2```\r\n\r\nA workaround appears to be attempting the build again (even after a make clean).\r\n\r\nI haven't yet figured out why it sometimes fails and other times builds.","number":8,"url":"https://api.github.com/repos/jsnyder/avr32-toolchain/issues/8","comments":3,"assignee":null},"comment":{"user":{"login":"kblomqvist","id":206775,"url":"https://api.github.com/users/kblomqvist","avatar_url":"https://secure.gravatar.com/avatar/9a5a95217f9f0499ba809e47ca4333b4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"9a5a95217f9f0499ba809e47ca4333b4"},"created_at":"2011-12-28T18:06:37Z","updated_at":"2011-12-28T18:06:37Z","id":3293353,"body":"Setting PROCS=1 looks promising. Compiled successfully from the clean start at the first attempt.","url":"https://api.github.com/repos/jsnyder/avr32-toolchain/issues/comments/3293353"},"action":"created"}