This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

m32c-elf-as error while compiling libgloss/libnosys/close.c


Hi all,

I'm currently trying to add minimal M32C support to Newlib since I don't see it in CVS but after libc/libm was compiled, it fail in libgloss/libnosys at close.c. By changing the Makefile, I can generate the close.s file to look at line 133 & 134.

I use the last snapshot of binutils (20050809) and gcc (20050806).

See log here:

make[4]: Entering directory `/home/dgirault/Projects/newlib-m32c-elf/m32c-elf/m32cm/libgloss/libnosys'
m32c-elf-gcc -B/home/dgirault/Projects/newlib-m32c-elf/m32c-elf/newlib/ -isystem /home/dgirault/Projects/newlib-m32c-elf/m32c-elf/newlib/targ-include -isystem /home/dgirault/Projects/newlib-1.13.0/newlib/libc/include  -I. -I../../../../../newlib-1.13.0/libgloss/libnosys/.. `if [ -d ./../../newlib ]; then echo -I./../../newlib/targ-include -I../../../../../newlib-1.13.0/libgloss/libnosys/../../newlib/libc/include; fi` -O2 -I. -I../../../../../newlib-1.13.0/libgloss/libnosys/.. -c -O2 -g -O2   -mcpu=m32cm ../../../../../newlib-1.13.0/libgloss/libnosys/close.c
/tmp/ccorSCLv.s: Messages de l'assembleur:
/tmp/ccorSCLv.s:133: ERREUR: ne peut résoudre `.gnu.warning.close' {section .gnu.warning.close} - `.Ltext0' {section .text}
/tmp/ccorSCLv.s:133: ERREUR: expression trop complexe
/tmp/ccorSCLv.s:134: ERREUR: ne peut résoudre `.gnu.warning.close' {section .gnu.warning.close} - `.Ltext0' {section .text}
/tmp/ccorSCLv.s:134: ERREUR: expression trop complexe
make[4]: *** [close.o] Erreur 1
make[4]: Leaving directory `/home/dgirault/Projects/newlib-m32c-elf/m32c-elf/m32cm/libgloss/libnosys'


If someone working with M32C port of binutils/gcc/newlib have a solution, a patch or just an idea....

Best regards,
David

*********************************************
This mail has been scanned by an Antivirus
*********************************************

Attachment: close.s
Description: close.s


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]