[forwarded from http://bugs.debian.org/327849]
Matthias On arm only, gcc cannot handle C identifiers like: static void L1__GET_$ENVIRONMENT__defmacro() reporting: gcc -g -Wall -DVOL=volatile -fsigned-char -pipe -pg -g -mlong-calls -I/home/camm/gcl-2.6.7/o -c gcl_defmacro.c In file included from gcl_defmacro.c:3: gcl_defmacro.h:2: error: stray '$' in program gcl_defmacro.h:2: error: syntax error before 'ENVIRONMENT__defmacro' gcl_defmacro.h:2: warning: type defaults to 'int' in declaration of 'ENVIRONMENT__defmacro' gcl_defmacro.h:2: warning: data definition has no type or storage class gcl_defmacro.h:67: error: stray '$' in program gcl_defmacro.h:67: error: 'L1__GET_' undeclared here (not in a function) gcl_defmacro.h:67: error: syntax error before 'ENVIRONMENT__defmacro' gcl_defmacro.c:7: error: stray '$' in program gcl_defmacro.c:7: error: syntax error before 'ENVIRONMENT__defmacro' gcl_defmacro.c:8: warning: return type defaults to 'int' gcl_defmacro.c: In function 'ENVIRONMENT__defmacro': gcl_defmacro.c:61: warning: 'return' with no value, in function returning non-void gcl_defmacro.c:63: warning: control reaches end of non-void function make: *** [gcl_defmacro.o] Error 1 Phil Blundell <[EMAIL PROTECTED]> > I haven't investigated this issue at all, but at a first guess I would > say this is caused by the patches to support the new ARM EABI (in which > all identifiers containing $ are reserved). We should probably back out > that change in Debian, at least for the time being. so should this handled in the distribution, or upstream? -- Summary: [3.4 4.0 4.1 regression] cannot handle identifiers with '$' character Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: debian-gcc at lists dot debian dot org CC: gcc-bugs at gcc dot gnu dot org,pb at gcc dot gnu dot org GCC target triplet: arm-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24111