m32c-elf-as error while compiling libgloss/libnosys/close.c
David GIRAULT ( non Ingenico )
dgirault@fr.ingenico.com
Thu Aug 11 12:40:00 GMT 2005
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
*********************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: close.s
Type: application/octet-stream
Size: 6437 bytes
Desc: close.s
URL: <https://sourceware.org/pipermail/binutils/attachments/20050811/a4c4f811/attachment.obj>
More information about the Binutils
mailing list