Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-embedded@g.o
From: "Тимофей Кушнир" <timophey.kushnir@...>
Subject: [x86-uclibc-2006.1] GCC-4.1.x + uClibc-0.9.28 + procps-3.2.x = Segmentation Fault ?
Date: Sun, 22 Oct 2006 01:20:09 +0400
Hello all!

I'm trying to use stage3-x86-uclibc-2006.1.tar.bz2 contents as buildroot
for my system, but when I use any program from sys-process/procps-3.2.6
package present in it (ps, vmstat, etc...) it ends with "Segmentation
fault" error.
I discovered with gcc the fault is in gcc-4.1.1 code:

==== 8< ==== CUT HERE ==== 8< ==== CUT HERE ==== 8< ==== CUT HERE ====
fast procps-3.2.7 # LD_LIBRARY_PATH=./proc ./free
Segmentation fault (core dumped)
fast procps-3.2.7 # LD_LIBRARY_PATH=./proc gdb ./free
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-gentoo-linux-uclibc"...Using host
libthread_db library "/lib/libthread_db.so.1".

(gdb) core-file core.9698
Core was generated by `./free'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from
/var/tmp/portage/procps-3.2.7/work/procps-3.2.7/proc/libproc-3.2.7.so...done.
Loaded symbols for ./proc/libproc-3.2.7.so
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libc.so.0...done.
Loaded symbols for /lib/libc.so.0
Reading symbols from /lib/ld-uClibc.so.0...done.
Loaded symbols for /lib/ld-uClibc.so.0
#0  set_fast_math ()
    at
/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/config/i386/crtfastmath.c:97
97                asm volatile ("fxsave %0" : "=m" (fxsave) : "m" (fxsave));
(gdb)
==== 8< ==== CUT HERE ==== 8< ==== CUT HERE ==== 8< ==== CUT HERE ====

So the error rises when fxsave instruction is reached.

Any solutions?

Regards,
Timophey Kushnir.
-- 
gentoo-embedded@g.o mailing list


Replies:
Re: [x86-uclibc-2006.1] GCC-4.1.x + uClibc-0.9.28 + procps-3.2.x = Segmentation Fault ?
-- Mike Frysinger
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
RE: more than 1s precise time
Next by thread:
Re: [x86-uclibc-2006.1] GCC-4.1.x + uClibc-0.9.28 + procps-3.2.x = Segmentation Fault ?
Previous by date:
Re: crossdev messes up system headers, etc
Next by date:
Re: [x86-uclibc-2006.1] GCC-4.1.x + uClibc-0.9.28 + procps-3.2.x = Segmentation Fault ?


Updated Jun 17, 2009

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.