View previous topic :: View next topic |
Author |
Message |
KnusperKeks n00b
Joined: 03 Feb 2004 Posts: 9
|
Posted: Thu Feb 02, 2006 12:03 pm Post subject: touch Segmentation fault oO [solved] |
|
|
after emerge world i got the following
$touch blub.txt
Segmentation fault
$touch
touch: missing file operand
Try `touch --help' for more information.
$strace touch aaa.txt
....
brk(0) = 0x50b000
brk(0x52c000) = 0x52c000
close(0) = 0
open("aaa.txt", O_WRONLY|O_NONBLOCK|O_CREAT|O_NOCTTY, 0666) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
$emerge -pv coreutils
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] sys-apps/coreutils-5.93 USE="nls -acl -build -static" 0 kB
Total size of downloads: 0 kB
$emerge --info
Portage 2.1_pre4-r1 (default-linux/amd64/2005.1, gcc-4.1.0-beta20051202, glibc-2.3.90.20051122-r0, 2.6.15-rc5 x86_64)
=================================================================
System uname: 2.6.15-rc5 x86_64 Mobile AMD Athlon 64 Processor 2800+
Gentoo Base System version 1.12.0_pre13
dev-lang/python: 2.3.5, 2.4.2
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1-r1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -momit-leaf-frame-pointer -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -funroll-all-loops -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -momit-leaf-frame-pointer -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -funroll-all-loops -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X X11 aac alsa avi berkdb bitmap-fonts bluetooth cdr crypt cups dba dvd eds emboss encode fbcon foomaticdb fortran gd gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly opengl pam pdflib perl png python qt quicktime readline real rtc sdl spell ssl tcpd tiff truetype-fonts type1-fonts usb userlocales vim-with-x wxgtk1 xinerama xpm xv zlib elibc_glibc kernel_linux userland_GNU"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
now i cant emerge anything cause touch segfaults , so i cant downgrade the coreutils ;(
any ideas ?
Last edited by KnusperKeks on Mon Feb 06, 2006 9:39 am; edited 1 time in total |
|
Back to top |
|
|
feivelda Guru
Joined: 21 Feb 2005 Posts: 480 Location: Frankfurt, Germany
|
Posted: Thu Feb 02, 2006 1:43 pm Post subject: |
|
|
Boot with the installation cd, mount your dirs and then try. If this doesn't work, replay the stage3 and reemerge all your packages. Not a nice way, but that should work |
|
Back to top |
|
|
loftwyr l33t
Joined: 29 Dec 2004 Posts: 970 Location: 43°38'23.62"N 79°27'8.60"W
|
Posted: Thu Feb 02, 2006 1:58 pm Post subject: |
|
|
you're using ricer flags on a beta compiler... some things are going to break. _________________ My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing. |
|
Back to top |
|
|
blubb Retired Dev
Joined: 16 Feb 2004 Posts: 51 Location: Switzerland
|
Posted: Sun Feb 05, 2006 10:55 pm Post subject: Re: touch Segmentation fault oO |
|
|
KnusperKeks wrote: | $touch blub.txt
Segmentation fault
|
Well, you can be glad you only get a segmentation fault. If you're going to touch me again, I'll killall -9 you
get yourself a binpkg and hope for the best |
|
Back to top |
|
|
KnusperKeks n00b
Joined: 03 Feb 2004 Posts: 9
|
Posted: Mon Feb 06, 2006 9:39 am Post subject: |
|
|
i solved the problem by downloading a touch binary
than merging the newest glibc overlay and reemerge coreutils.
now everything is fine |
|
Back to top |
|
|
energyman76b Advocate
Joined: 26 Mar 2003 Posts: 2048 Location: Germany
|
Posted: Mon Feb 06, 2006 7:03 pm Post subject: |
|
|
let me guess - glibc and coreutils filter-flags now too?
remove at least ffast-math.
Have you never read man gcc?
People advocating ffast-math as general CFLAG should be banned for lifetime.... _________________ Study finds stunning lack of racial, gender, and economic diversity among middle-class white males
I identify as a dirty penismensch. |
|
Back to top |
|
|
KnusperKeks n00b
Joined: 03 Feb 2004 Posts: 9
|
Posted: Mon Feb 06, 2006 11:46 pm Post subject: |
|
|
i doesnt change any cflags
and yes i did read some of the gcc pages... |
|
Back to top |
|
|
energyman76b Advocate
Joined: 26 Mar 2003 Posts: 2048 Location: Germany
|
Posted: Tue Feb 07, 2006 12:41 am Post subject: |
|
|
and you obviously did not understand them, or you would not use ffast-math.
For your information: packages that can safely use it, usually set this flag in their Makefile (mplayer for example).
A lot of packages have to filter flags (and some filter all flags) because people like you put ffast-math in their make.conf. And some of this people even whine around, if they have segfaults or other funny problems.
Stop using it.
You are hurting yourself, and you are hurting all other users. Because every package, that filters all flags is a 'lost' one. _________________ Study finds stunning lack of racial, gender, and economic diversity among middle-class white males
I identify as a dirty penismensch. |
|
Back to top |
|
|
KnusperKeks n00b
Joined: 03 Feb 2004 Posts: 9
|
Posted: Tue Feb 07, 2006 8:19 am Post subject: |
|
|
looks like my litle useflag hurts u more than the package i emerged |
|
Back to top |
|
|
|