LFS-5.1-pre1/Chapter5/glibc-2.3.3 install problem (sln) :Illegal Instruction
NOSPAM_wwwingman at bigfoot.com
Wed Mar 3 06:01:51 PST 2004
> > Hello,
> > Newbie to LFS, I need some help on build the LFS-5.1-pre1. Tried to
> > using the book and later using nALFS (great). I have the same problem,
> > so I
> > suppose it may come from the packages / configuration.
> > Pb occurs on chapter 5, glibc 2.3.3 install (compilation ok). Seems the
> > sln
> > command answers always Illegal instruction. Here's the output I get:
> > x-: then echo 'stubs.h unchanged'; \
> > x
> > x-: else /usr/bin/install -c -m 644
> > /mnt/lfs/tools/build/glibc-build/stubs.h
> > /tools/include/gnu/stubs.h; fi x
> > x-: rm -f /mnt/lfs/tools/build/glibc-build/stubs.h
> > x
> > x-: /mnt/lfs/tools/build/glibc-build/elf/sln
> > /mnt/lfs/tools/build/glibc-build/elf/symlink.list x
> > x-: make: *** [install-symbolic-link] Illegal instruction
> > x
> > x-: make: Leaving directory
> > `/mnt/lfs/tools/build/glibc-2.3.3-20031202'
> > x
> > x-: make: *** [install] Error 2
> > <<<<<<
> > My LFS is build using a freshly installed debian woody. Machine is a
> > 550 (can this be a problem, I think I saw something about that...).
> > Finally, I tried compiling the LFS 5.0-pre3, and it works fine for me...
> > Hope you can help.
> > EC.
> Are you compiling with any optimasation flags set? If so, what are they?
> IIRC, Illegal Instruction means that an assembly call is being made that
> your chip doesnt support.
CFLAGS and CXXFLAGS are set to nothing bye the book and the nALFS profile
(tested both cases)..
BTW : I tried to execute the sln commande alone, it gives Illegal Intruction
too. Using gdb, it crashes as follows :
Starting program: /mnt/lfs/tools/build/glibc-build/elf/sln
Program received signal SIGILL, Illegal instruction.
__setfpucw (set=895) at ../sysdeps/i386/setfpucw.c:48
48 __asm__ ("stmxcsr %0" : "=m" (*&xnew_exc));
#0 __setfpucw (set=895) at ../sysdeps/i386/setfpucw.c:48
#1 0x08053d40 in init (argc=1, argv=0xbffffc24, envp=0xbffffc2c)
#2 0x080485bb in __libc_start_main (main=0x80481b0 <main>,
init=0x8048700 <__libc_csu_init>, fini=0x8048760 <__libc_csu_fini>,
My CPU is an Intel PIII 550.
More information about the lfs-support