Hi, Tinyos needs support for dollars in identifiers in binutils, on binutils for msp430 does not support it by default, the fix can be either a sed line in toolchain-binutils.eclass or a patch. Don't know the preferred method so i will provide both... both applies for cross-msp430/binutils-2.17.50.0.14 but should apply to most binutils version without trouble ... There should be no impact out of msp430 target as the only file touched is specific to msp430. The change is essentially what's done in tinyos default toolchain, see URL. Tested on tinyos/telosb motes...
Created attachment 115510 [details, diff] toolchain-binutils.ecalss.msp340_dollar_indentifiers.patch patch for toolchain-binutils.ecalss
Created attachment 115511 [details, diff] binutils_tinyos_dollar_support.patch use toolchain-binutils.ecalss.msp340_dollar_indentifiers.patch OR binutils_tinyos_dollar_support.patch both does the same thing...
i'm tired of juggling these things ... either tinyos needs to stop using $ in its symbols, or they need to take it up with the msp430/avr maintainers and get it changed in binutils in the latter case, re-open and i'll merge the patch with the idea being that we'll be carrying it only for older versions, not newer
Ok, I understand your position, however (and for the record) i just noticed that the ebuild for binutils-2.16.1-r3 has the patch for '$' for msp430 too. i guess you won't port it to next versions ... however this version of binutils can be used for tinyos ... sorry for the "noise"
it sucks to be the guy in the middle (aka you) who just wants this stuff to work i'll see about starting a thread on the binutils list on the topic
(In reply to comment #5) > it sucks to be the guy in the middle (aka you) who just wants this stuff to > work ;), yes and tinyos devs are not really upstream friendly, they tend to keep all their changes in their own cvs, rarely pushed to upstream... > i'll see about starting a thread on the binutils list on the topic that would be very nice, and i'm probably lacking the binutils background to be successful in doing this myself...
*** Bug 207161 has been marked as a duplicate of this bug. ***