1 |
Hello all! |
2 |
|
3 |
I'm trying to use stage3-x86-uclibc-2006.1.tar.bz2 contents as buildroot |
4 |
for my system, but when I use any program from sys-process/procps-3.2.6 |
5 |
package present in it (ps, vmstat, etc...) it ends with "Segmentation |
6 |
fault" error. |
7 |
I discovered with gcc the fault is in gcc-4.1.1 code: |
8 |
|
9 |
==== 8< ==== CUT HERE ==== 8< ==== CUT HERE ==== 8< ==== CUT HERE ==== |
10 |
fast procps-3.2.7 # LD_LIBRARY_PATH=./proc ./free |
11 |
Segmentation fault (core dumped) |
12 |
fast procps-3.2.7 # LD_LIBRARY_PATH=./proc gdb ./free |
13 |
GNU gdb 6.4 |
14 |
Copyright 2005 Free Software Foundation, Inc. |
15 |
GDB is free software, covered by the GNU General Public License, and you are |
16 |
welcome to change it and/or distribute copies of it under certain |
17 |
conditions. |
18 |
Type "show copying" to see the conditions. |
19 |
There is absolutely no warranty for GDB. Type "show warranty" for details. |
20 |
This GDB was configured as "i386-gentoo-linux-uclibc"...Using host |
21 |
libthread_db library "/lib/libthread_db.so.1". |
22 |
|
23 |
(gdb) core-file core.9698 |
24 |
Core was generated by `./free'. |
25 |
Program terminated with signal 11, Segmentation fault. |
26 |
Reading symbols from |
27 |
/var/tmp/portage/procps-3.2.7/work/procps-3.2.7/proc/libproc-3.2.7.so...done. |
28 |
Loaded symbols for ./proc/libproc-3.2.7.so |
29 |
Reading symbols from /lib/libgcc_s.so.1...done. |
30 |
Loaded symbols for /lib/libgcc_s.so.1 |
31 |
Reading symbols from /lib/libc.so.0...done. |
32 |
Loaded symbols for /lib/libc.so.0 |
33 |
Reading symbols from /lib/ld-uClibc.so.0...done. |
34 |
Loaded symbols for /lib/ld-uClibc.so.0 |
35 |
#0 set_fast_math () |
36 |
at |
37 |
/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/config/i386/crtfastmath.c:97 |
38 |
97 asm volatile ("fxsave %0" : "=m" (fxsave) : "m" (fxsave)); |
39 |
(gdb) |
40 |
==== 8< ==== CUT HERE ==== 8< ==== CUT HERE ==== 8< ==== CUT HERE ==== |
41 |
|
42 |
So the error rises when fxsave instruction is reached. |
43 |
|
44 |
Any solutions? |
45 |
|
46 |
Regards, |
47 |
Timophey Kushnir. |
48 |
-- |
49 |
gentoo-embedded@g.o mailing list |