dietlibc-0.27

Jakub Bogusz qboosh w pld-linux.org
Wto, 17 Sie 2004, 10:53:43 CEST


On Fri, Aug 13, 2004 at 07:57:14PM +0200, Paweł Sikora wrote:
> 0.26 sie ladnie budowalo.
> nowa wersja juz nie bangla.
> 
> gcc -I. -isystem include -pipe -nostdinc -O2 -march=pentium3 -pipe -Os
> -fomit-frame-pointer -falign-functions=1 -falign-jumps=1 -falign-loops=1
> -mpreferred-stack-boundary=2 -Wall -W -Wchar-subscripts -Wmissing-prototypes
> -Wmissing-declarations -Wno-switch -Wno-unused -Wredundant-decls -fPIC
> -D__DYN_LIB -c i386/dyn_syscalls.S -opic-i386/dyn_syscalls.o
> i386/PIC.h: Assembler messages:
> i386/PIC.h:8: Error: junk at end of line, first unrecognized character is `1'
> i386/PIC.h:9: Error: junk at end of line, first unrecognized character is `1'
> i386/PIC.h:10: Error: junk at end of line, first unrecognized character is `1'
> i386/PIC.h:11: Error: unrecognized symbol type ""
> i386/PIC.h:11: Error: junk at end of line, first unrecognized character is `1'
> i386/PIC.h:12: Error: junk at end of line, first unrecognized character is `1'
> i386/dyn_syscalls.S:102: Error: junk `.get_pc_thunk.bx' after expression
> i386/clone.S:50: Error: junk `.get_pc_thunk.bx' after expression
> make: *** [pic-i386/dyn_syscalls.o] Error 1

Widocznie tam jest __i686.get_pc_thunk.bx, a -march=pentium3 definiuje
__i686=1 dla preprocesora.
Rozwiązanie to nie wpuszczać -march* do flag dla plików *.S (bo i po
co), albo zmienić to __i686 na coś innego.


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/




Więcej informacji o liście dyskusyjnej pld-devel-pl